From 1f71562548f1272237d8d75d33b62b378b627e9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 06:29:44 +0000 Subject: [PATCH] chore: updated manifest.json and dist build --- dist/index.js | 21 +++++++++++++++++++++ manifest.json | 18 +++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 dist/index.js diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..c19c5db --- /dev/null +++ b/dist/index.js @@ -0,0 +1,21 @@ +import{createRequire as __WEBPACK_EXTERNAL_createRequire}from"module";var __webpack_modules__={44914:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;Object.defineProperty(e,s,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.issue=r.issueCommand=void 0;const c=o(n(70857));const u=n(30302);function issueCommand(e,r,n){const s=new Command(e,r,n);process.stdout.write(s.toString()+c.EOL)}r.issueCommand=issueCommand;function issue(e,r=""){issueCommand(e,{},r)}r.issue=issue;const d="::";class Command{constructor(e,r,n){if(!e){e="missing.command"}this.command=e;this.properties=r;this.message=n}toString(){let e=d+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const s=this.properties[n];if(s){if(r){r=false}else{e+=","}e+=`${n}=${escapeProperty(s)}`}}}}e+=`${d}${escapeData(this.message)}`;return e}}function escapeData(e){return u.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return u.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;Object.defineProperty(e,s,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.getIDToken=r.getState=r.saveState=r.group=r.endGroup=r.startGroup=r.info=r.notice=r.warning=r.error=r.debug=r.isDebug=r.setFailed=r.setCommandEcho=r.setOutput=r.getBooleanInput=r.getMultilineInput=r.getInput=r.addPath=r.setSecret=r.exportVariable=r.ExitCode=void 0;const u=n(44914);const d=n(24753);const A=n(30302);const h=o(n(70857));const g=o(n(16928));const m=n(35306);var y;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(y=r.ExitCode||(r.ExitCode={}));function exportVariable(e,r){const n=A.toCommandValue(r);process.env[e]=n;const s=process.env["GITHUB_ENV"]||"";if(s){return d.issueFileCommand("ENV",d.prepareKeyValueMessage(e,r))}u.issueCommand("set-env",{name:e},n)}r.exportVariable=exportVariable;function setSecret(e){u.issueCommand("add-mask",{},e)}r.setSecret=setSecret;function addPath(e){const r=process.env["GITHUB_PATH"]||"";if(r){d.issueFileCommand("PATH",e)}else{u.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${g.delimiter}${process.env["PATH"]}`}r.addPath=addPath;function getInput(e,r){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(r&&r.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(r&&r.trimWhitespace===false){return n}return n.trim()}r.getInput=getInput;function getMultilineInput(e,r){const n=getInput(e,r).split("\n").filter((e=>e!==""));if(r&&r.trimWhitespace===false){return n}return n.map((e=>e.trim()))}r.getMultilineInput=getMultilineInput;function getBooleanInput(e,r){const n=["true","True","TRUE"];const s=["false","False","FALSE"];const i=getInput(e,r);if(n.includes(i))return true;if(s.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}r.getBooleanInput=getBooleanInput;function setOutput(e,r){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return d.issueFileCommand("OUTPUT",d.prepareKeyValueMessage(e,r))}process.stdout.write(h.EOL);u.issueCommand("set-output",{name:e},A.toCommandValue(r))}r.setOutput=setOutput;function setCommandEcho(e){u.issue("echo",e?"on":"off")}r.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=y.Failure;error(e)}r.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}r.isDebug=isDebug;function debug(e){u.issueCommand("debug",{},e)}r.debug=debug;function error(e,r={}){u.issueCommand("error",A.toCommandProperties(r),e instanceof Error?e.toString():e)}r.error=error;function warning(e,r={}){u.issueCommand("warning",A.toCommandProperties(r),e instanceof Error?e.toString():e)}r.warning=warning;function notice(e,r={}){u.issueCommand("notice",A.toCommandProperties(r),e instanceof Error?e.toString():e)}r.notice=notice;function info(e){process.stdout.write(e+h.EOL)}r.info=info;function startGroup(e){u.issue("group",e)}r.startGroup=startGroup;function endGroup(){u.issue("endgroup")}r.endGroup=endGroup;function group(e,r){return c(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield r()}finally{endGroup()}return n}))}r.group=group;function saveState(e,r){const n=process.env["GITHUB_STATE"]||"";if(n){return d.issueFileCommand("STATE",d.prepareKeyValueMessage(e,r))}u.issueCommand("save-state",{name:e},A.toCommandValue(r))}r.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}r.getState=getState;function getIDToken(e){return c(this,void 0,void 0,(function*(){return yield m.OidcClient.getIDToken(e)}))}r.getIDToken=getIDToken;var E=n(71847);Object.defineProperty(r,"summary",{enumerable:true,get:function(){return E.summary}});var _=n(71847);Object.defineProperty(r,"markdownSummary",{enumerable:true,get:function(){return _.markdownSummary}});var b=n(31976);Object.defineProperty(r,"toPosixPath",{enumerable:true,get:function(){return b.toPosixPath}});Object.defineProperty(r,"toWin32Path",{enumerable:true,get:function(){return b.toWin32Path}});Object.defineProperty(r,"toPlatformPath",{enumerable:true,get:function(){return b.toPlatformPath}})},24753:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;Object.defineProperty(e,s,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.prepareKeyValueMessage=r.issueFileCommand=void 0;const c=o(n(79896));const u=o(n(70857));const d=n(12048);const A=n(30302);function issueFileCommand(e,r){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!c.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}c.appendFileSync(n,`${A.toCommandValue(r)}${u.EOL}`,{encoding:"utf8"})}r.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,r){const n=`ghadelimiter_${d.v4()}`;const s=A.toCommandValue(r);if(e.includes(n)){throw new Error(`Unexpected input: name should not contain the delimiter "${n}"`)}if(s.includes(n)){throw new Error(`Unexpected input: value should not contain the delimiter "${n}"`)}return`${e}<<${n}${u.EOL}${s}${u.EOL}${n}`}r.prepareKeyValueMessage=prepareKeyValueMessage},35306:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.OidcClient=void 0;const i=n(54844);const o=n(44552);const c=n(37484);class OidcClient{static createHttpClient(e=true,r=10){const n={allowRetries:e,maxRetries:r};return new i.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(OidcClient.getRequestToken())],n)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var r;return s(this,void 0,void 0,(function*(){const n=OidcClient.createHttpClient();const s=yield n.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const i=(r=s.result)===null||r===void 0?void 0:r.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return s(this,void 0,void 0,(function*(){try{let r=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);r=`${r}&audience=${n}`}c.debug(`ID token url is ${r}`);const n=yield OidcClient.getCall(r);c.setSecret(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}r.OidcClient=OidcClient},31976:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;Object.defineProperty(e,s,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.toPlatformPath=r.toWin32Path=r.toPosixPath=void 0;const c=o(n(16928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}r.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}r.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,c.sep)}r.toPlatformPath=toPlatformPath},71847:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.summary=r.markdownSummary=r.SUMMARY_DOCS_URL=r.SUMMARY_ENV_VAR=void 0;const i=n(70857);const o=n(79896);const{access:c,appendFile:u,writeFile:d}=o.promises;r.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";r.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return s(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[r.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${r.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(e,o.constants.R_OK|o.constants.W_OK)}catch(r){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,r,n={}){const s=Object.entries(n).map((([e,r])=>` ${e}="${r}"`)).join("");if(!r){return`<${e}${s}>`}return`<${e}${s}>${r}`}write(e){return s(this,void 0,void 0,(function*(){const r=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const s=r?d:u;yield s(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return s(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,r=false){this._buffer+=e;return r?this.addEOL():this}addEOL(){return this.addRaw(i.EOL)}addCodeBlock(e,r){const n=Object.assign({},r&&{lang:r});const s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=false){const n=r?"ol":"ul";const s=e.map((e=>this.wrap("li",e))).join("");const i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){const r=e.map((e=>{const r=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:r,data:n,colspan:s,rowspan:i}=e;const o=r?"th":"td";const c=Object.assign(Object.assign({},s&&{colspan:s}),i&&{rowspan:i});return this.wrap(o,n,c)})).join("");return this.wrap("tr",r)})).join("");const n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){const n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){const{width:s,height:i}=n||{};const o=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i});const c=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(c).addEOL()}addHeading(e,r){const n=`h${r}`;const s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(s,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){const n=Object.assign({},r&&{cite:r});const s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){const n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}}const A=new Summary;r.markdownSummary=A;r.summary=A},30302:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.toCommandProperties=r.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}r.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}r.toCommandProperties=toCommandProperties},51648:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Context=void 0;const s=n(79896);const i=n(70857);class Context{constructor(){var e,r,n;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,s.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,s.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${i.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:`https://github.com`;this.graphqlUrl=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}r.Context=Context},93228:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.getOctokit=r.context=void 0;const c=o(n(51648));const u=n(38006);r.context=new c.Context;function getOctokit(e,r,...n){const s=u.GitHub.plugin(...n);return new s((0,u.getOctokitOptions)(e,r))}r.getOctokit=getOctokit},65156:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.getApiBaseUrl=r.getProxyFetch=r.getProxyAgentDispatcher=r.getProxyAgent=r.getAuthString=void 0;const u=o(n(54844));const d=n(46752);function getAuthString(e,r){if(!e&&!r.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&r.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof r.auth==="string"?r.auth:`token ${e}`}r.getAuthString=getAuthString;function getProxyAgent(e){const r=new u.HttpClient;return r.getAgent(e)}r.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(e){const r=new u.HttpClient;return r.getAgentDispatcher(e)}r.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(e){const r=getProxyAgentDispatcher(e);const proxyFetch=(e,n)=>c(this,void 0,void 0,(function*(){return(0,d.fetch)(e,Object.assign(Object.assign({},n),{dispatcher:r}))}));return proxyFetch}r.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}r.getApiBaseUrl=getApiBaseUrl},38006:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.getOctokitOptions=r.GitHub=r.defaults=r.context=void 0;const c=o(n(51648));const u=o(n(65156));const d=n(38452);const A=n(75726);const h=n(37731);r.context=new c.Context;const g=u.getApiBaseUrl();r.defaults={baseUrl:g,request:{agent:u.getProxyAgent(g),fetch:u.getProxyFetch(g)}};r.GitHub=d.Octokit.plugin(A.restEndpointMethods,h.paginateRest).defaults(r.defaults);function getOctokitOptions(e,r){const n=Object.assign({},r||{});const s=u.getAuthString(e,n);if(s){n.auth=s}return n}r.getOctokitOptions=getOctokitOptions},32057:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{createTokenAuth:()=>A});e.exports=__toCommonJS(o);var c=/^v1\./;var u=/^ghs_/;var d=/^ghu_/;async function auth(e){const r=e.split(/\./).length===3;const n=c.test(e)||u.test(e);const s=d.test(e);const i=r?"app":n?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:i}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,r,n,s){const i=r.endpoint.merge(n,s);i.headers.authorization=withAuthorizationPrefix(e);return r(i)}var A=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},38452:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{Octokit:()=>I});e.exports=__toCommonJS(u);var d=n(7900);var A=n(45029);var h=n(68576);var g=n(35448);var m=n(32057);var y="5.2.0";var noop=()=>{};var E=console.warn.bind(console);var _=console.error.bind(console);var b=`octokit-core.js/${y} ${(0,d.getUserAgent)()}`;var I=class{static{this.VERSION=y}static defaults(e){const r=class extends(this){constructor(...r){const n=r[0]||{};if(typeof e==="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}};return r}static{this.plugins=[]}static plugin(...e){const r=this.plugins;const n=class extends(this){static{this.plugins=r.concat(e.filter((e=>!r.includes(e))))}};return n}constructor(e={}){const r=new A.Collection;const n={baseUrl:h.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${b}`:b;if(e.baseUrl){n.baseUrl=e.baseUrl}if(e.previews){n.mediaType.previews=e.previews}if(e.timeZone){n.headers["time-zone"]=e.timeZone}this.request=h.request.defaults(n);this.graphql=(0,g.withCustomRequest)(this.request).defaults(n);this.log=Object.assign({debug:noop,info:noop,warn:E,error:_},e.log);this.hook=r;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const n=(0,m.createTokenAuth)(e.auth);r.wrap("request",n.hook);this.auth=n}}else{const{authStrategy:n,...s}=e;const i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));r.wrap("request",i.hook);this.auth=i}const s=this.constructor;for(let r=0;r{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{endpoint:()=>y});e.exports=__toCommonJS(u);var d=n(7900);var A="9.0.5";var h=`octokit-endpoint.js/${A} ${(0,d.getUserAgent)()}`;var g={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":h},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((r,n)=>{r[n.toLowerCase()]=e[n];return r}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}function mergeDeep(e,r){const n=Object.assign({},e);Object.keys(r).forEach((s=>{if(isPlainObject(r[s])){if(!(s in e))Object.assign(n,{[s]:r[s]});else n[s]=mergeDeep(e[s],r[s])}else{Object.assign(n,{[s]:r[s]})}}));return n}function removeUndefinedProperties(e){for(const r in e){if(e[r]===void 0){delete e[r]}}return e}function merge(e,r,n){if(typeof r==="string"){let[e,s]=r.split(" ");n=Object.assign(s?{method:e,url:s}:{url:e},n)}else{n=Object.assign({},r)}n.headers=lowercaseKeys(n.headers);removeUndefinedProperties(n);removeUndefinedProperties(n.headers);const s=mergeDeep(e||{},n);if(n.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,r){const n=/\?/.test(e)?"&":"?";const s=Object.keys(r);if(s.length===0){return e}return e+n+s.map((e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`})).join("&")}var m=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(m);if(!r){return[]}return r.map(removeNonChars).reduce(((e,r)=>e.concat(r)),[])}function omit(e,r){const n={__proto__:null};for(const s of Object.keys(e)){if(r.indexOf(s)===-1){n[s]=e[s]}}return n}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,r,n){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(n){return encodeUnreserved(n)+"="+r}else{return r}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,n,s){var i=e[n],o=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(s&&s!=="*"){i=i.substring(0,parseInt(s,10))}o.push(encodeValue(r,i,isKeyOperator(r)?n:""))}else{if(s==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach((function(e){o.push(encodeValue(r,e,isKeyOperator(r)?n:""))}))}else{Object.keys(i).forEach((function(e){if(isDefined(i[e])){o.push(encodeValue(r,i[e],e))}}))}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach((function(n){e.push(encodeValue(r,n))}))}else{Object.keys(i).forEach((function(n){if(isDefined(i[n])){e.push(encodeUnreserved(n));e.push(encodeValue(r,i[n].toString()))}}))}if(isKeyOperator(r)){o.push(encodeUnreserved(n)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(r===";"){if(isDefined(i)){o.push(encodeUnreserved(n))}}else if(i===""&&(r==="&"||r==="?")){o.push(encodeUnreserved(n)+"=")}else if(i===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var n=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,i){if(s){let e="";const i=[];if(n.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(n){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);i.push(getValues(r,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(i.length!==0?e:"")+i.join(o)}else{return i.join(",")}}else{return encodeReserved(i)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let r=e.method.toUpperCase();let n=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let i;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const c=extractUrlVariableNames(n);n=parseUrl(n).expand(o);if(!/^http/.test(n)){n=e.baseUrl+n}const u=Object.keys(e).filter((e=>c.includes(e))).concat("baseUrl");const d=omit(o,u);const A=/application\/octet-stream/i.test(s.accept);if(!A){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(n.endsWith("/graphql")){if(e.mediaType.previews?.length){const r=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=r.concat(e.mediaType.previews).map((r=>{const n=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${n}`})).join(",")}}}if(["GET","HEAD"].includes(r)){n=addQueryParameters(n,d)}else{if("data"in d){i=d.data}else{if(Object.keys(d).length){i=d}}}if(!s["content-type"]&&typeof i!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof i==="undefined"){i=""}return Object.assign({method:r,url:n,headers:s},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,n){return parse(merge(e,r,n))}function withDefaults(e,r){const n=merge(e,r);const s=endpointWithDefaults.bind(null,n);return Object.assign(s,{DEFAULTS:n,defaults:withDefaults.bind(null,n),merge:merge.bind(null,n),parse:parse})}var y=withDefaults(null,g);0&&0},35448:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{GraphqlResponseError:()=>y,graphql:()=>I,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(u);var d=n(68576);var A=n(7900);var h="7.1.0";var g=n(68576);var m=n(68576);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var y=class extends Error{constructor(e,r,n){super(_buildMessageForResponseErrors(n));this.request=e;this.headers=r;this.response=n;this.name="GraphqlResponseError";this.errors=n.errors;this.data=n.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var E=["method","baseUrl","url","headers","request","query","mediaType"];var _=["query","method","url"];var b=/\/api\/v3\/?$/;function graphql(e,r,n){if(n){if(typeof r==="string"&&"query"in n){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in n){if(!_.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof r==="string"?Object.assign({query:r},n):r;const i=Object.keys(s).reduce(((e,r)=>{if(E.includes(r)){e[r]=s[r];return e}if(!e.variables){e.variables={}}e.variables[r]=s[r];return e}),{});const o=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(b.test(o)){i.url=o.replace(b,"/api/graphql")}return e(i).then((e=>{if(e.data.errors){const r={};for(const n of Object.keys(e.headers)){r[n]=e.headers[n]}throw new y(i,r,e.data)}return e.data.data}))}function withDefaults(e,r){const n=e.defaults(r);const newApi=(e,r)=>graphql(n,e,r);return Object.assign(newApi,{defaults:withDefaults.bind(null,n),endpoint:n.endpoint})}var I=withDefaults(d.request,{headers:{"user-agent":`octokit-graphql.js/${h} ${(0,A.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},37731:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{composePaginateRest:()=>u,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>d});e.exports=__toCommonJS(o);var c="9.2.1";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const r="total_count"in e.data&&!("url"in e.data);if(!r)return e;const n=e.data.incomplete_results;const s=e.data.repository_selection;const i=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const o=Object.keys(e.data)[0];const c=e.data[o];e.data=c;if(typeof n!=="undefined"){e.data.incomplete_results=n}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=i;return e}function iterator(e,r,n){const s=typeof r==="function"?r.endpoint(n):e.request.endpoint(r,n);const i=typeof r==="function"?r:e.request;const o=s.method;const c=s.headers;let u=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!u)return{done:true};try{const e=await i({method:o,url:u,headers:c});const r=normalizePaginatedListResponse(e);u=((r.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:r}}catch(e){if(e.status!==409)throw e;u="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,r,n,s){if(typeof n==="function"){s=n;n=void 0}return gather(e,[],iterator(e,r,n)[Symbol.asyncIterator](),s)}function gather(e,r,n,s){return n.next().then((i=>{if(i.done){return r}let o=false;function done(){o=true}r=r.concat(s?s(i.value,done):i.value.data);if(o){return r}return gather(e,r,n,s)}))}var u=Object.assign(paginate,{iterator:iterator});var d=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return d.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=c;0&&0},75726:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(o);var c="10.4.1";var u={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],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}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],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}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],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"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],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}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],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"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},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"],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}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/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"],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"],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}"],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"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],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"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],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"],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"],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"],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"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["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}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],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"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["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"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],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"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],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}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],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"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],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"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],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}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],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}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],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"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],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"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],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"}],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}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],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}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],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"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],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}"],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"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],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",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var d=u;var A=new Map;for(const[e,r]of Object.entries(d)){for(const[n,s]of Object.entries(r)){const[r,i,o]=s;const[c,u]=r.split(/ /);const d=Object.assign({method:c,url:u},i);if(!A.has(e)){A.set(e,new Map)}A.get(e).set(n,{scope:e,methodName:n,endpointDefaults:d,decorations:o})}}var h={has({scope:e},r){return A.get(e).has(r)},getOwnPropertyDescriptor(e,r){return{value:this.get(e,r),configurable:true,writable:true,enumerable:true}},defineProperty(e,r,n){Object.defineProperty(e.cache,r,n);return true},deleteProperty(e,r){delete e.cache[r];return true},ownKeys({scope:e}){return[...A.get(e).keys()]},set(e,r,n){return e.cache[r]=n},get({octokit:e,scope:r,cache:n},s){if(n[s]){return n[s]}const i=A.get(r).get(s);if(!i){return void 0}const{endpointDefaults:o,decorations:c}=i;if(c){n[s]=decorate(e,r,s,o,c)}else{n[s]=e.request.defaults(o)}return n[s]}};function endpointsToMethods(e){const r={};for(const n of A.keys()){r[n]=new Proxy({octokit:e,scope:n,cache:{}},h)}return r}function decorate(e,r,n,s,i){const o=e.request.defaults(s);function withDecorations(...s){let c=o.endpoint.merge(...s);if(i.mapToData){c=Object.assign({},c,{data:c[i.mapToData],[i.mapToData]:void 0});return o(c)}if(i.renamed){const[s,o]=i.renamed;e.log.warn(`octokit.${r}.${n}() has been renamed to octokit.${s}.${o}()`)}if(i.deprecated){e.log.warn(i.deprecated)}if(i.renamedParameters){const c=o.endpoint.merge(...s);for(const[s,o]of Object.entries(i.renamedParameters)){if(s in c){e.log.warn(`"${s}" parameter is deprecated for "octokit.${r}.${n}()". Use "${o}" instead`);if(!(o in c)){c[o]=c[s]}delete c[s]}}return o(c)}return o(...s)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const r=endpointsToMethods(e);return{rest:r}}restEndpointMethods.VERSION=c;function legacyRestEndpointMethods(e){const r=endpointsToMethods(e);return{...r,rest:r}}legacyRestEndpointMethods.VERSION=c;0&&0},27651:(e,r,n)=>{var s=Object.create;var i=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf;var d=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)i(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,s)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let u of c(r))if(!d.call(e,u)&&u!==n)i(e,u,{get:()=>r[u],enumerable:!(s=o(r,u))||s.enumerable})}return e};var __toESM=(e,r,n)=>(n=e!=null?s(u(e)):{},__copyProps(r||!e||!e.__esModule?i(n,"default",{value:e,enumerable:true}):n,e));var __toCommonJS=e=>__copyProps(i({},"__esModule",{value:true}),e);var A={};__export(A,{RequestError:()=>E});e.exports=__toCommonJS(A);var h=n(14150);var g=__toESM(n(55560));var m=(0,g.default)((e=>console.warn(e)));var y=(0,g.default)((e=>console.warn(e)));var E=class extends Error{constructor(e,r,n){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=r;let s;if("headers"in n&&typeof n.headers!=="undefined"){s=n.headers}if("response"in n){this.response=n.response;s=n.response.headers}const i=Object.assign({},n.request);if(n.request.headers.authorization){i.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i;Object.defineProperty(this,"code",{get(){m(new h.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return r}});Object.defineProperty(this,"headers",{get(){y(new h.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return s||{}}})}};0&&0},68576:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{request:()=>m});e.exports=__toCommonJS(u);var d=n(64806);var A=n(7900);var h="8.4.0";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}var g=n(27651);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var r,n,s,i;const o=e.request&&e.request.log?e.request.log:console;const c=((r=e.request)==null?void 0:r.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let u={};let d;let A;let{fetch:h}=globalThis;if((n=e.request)==null?void 0:n.fetch){h=e.request.fetch}if(!h){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return h(e.url,{method:e.method,body:e.body,redirect:(s=e.request)==null?void 0:s.redirect,headers:e.headers,signal:(i=e.request)==null?void 0:i.signal,...e.body&&{duplex:"half"}}).then((async r=>{A=r.url;d=r.status;for(const e of r.headers){u[e[0]]=e[1]}if("deprecation"in u){const r=u.link&&u.link.match(/<([^>]+)>; rel="deprecation"/);const n=r&&r.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${n?`. See ${n}`:""}`)}if(d===204||d===205){return}if(e.method==="HEAD"){if(d<400){return}throw new g.RequestError(r.statusText,d,{response:{url:A,status:d,headers:u,data:void 0},request:e})}if(d===304){throw new g.RequestError("Not modified",d,{response:{url:A,status:d,headers:u,data:await getResponseData(r)},request:e})}if(d>=400){const n=await getResponseData(r);const s=new g.RequestError(toErrorMessage(n),d,{response:{url:A,status:d,headers:u,data:n},request:e});throw s}return c?await getResponseData(r):r.body})).then((e=>({status:d,url:A,headers:u,data:e}))).catch((r=>{if(r instanceof g.RequestError)throw r;else if(r.name==="AbortError")throw r;let n=r.message;if(r.name==="TypeError"&&"cause"in r){if(r.cause instanceof Error){n=r.cause.message}else if(typeof r.cause==="string"){n=r.cause}}throw new g.RequestError(n,500,{request:e})}))}async function getResponseData(e){const r=e.headers.get("content-type");if(/application\/json/.test(r)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!r||/^text\/|charset=utf-8$/.test(r)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;let r;if("documentation_url"in e){r=` - ${e.documentation_url}`}else{r=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${r}`}return`${e.message}${r}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,r){const n=e.defaults(r);const newApi=function(e,r){const s=n.merge(e,r);if(!s.request||!s.request.hook){return fetchWrapper(n.parse(s))}const request2=(e,r)=>fetchWrapper(n.parse(n.merge(e,r)));Object.assign(request2,{endpoint:n,defaults:withDefaults.bind(null,n)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:n,defaults:withDefaults.bind(null,n)})}var m=withDefaults(d.endpoint,{headers:{"user-agent":`octokit-request.js/${h} ${(0,A.getUserAgent)()}`}});0&&0},45029:(e,r,n)=>{var s=n(30604);var i=n(68878);var o=n(29357);var c=Function.bind;var u=c.bind(c);function bindApi(e,r,n){var s=u(o,null).apply(null,n?[r,n]:[r]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((function(s){var o=n?[r,s,n]:[r,s];e[s]=e.api[s]=u(i,null).apply(null,o)}))}function HookSingular(){var e="h";var r={registry:{}};var n=s.bind(null,r,e);bindApi(n,r,e);return n}function HookCollection(){var e={registry:{}};var r=s.bind(null,e);bindApi(r,e);return r}var d=false;function Hook(){if(!d){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');d=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},68878:e=>{e.exports=addHook;function addHook(e,r,n,s){var i=s;if(!e.registry[n]){e.registry[n]=[]}if(r==="before"){s=function(e,r){return Promise.resolve().then(i.bind(null,r)).then(e.bind(null,r))}}if(r==="after"){s=function(e,r){var n;return Promise.resolve().then(e.bind(null,r)).then((function(e){n=e;return i(n,r)})).then((function(){return n}))}}if(r==="error"){s=function(e,r){return Promise.resolve().then(e.bind(null,r)).catch((function(e){return i(e,r)}))}}e.registry[n].push({hook:s,orig:i})}},30604:e=>{e.exports=register;function register(e,r,n,s){if(typeof n!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(r)){return r.reverse().reduce((function(r,n){return register.bind(null,e,n,r,s)}),n)()}return Promise.resolve().then((function(){if(!e.registry[r]){return n(s)}return e.registry[r].reduce((function(e,r){return r.hook.bind(null,e,s)}),n)()}))}},29357:e=>{e.exports=removeHook;function removeHook(e,r,n){if(!e.registry[r]){return}var s=e.registry[r].map((function(e){return e.orig})).indexOf(n);if(s===-1){return}e.registry[r].splice(s,1)}},7900:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}r.getUserAgent=getUserAgent},44552:function(e,r){var n=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.PersonalAccessTokenCredentialHandler=r.BearerCredentialHandler=r.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,r){this.username=e;this.password=r}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}r.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}r.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}r.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.HttpClient=r.isHttps=r.HttpClientResponse=r.HttpClientError=r.getProxyUrl=r.MediaTypes=r.Headers=r.HttpCodes=void 0;const u=o(n(58611));const d=o(n(65692));const A=o(n(54988));const h=o(n(20770));const g=n(46752);var m;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(m||(r.HttpCodes=m={}));var y;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(y||(r.Headers=y={}));var E;(function(e){e["ApplicationJson"]="application/json"})(E||(r.MediaTypes=E={}));function getProxyUrl(e){const r=A.getProxyUrl(new URL(e));return r?r.href:""}r.getProxyUrl=getProxyUrl;const _=[m.MovedPermanently,m.ResourceMoved,m.SeeOther,m.TemporaryRedirect,m.PermanentRedirect];const b=[m.BadGateway,m.ServiceUnavailable,m.GatewayTimeout];const I=["OPTIONS","GET","DELETE","HEAD"];const v=10;const C=5;class HttpClientError extends Error{constructor(e,r){super(e);this.name="HttpClientError";this.statusCode=r;Object.setPrototypeOf(this,HttpClientError.prototype)}}r.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])}));this.message.on("end",(()=>{e(r.toString())}))}))))}))}readBodyBuffer(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){const r=[];this.message.on("data",(e=>{r.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(r))}))}))))}))}}r.HttpClientResponse=HttpClientResponse;function isHttps(e){const r=new URL(e);return r.protocol==="https:"}r.isHttps=isHttps;class HttpClient{constructor(e,r,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=r||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,r){return c(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,r||{})}))}get(e,r){return c(this,void 0,void 0,(function*(){return this.request("GET",e,null,r||{})}))}del(e,r){return c(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,r||{})}))}post(e,r,n){return c(this,void 0,void 0,(function*(){return this.request("POST",e,r,n||{})}))}patch(e,r,n){return c(this,void 0,void 0,(function*(){return this.request("PATCH",e,r,n||{})}))}put(e,r,n){return c(this,void 0,void 0,(function*(){return this.request("PUT",e,r,n||{})}))}head(e,r){return c(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,r||{})}))}sendStream(e,r,n,s){return c(this,void 0,void 0,(function*(){return this.request(e,r,n,s)}))}getJson(e,r={}){return c(this,void 0,void 0,(function*(){r[y.Accept]=this._getExistingOrDefaultHeader(r,y.Accept,E.ApplicationJson);const n=yield this.get(e,r);return this._processResponse(n,this.requestOptions)}))}postJson(e,r,n={}){return c(this,void 0,void 0,(function*(){const s=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,E.ApplicationJson);n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,E.ApplicationJson);const i=yield this.post(e,s,n);return this._processResponse(i,this.requestOptions)}))}putJson(e,r,n={}){return c(this,void 0,void 0,(function*(){const s=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,E.ApplicationJson);n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,E.ApplicationJson);const i=yield this.put(e,s,n);return this._processResponse(i,this.requestOptions)}))}patchJson(e,r,n={}){return c(this,void 0,void 0,(function*(){const s=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,E.ApplicationJson);n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,E.ApplicationJson);const i=yield this.patch(e,s,n);return this._processResponse(i,this.requestOptions)}))}request(e,r,n,s){return c(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(r);let o=this._prepareRequest(e,i,s);const c=this._allowRetries&&I.includes(e)?this._maxRetries+1:1;let u=0;let d;do{d=yield this.requestRaw(o,n);if(d&&d.message&&d.message.statusCode===m.Unauthorized){let e;for(const r of this.handlers){if(r.canHandleAuthentication(d)){e=r;break}}if(e){return e.handleAuthentication(this,o,n)}else{return d}}let r=this._maxRedirects;while(d.message.statusCode&&_.includes(d.message.statusCode)&&this._allowRedirects&&r>0){const c=d.message.headers["location"];if(!c){break}const u=new URL(c);if(i.protocol==="https:"&&i.protocol!==u.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield d.readBody();if(u.hostname!==i.hostname){for(const e in s){if(e.toLowerCase()==="authorization"){delete s[e]}}}o=this._prepareRequest(e,u,s);d=yield this.requestRaw(o,n);r--}if(!d.message.statusCode||!b.includes(d.message.statusCode)){return d}u+=1;if(u{function callbackForResult(e,r){if(e){s(e)}else if(!r){s(new Error("Unknown error"))}else{n(r)}}this.requestRawWithCallback(e,r,callbackForResult)}))}))}requestRawWithCallback(e,r,n){if(typeof r==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8")}let s=false;function handleResult(e,r){if(!s){s=true;n(e,r)}}const i=e.httpModule.request(e.options,(e=>{const r=new HttpClientResponse(e);handleResult(undefined,r)}));let o;i.on("socket",(e=>{o=e}));i.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));i.on("error",(function(e){handleResult(e)}));if(r&&typeof r==="string"){i.write(r,"utf8")}if(r&&typeof r!=="string"){r.on("close",(function(){i.end()}));r.pipe(i)}else{i.end()}}getAgent(e){const r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){const r=new URL(e);const n=A.getProxyUrl(r);const s=n&&n.hostname;if(!s){return}return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){const s={};s.parsedUrl=r;const i=s.parsedUrl.protocol==="https:";s.httpModule=i?d:u;const o=i?443:80;s.options={};s.options.host=s.parsedUrl.hostname;s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):o;s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||"");s.options.method=e;s.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){s.options.headers["user-agent"]=this.userAgent}s.options.agent=this._getAgent(s.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(s.options)}}return s}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){s=lowercaseKeys(this.requestOptions.headers)[r]}return e[r]||s||n}_getAgent(e){let r;const n=A.getProxyUrl(e);const s=n&&n.hostname;if(this._keepAlive&&s){r=this._proxyAgent}if(!s){r=this._agent}if(r){return r}const i=e.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||u.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let s;const c=n.protocol==="https:";if(i){s=c?h.httpsOverHttps:h.httpsOverHttp}else{s=c?h.httpOverHttps:h.httpOverHttp}r=s(e);this._proxyAgent=r}if(!r){const e={keepAlive:this._keepAlive,maxSockets:o};r=i?new d.Agent(e):new u.Agent(e);this._agent=r}if(i&&this._ignoreSslError){r.options=Object.assign(r.options||{},{rejectUnauthorized:false})}return r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const s=e.protocol==="https:";n=new g.ProxyAgent(Object.assign({uri:r.href,pipelining:!this._keepAlive?0:1},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(s&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_performExponentialBackoff(e){return c(this,void 0,void 0,(function*(){e=Math.min(v,e);const r=C*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),r)))}))}_processResponse(e,r){return c(this,void 0,void 0,(function*(){return new Promise(((n,s)=>c(this,void 0,void 0,(function*(){const i=e.message.statusCode||0;const o={statusCode:i,result:null,headers:{}};if(i===m.NotFound){n(o)}function dateTimeDeserializer(e,r){if(typeof r==="string"){const e=new Date(r);if(!isNaN(e.valueOf())){return e}}return r}let c;let u;try{u=yield e.readBody();if(u&&u.length>0){if(r&&r.deserializeDates){c=JSON.parse(u,dateTimeDeserializer)}else{c=JSON.parse(u)}o.result=c}o.headers=e.message.headers}catch(e){}if(i>299){let e;if(c&&c.message){e=c.message}else if(u&&u.length>0){e=u}else{e=`Failed request: (${i})`}const r=new HttpClientError(e,i);r.result=o.result;s(r)}else{n(o)}}))))}))}}r.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((r,n)=>(r[n.toLowerCase()]=e[n],r)),{})},54988:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.checkBypass=r.getProxyUrl=void 0;function getProxyUrl(e){const r=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(r){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}r.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const r=e.hostname;if(isLoopbackAddress(r)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let s;if(e.port){s=Number(e.port)}else if(e.protocol==="http:"){s=80}else if(e.protocol==="https:"){s=443}const i=[e.hostname.toUpperCase()];if(typeof s==="number"){i.push(`${i[0]}:${s}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||i.some((r=>r===e||r.endsWith(`.${e}`)||e.startsWith(".")&&r.endsWith(`${e}`)))){return true}}return false}r.checkBypass=checkBypass;function isLoopbackAddress(e){const r=e.toLowerCase();return r==="localhost"||r.startsWith("127.")||r.startsWith("[::1]")||r.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,r){super(e,r);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},51835:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n=new Uint8Array(256),s=new Uint8Array(256),i=new Uint32Array(256),o=new Uint32Array(256),c=new Uint32Array(256),u=new Uint32Array(256),d=new Uint32Array(256),A=new Uint32Array(256),h=new Uint32Array(256),g=new Uint32Array(256);function a(e){if(e instanceof Uint32Array)return e;if("string"==typeof e){if(e.length%4!=0)for(var r=e.length%4;r<=4;r++)e+="\0x00";var n=new Uint32Array(e.length/4);for(r=0;r>7),b[_[C]^C]=C;for(;!n[I];I^=e||1)m=(m=v^v<<1^v<<2^v<<3^v<<4)>>8^255&m^99,n[I]=m,s[m]=I,E=16843009*_[r=_[e=_[I]]]^65537*r^257*e^16843008*I,y=257*_[m]^16843008*m,i[I]=y=y<<24^y>>>8,o[I]=y=y<<24^y>>>8,c[I]=y=y<<24^y>>>8,u[I]=y=y<<24^y>>>8,d[m]=E=E<<24^E>>>8,A[m]=E=E<<24^E>>>8,h[m]=E=E<<24^E>>>8,g[m]=E=E<<24^E>>>8,v=b[v]||1}();var m=function(){function l(e){var r=a(e);if(4!==r.length&&6!==r.length&&8!==r.length)throw new Error("Invalid key size");this.encKey=new Uint32Array(4*r.length+28),this.decKey=new Uint32Array(4*r.length+28),this.encKey.set(r);for(var s,i=1,o=r.length;o<4*r.length+28;o++)s=this.encKey[o-1],(o%r.length==0||8===r.length&&o%r.length==4)&&(s=n[s>>>24]<<24^n[s>>16&255]<<16^n[s>>8&255]<<8^n[255&s],o%r.length==0&&(s=s<<8^s>>>24^i<<24,i=i<<1^283*(i>>7))),this.encKey[o]=this.encKey[o-r.length]^s;for(var c=0;o;c++,o--)s=this.encKey[3&c?o:o-4],this.decKey[c]=o<=4||c<4?s:d[n[s>>>24]]^A[n[s>>16&255]]^h[n[s>>8&255]]^g[n[255&s]]}return l.prototype.encrypt=function(e){for(var r,s,d,A=a(e),h=new Uint32Array(4),g=A[0]^this.encKey[0],m=A[1]^this.encKey[1],y=A[2]^this.encKey[2],E=A[3]^this.encKey[3],_=this.encKey.length/4-2,b=4,I=0;I<_;I++)r=i[g>>>24]^o[m>>16&255]^c[y>>8&255]^u[255&E]^this.encKey[b],s=i[m>>>24]^o[y>>16&255]^c[E>>8&255]^u[255&g]^this.encKey[b+1],d=i[y>>>24]^o[E>>16&255]^c[g>>8&255]^u[255&m]^this.encKey[b+2],E=i[E>>>24]^o[g>>16&255]^c[m>>8&255]^u[255&y]^this.encKey[b+3],g=r,m=s,y=d,b+=4;for(I=0;I<4;I++)h[I]=n[g>>>24]<<24^n[m>>16&255]<<16^n[y>>8&255]<<8^n[255&E]^this.encKey[b++],r=g,g=m,m=y,y=E,E=r;return h},l.prototype.decrypt=function(e){for(var r,n,i,o=a(e),c=new Uint32Array(4),u=o[0]^this.decKey[0],m=o[3]^this.decKey[1],y=o[2]^this.decKey[2],E=o[1]^this.decKey[3],_=this.decKey.length/4-2,b=4,I=0;I<_;I++)r=d[u>>>24]^A[m>>16&255]^h[y>>8&255]^g[255&E]^this.decKey[b],n=d[m>>>24]^A[y>>16&255]^h[E>>8&255]^g[255&u]^this.decKey[b+1],i=d[y>>>24]^A[E>>16&255]^h[u>>8&255]^g[255&m]^this.decKey[b+2],E=d[E>>>24]^A[u>>16&255]^h[m>>8&255]^g[255&y]^this.decKey[b+3],u=r,m=n,y=i,b+=4;for(I=0;I<4;I++)c[3&-I]=s[u>>>24]<<24^s[m>>16&255]<<16^s[y>>8&255]<<8^s[255&E]^this.decKey[b++],r=u,u=m,m=y,y=E,E=r;return c},l}(),y=function(){function t(e,r,n){void 0===n&&(n=16),this.key=a(e),this.iv=a(r),this.cipher=new m(e),this.blockSize=n/4}return t.prototype.encrypt=function(e,r){for(var n=a(e),s=r||new Uint32Array(n.length),i=this.iv.subarray(this.blockSize,this.iv.length),o=this.iv.subarray(0,this.blockSize),c=new Uint32Array(this.blockSize),u=0;u=this.blockSize&&this.incrementCounter(),i&&(o-=i,i=0)}return this.offset=(this.offset+n.length%4)%4,s},t.prototype.decrypt=function(e,r){return this.encrypt(e,r)},t.prototype.incrementCounter=function(){for(var e=this.counter.length-1;e>=0&&!(++this.counter[e]<4294967295);e--);},t}();r.CTR=E,r.IGE=y,r["default"]=m},37936:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.underline=r.strikethrough=r.spoiler=r.pre=r.mentionUser=r.linkMessage=r.link=r.italic=r.FormattedString=r.fmt=r.customEmoji=r.code=r.bold=r.blockquote=void 0;class FormattedString{constructor(e,r){this.text=e;this.entities=r}toString(){return this.text}}r.FormattedString=FormattedString;const unwrap=e=>{if(e instanceof FormattedString){return e}return new FormattedString(e.toString(),[])};const buildFormatter=(e,...r)=>(n,...s)=>{const i=unwrap(n);const o=Object.fromEntries(r.map(((e,r)=>[e,s[r]])));return new FormattedString(i.text,[{type:e,offset:0,length:i.text.length,...o},...i.entities])};const n=buildFormatter("bold");r.bold=n;const s=buildFormatter("code");r.code=s;const i=buildFormatter("italic");r.italic=i;const o=buildFormatter("text_link","url");r.link=o;const c=buildFormatter("pre","language");r.pre=c;const u=buildFormatter("spoiler");r.spoiler=u;const d=buildFormatter("blockquote");r.blockquote=d;const A=buildFormatter("strikethrough");r.strikethrough=A;const h=buildFormatter("underline");r.underline=h;const mentionUser=(e,r)=>o(e,`tg://user?id=${r}`);r.mentionUser=mentionUser;const customEmoji=(e,r)=>o(e,`tg://emoji?id=${r}`);r.customEmoji=customEmoji;const linkMessage=(e,r,n)=>{if(r>0){console.warn("linkMessage can only be used for supergroups and channel messages. Refusing to transform into link.");return e}else if(r<-0xe954a50fff||r>-1e12){console.warn("linkMessage is not able to link messages whose chatIds are greater than -1000000000000 or less than -1002147483647 at this moment. Refusing to transform into link.");return e}else{return o(e,`https://t.me/c/${(r+1e12)*-1}/${n}`)}};r.linkMessage=linkMessage;const fmt=(e,...r)=>{let n="";const s=[];const i=Math.max(e.length,r.length);for(let o=0;o({...e,offset:e.offset+n.length}))))}if(i!=null)n+=i.toString()}}return new FormattedString(n,s)};r.fmt=fmt},39292:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.hydrateReply=void 0;const s=n(37936);const buildReplyWithParseMode=(e,r)=>(...n)=>{const[s,i,...o]=n;return r.reply(s,{...i,parse_mode:e},...o)};const hydrateReply=async(e,r)=>{e.replyFmt=(r,...n)=>{const[i,...o]=n;const c=r instanceof s.FormattedString?{entities:r.entities}:undefined;return e.reply(r.toString(),{...i,...c},...o)};e.replyWithHTML=buildReplyWithParseMode("HTML",e);e.replyWithMarkdown=buildReplyWithParseMode("MarkdownV2",e);e.replyWithMarkdownV1=buildReplyWithParseMode("Markdown",e);e.replyWithMarkdownV2=buildReplyWithParseMode("MarkdownV2",e);e.replyFmtWithPhoto=(r,n,...i)=>{const o=n?.caption?.toString();const c=n?.caption instanceof s.FormattedString?n.caption.entities:n?.caption_entities;return e.replyWithPhoto(r,{...n,caption:o,caption_entities:c},...i)};e.replyFmtWithMediaGroup=(r,n,...i)=>{const o=r.map((e=>{const r=e.caption?.toString();const n=e.caption instanceof s.FormattedString?e.caption.entities:e.caption_entities;return{...e,caption:r,caption_entities:n}}));return e.replyWithMediaGroup(o,n,...i)};e.editFmtMessageMedia=(r,n,...i)=>{const o=r.caption?.toString();const c=r.caption instanceof s.FormattedString?r.caption.entities:r?.caption_entities;return e.editMessageMedia({...r,caption:o,caption_entities:c},n,...i)};e.editFmtMessageText=(r,n,...i)=>{const o=r instanceof s.FormattedString?r.entities:n?.entities;return e.editMessageText(r.toString(),{...n,entities:o},...i)};await r()};r.hydrateReply=hydrateReply},36400:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(37936),r);i(n(39292),r);i(n(1504),r)},1504:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.parseMode=void 0;const n=new Map([["html","HTML"],["markdown","Markdown"],["markdownv2","MarkdownV2"]]);const buildTransformer=e=>{const r=n.get(e.toLowerCase())??e;if(!n.has(e.toLowerCase())){console.warn(`Could not find parse_mode: ${e}. If this is a valid parse_mode, you should ignore this message.`)}const transformer=(e,n,s,i)=>{if(!s||"parse_mode"in s){return e(n,s,i)}switch(n){case"editMessageMedia":if("media"in s&&!("parse_mode"in s.media)){s.media.parse_mode=r}break;case"answerInlineQuery":if("results"in s){for(const e of s.results){if("input_message_content"in e&&!("parse_mode"in e.input_message_content)){e.input_message_content.parse_mode=r}else if(!("parse_mode"in e)){e.parse_mode=r}}}break;default:s={...s,...{parse_mode:r}}}return e(n,s,i)};return transformer};r.parseMode=buildTransformer},51860:()=>{},65772:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{Octokit:()=>y});e.exports=__toCommonJS(u);var d=n(12741);var A=n(81978);var h=n(77198);var g=n(33779);var m="20.1.1";var y=d.Octokit.plugin(A.requestLog,g.legacyRestEndpointMethods,h.paginateRest).defaults({userAgent:`octokit-rest.js/${m}`});0&&0},53660:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{createTokenAuth:()=>A});e.exports=__toCommonJS(o);var c=/^v1\./;var u=/^ghs_/;var d=/^ghu_/;async function auth(e){const r=e.split(/\./).length===3;const n=c.test(e)||u.test(e);const s=d.test(e);const i=r?"app":n?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:i}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,r,n,s){const i=r.endpoint.merge(n,s);i.headers.authorization=withAuthorizationPrefix(e);return r(i)}var A=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},12741:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{Octokit:()=>I});e.exports=__toCommonJS(u);var d=n(52887);var A=n(97112);var h=n(47539);var g=n(25035);var m=n(53660);var y="5.2.0";var noop=()=>{};var E=console.warn.bind(console);var _=console.error.bind(console);var b=`octokit-core.js/${y} ${(0,d.getUserAgent)()}`;var I=class{static{this.VERSION=y}static defaults(e){const r=class extends(this){constructor(...r){const n=r[0]||{};if(typeof e==="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}};return r}static{this.plugins=[]}static plugin(...e){const r=this.plugins;const n=class extends(this){static{this.plugins=r.concat(e.filter((e=>!r.includes(e))))}};return n}constructor(e={}){const r=new A.Collection;const n={baseUrl:h.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${b}`:b;if(e.baseUrl){n.baseUrl=e.baseUrl}if(e.previews){n.mediaType.previews=e.previews}if(e.timeZone){n.headers["time-zone"]=e.timeZone}this.request=h.request.defaults(n);this.graphql=(0,g.withCustomRequest)(this.request).defaults(n);this.log=Object.assign({debug:noop,info:noop,warn:E,error:_},e.log);this.hook=r;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const n=(0,m.createTokenAuth)(e.auth);r.wrap("request",n.hook);this.auth=n}}else{const{authStrategy:n,...s}=e;const i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));r.wrap("request",i.hook);this.auth=i}const s=this.constructor;for(let r=0;r{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{endpoint:()=>y});e.exports=__toCommonJS(u);var d=n(52887);var A="9.0.5";var h=`octokit-endpoint.js/${A} ${(0,d.getUserAgent)()}`;var g={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":h},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((r,n)=>{r[n.toLowerCase()]=e[n];return r}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}function mergeDeep(e,r){const n=Object.assign({},e);Object.keys(r).forEach((s=>{if(isPlainObject(r[s])){if(!(s in e))Object.assign(n,{[s]:r[s]});else n[s]=mergeDeep(e[s],r[s])}else{Object.assign(n,{[s]:r[s]})}}));return n}function removeUndefinedProperties(e){for(const r in e){if(e[r]===void 0){delete e[r]}}return e}function merge(e,r,n){if(typeof r==="string"){let[e,s]=r.split(" ");n=Object.assign(s?{method:e,url:s}:{url:e},n)}else{n=Object.assign({},r)}n.headers=lowercaseKeys(n.headers);removeUndefinedProperties(n);removeUndefinedProperties(n.headers);const s=mergeDeep(e||{},n);if(n.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,r){const n=/\?/.test(e)?"&":"?";const s=Object.keys(r);if(s.length===0){return e}return e+n+s.map((e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`})).join("&")}var m=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(m);if(!r){return[]}return r.map(removeNonChars).reduce(((e,r)=>e.concat(r)),[])}function omit(e,r){const n={__proto__:null};for(const s of Object.keys(e)){if(r.indexOf(s)===-1){n[s]=e[s]}}return n}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,r,n){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(n){return encodeUnreserved(n)+"="+r}else{return r}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,n,s){var i=e[n],o=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(s&&s!=="*"){i=i.substring(0,parseInt(s,10))}o.push(encodeValue(r,i,isKeyOperator(r)?n:""))}else{if(s==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach((function(e){o.push(encodeValue(r,e,isKeyOperator(r)?n:""))}))}else{Object.keys(i).forEach((function(e){if(isDefined(i[e])){o.push(encodeValue(r,i[e],e))}}))}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach((function(n){e.push(encodeValue(r,n))}))}else{Object.keys(i).forEach((function(n){if(isDefined(i[n])){e.push(encodeUnreserved(n));e.push(encodeValue(r,i[n].toString()))}}))}if(isKeyOperator(r)){o.push(encodeUnreserved(n)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(r===";"){if(isDefined(i)){o.push(encodeUnreserved(n))}}else if(i===""&&(r==="&"||r==="?")){o.push(encodeUnreserved(n)+"=")}else if(i===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var n=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,i){if(s){let e="";const i=[];if(n.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(n){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);i.push(getValues(r,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(i.length!==0?e:"")+i.join(o)}else{return i.join(",")}}else{return encodeReserved(i)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let r=e.method.toUpperCase();let n=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let i;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const c=extractUrlVariableNames(n);n=parseUrl(n).expand(o);if(!/^http/.test(n)){n=e.baseUrl+n}const u=Object.keys(e).filter((e=>c.includes(e))).concat("baseUrl");const d=omit(o,u);const A=/application\/octet-stream/i.test(s.accept);if(!A){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(n.endsWith("/graphql")){if(e.mediaType.previews?.length){const r=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=r.concat(e.mediaType.previews).map((r=>{const n=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${n}`})).join(",")}}}if(["GET","HEAD"].includes(r)){n=addQueryParameters(n,d)}else{if("data"in d){i=d.data}else{if(Object.keys(d).length){i=d}}}if(!s["content-type"]&&typeof i!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof i==="undefined"){i=""}return Object.assign({method:r,url:n,headers:s},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,n){return parse(merge(e,r,n))}function withDefaults(e,r){const n=merge(e,r);const s=endpointWithDefaults.bind(null,n);return Object.assign(s,{DEFAULTS:n,defaults:withDefaults.bind(null,n),merge:merge.bind(null,n),parse:parse})}var y=withDefaults(null,g);0&&0},25035:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{GraphqlResponseError:()=>y,graphql:()=>I,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(u);var d=n(47539);var A=n(52887);var h="7.1.0";var g=n(47539);var m=n(47539);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var y=class extends Error{constructor(e,r,n){super(_buildMessageForResponseErrors(n));this.request=e;this.headers=r;this.response=n;this.name="GraphqlResponseError";this.errors=n.errors;this.data=n.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var E=["method","baseUrl","url","headers","request","query","mediaType"];var _=["query","method","url"];var b=/\/api\/v3\/?$/;function graphql(e,r,n){if(n){if(typeof r==="string"&&"query"in n){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in n){if(!_.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof r==="string"?Object.assign({query:r},n):r;const i=Object.keys(s).reduce(((e,r)=>{if(E.includes(r)){e[r]=s[r];return e}if(!e.variables){e.variables={}}e.variables[r]=s[r];return e}),{});const o=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(b.test(o)){i.url=o.replace(b,"/api/graphql")}return e(i).then((e=>{if(e.data.errors){const r={};for(const n of Object.keys(e.headers)){r[n]=e.headers[n]}throw new y(i,r,e.data)}return e.data.data}))}function withDefaults(e,r){const n=e.defaults(r);const newApi=(e,r)=>graphql(n,e,r);return Object.assign(newApi,{defaults:withDefaults.bind(null,n),endpoint:n.endpoint})}var I=withDefaults(d.request,{headers:{"user-agent":`octokit-graphql.js/${h} ${(0,A.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},77198:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{composePaginateRest:()=>u,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>d});e.exports=__toCommonJS(o);var c="11.3.1";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const r="total_count"in e.data&&!("url"in e.data);if(!r)return e;const n=e.data.incomplete_results;const s=e.data.repository_selection;const i=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const o=Object.keys(e.data)[0];const c=e.data[o];e.data=c;if(typeof n!=="undefined"){e.data.incomplete_results=n}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=i;return e}function iterator(e,r,n){const s=typeof r==="function"?r.endpoint(n):e.request.endpoint(r,n);const i=typeof r==="function"?r:e.request;const o=s.method;const c=s.headers;let u=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!u)return{done:true};try{const e=await i({method:o,url:u,headers:c});const r=normalizePaginatedListResponse(e);u=((r.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:r}}catch(e){if(e.status!==409)throw e;u="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,r,n,s){if(typeof n==="function"){s=n;n=void 0}return gather(e,[],iterator(e,r,n)[Symbol.asyncIterator](),s)}function gather(e,r,n,s){return n.next().then((i=>{if(i.done){return r}let o=false;function done(){o=true}r=r.concat(s?s(i.value,done):i.value.data);if(o){return r}return gather(e,r,n,s)}))}var u=Object.assign(paginate,{iterator:iterator});var d=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/copilot/usage","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/copilot/usage","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/team/{team_slug}/copilot/usage","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return d.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=c;0&&0},81978:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{requestLog:()=>requestLog});e.exports=__toCommonJS(o);var c="4.0.1";function requestLog(e){e.hook.wrap("request",((r,n)=>{e.log.debug("request",n);const s=Date.now();const i=e.request.endpoint.parse(n);const o=i.url.replace(n.baseUrl,"");return r(n).then((r=>{e.log.info(`${i.method} ${o} - ${r.status} in ${Date.now()-s}ms`);return r})).catch((r=>{e.log.info(`${i.method} ${o} - ${r.status} in ${Date.now()-s}ms`);throw r}))}))}requestLog.VERSION=c;0&&0},33779:e=>{var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,n)=>{for(var s in n)r(e,s,{get:n[s],enumerable:true})};var __copyProps=(e,o,c,u)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let d of s(o))if(!i.call(e,d)&&d!==c)r(e,d,{get:()=>o[d],enumerable:!(u=n(o,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var o={};__export(o,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(o);var c="13.2.2";var u={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],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}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],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}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],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"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],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}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],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"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"],usageMetricsForEnterprise:["GET /enterprises/{enterprise}/copilot/usage"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},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"],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}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/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"],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"],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}"],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"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],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"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],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"],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"],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"],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"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["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}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],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"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["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"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],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"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],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}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],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"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],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"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],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}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],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}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],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"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],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"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],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"}],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}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],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}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],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"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],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}"],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"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],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",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var d=u;var A=new Map;for(const[e,r]of Object.entries(d)){for(const[n,s]of Object.entries(r)){const[r,i,o]=s;const[c,u]=r.split(/ /);const d=Object.assign({method:c,url:u},i);if(!A.has(e)){A.set(e,new Map)}A.get(e).set(n,{scope:e,methodName:n,endpointDefaults:d,decorations:o})}}var h={has({scope:e},r){return A.get(e).has(r)},getOwnPropertyDescriptor(e,r){return{value:this.get(e,r),configurable:true,writable:true,enumerable:true}},defineProperty(e,r,n){Object.defineProperty(e.cache,r,n);return true},deleteProperty(e,r){delete e.cache[r];return true},ownKeys({scope:e}){return[...A.get(e).keys()]},set(e,r,n){return e.cache[r]=n},get({octokit:e,scope:r,cache:n},s){if(n[s]){return n[s]}const i=A.get(r).get(s);if(!i){return void 0}const{endpointDefaults:o,decorations:c}=i;if(c){n[s]=decorate(e,r,s,o,c)}else{n[s]=e.request.defaults(o)}return n[s]}};function endpointsToMethods(e){const r={};for(const n of A.keys()){r[n]=new Proxy({octokit:e,scope:n,cache:{}},h)}return r}function decorate(e,r,n,s,i){const o=e.request.defaults(s);function withDecorations(...s){let c=o.endpoint.merge(...s);if(i.mapToData){c=Object.assign({},c,{data:c[i.mapToData],[i.mapToData]:void 0});return o(c)}if(i.renamed){const[s,o]=i.renamed;e.log.warn(`octokit.${r}.${n}() has been renamed to octokit.${s}.${o}()`)}if(i.deprecated){e.log.warn(i.deprecated)}if(i.renamedParameters){const c=o.endpoint.merge(...s);for(const[s,o]of Object.entries(i.renamedParameters)){if(s in c){e.log.warn(`"${s}" parameter is deprecated for "octokit.${r}.${n}()". Use "${o}" instead`);if(!(o in c)){c[o]=c[s]}delete c[s]}}return o(c)}return o(...s)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const r=endpointsToMethods(e);return{rest:r}}restEndpointMethods.VERSION=c;function legacyRestEndpointMethods(e){const r=endpointsToMethods(e);return{...r,rest:r}}legacyRestEndpointMethods.VERSION=c;0&&0},59128:(e,r,n)=>{var s=Object.create;var i=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf;var d=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)i(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,s)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let u of c(r))if(!d.call(e,u)&&u!==n)i(e,u,{get:()=>r[u],enumerable:!(s=o(r,u))||s.enumerable})}return e};var __toESM=(e,r,n)=>(n=e!=null?s(u(e)):{},__copyProps(r||!e||!e.__esModule?i(n,"default",{value:e,enumerable:true}):n,e));var __toCommonJS=e=>__copyProps(i({},"__esModule",{value:true}),e);var A={};__export(A,{RequestError:()=>E});e.exports=__toCommonJS(A);var h=n(14150);var g=__toESM(n(55560));var m=(0,g.default)((e=>console.warn(e)));var y=(0,g.default)((e=>console.warn(e)));var E=class extends Error{constructor(e,r,n){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=r;let s;if("headers"in n&&typeof n.headers!=="undefined"){s=n.headers}if("response"in n){this.response=n.response;s=n.response.headers}const i=Object.assign({},n.request);if(n.request.headers.authorization){i.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i;Object.defineProperty(this,"code",{get(){m(new h.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return r}});Object.defineProperty(this,"headers",{get(){y(new h.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return s||{}}})}};0&&0},47539:(e,r,n)=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)s(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,r,n,u)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let d of o(r))if(!c.call(e,d)&&d!==n)s(e,d,{get:()=>r[d],enumerable:!(u=i(r,d))||u.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var u={};__export(u,{request:()=>m});e.exports=__toCommonJS(u);var d=n(40963);var A=n(52887);var h="8.4.0";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}var g=n(59128);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var r,n,s,i;const o=e.request&&e.request.log?e.request.log:console;const c=((r=e.request)==null?void 0:r.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let u={};let d;let A;let{fetch:h}=globalThis;if((n=e.request)==null?void 0:n.fetch){h=e.request.fetch}if(!h){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return h(e.url,{method:e.method,body:e.body,redirect:(s=e.request)==null?void 0:s.redirect,headers:e.headers,signal:(i=e.request)==null?void 0:i.signal,...e.body&&{duplex:"half"}}).then((async r=>{A=r.url;d=r.status;for(const e of r.headers){u[e[0]]=e[1]}if("deprecation"in u){const r=u.link&&u.link.match(/<([^>]+)>; rel="deprecation"/);const n=r&&r.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${n?`. See ${n}`:""}`)}if(d===204||d===205){return}if(e.method==="HEAD"){if(d<400){return}throw new g.RequestError(r.statusText,d,{response:{url:A,status:d,headers:u,data:void 0},request:e})}if(d===304){throw new g.RequestError("Not modified",d,{response:{url:A,status:d,headers:u,data:await getResponseData(r)},request:e})}if(d>=400){const n=await getResponseData(r);const s=new g.RequestError(toErrorMessage(n),d,{response:{url:A,status:d,headers:u,data:n},request:e});throw s}return c?await getResponseData(r):r.body})).then((e=>({status:d,url:A,headers:u,data:e}))).catch((r=>{if(r instanceof g.RequestError)throw r;else if(r.name==="AbortError")throw r;let n=r.message;if(r.name==="TypeError"&&"cause"in r){if(r.cause instanceof Error){n=r.cause.message}else if(typeof r.cause==="string"){n=r.cause}}throw new g.RequestError(n,500,{request:e})}))}async function getResponseData(e){const r=e.headers.get("content-type");if(/application\/json/.test(r)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!r||/^text\/|charset=utf-8$/.test(r)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;let r;if("documentation_url"in e){r=` - ${e.documentation_url}`}else{r=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${r}`}return`${e.message}${r}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,r){const n=e.defaults(r);const newApi=function(e,r){const s=n.merge(e,r);if(!s.request||!s.request.hook){return fetchWrapper(n.parse(s))}const request2=(e,r)=>fetchWrapper(n.parse(n.merge(e,r)));Object.assign(request2,{endpoint:n,defaults:withDefaults.bind(null,n)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:n,defaults:withDefaults.bind(null,n)})}var m=withDefaults(d.endpoint,{headers:{"user-agent":`octokit-request.js/${h} ${(0,A.getUserAgent)()}`}});0&&0},97112:(e,r,n)=>{var s=n(15251);var i=n(92479);var o=n(65394);var c=Function.bind;var u=c.bind(c);function bindApi(e,r,n){var s=u(o,null).apply(null,n?[r,n]:[r]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((function(s){var o=n?[r,s,n]:[r,s];e[s]=e.api[s]=u(i,null).apply(null,o)}))}function HookSingular(){var e="h";var r={registry:{}};var n=s.bind(null,r,e);bindApi(n,r,e);return n}function HookCollection(){var e={registry:{}};var r=s.bind(null,e);bindApi(r,e);return r}var d=false;function Hook(){if(!d){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');d=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},92479:e=>{e.exports=addHook;function addHook(e,r,n,s){var i=s;if(!e.registry[n]){e.registry[n]=[]}if(r==="before"){s=function(e,r){return Promise.resolve().then(i.bind(null,r)).then(e.bind(null,r))}}if(r==="after"){s=function(e,r){var n;return Promise.resolve().then(e.bind(null,r)).then((function(e){n=e;return i(n,r)})).then((function(){return n}))}}if(r==="error"){s=function(e,r){return Promise.resolve().then(e.bind(null,r)).catch((function(e){return i(e,r)}))}}e.registry[n].push({hook:s,orig:i})}},15251:e=>{e.exports=register;function register(e,r,n,s){if(typeof n!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(r)){return r.reverse().reduce((function(r,n){return register.bind(null,e,n,r,s)}),n)()}return Promise.resolve().then((function(){if(!e.registry[r]){return n(s)}return e.registry[r].reduce((function(e,r){return r.hook.bind(null,e,s)}),n)()}))}},65394:e=>{e.exports=removeHook;function removeHook(e,r,n){if(!e.registry[r]){return}var s=e.registry[r].map((function(e){return e.orig})).indexOf(n);if(s===-1){return}e.registry[r].splice(s,1)}},52887:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}r.getUserAgent=getUserAgent},75364:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TypeCompiler=r.Policy=r.TypeCompilerTypeGuardError=r.TypeCompilerUnknownTypeError=r.TypeCheck=void 0;const s=n(50038);const i=n(65507);const o=n(82129);const c=n(26113);const u=n(40886);const d=n(7210);const A=n(97034);const h=n(51786);const g=n(73373);const m=n(82486);const y=n(54025);const E=n(17479);const _=n(70384);class TypeCheck{constructor(e,r,n,i){this.schema=e;this.references=r;this.checkFunc=n;this.code=i;this.hasTransform=(0,s.HasTransform)(e,r)}Code(){return this.code}Errors(e){return(0,i.Errors)(this.schema,this.references,e)}Check(e){return this.checkFunc(e)}Decode(e){if(!this.checkFunc(e))throw new s.TransformDecodeCheckError(this.schema,e,this.Errors(e).First());return this.hasTransform?(0,s.TransformDecode)(this.schema,this.references,e):e}Encode(e){const r=this.hasTransform?(0,s.TransformEncode)(this.schema,this.references,e):e;if(!this.checkFunc(r))throw new s.TransformEncodeCheckError(this.schema,e,this.Errors(e).First());return r}}r.TypeCheck=TypeCheck;var b;(function(e){function DollarSign(e){return e===36}e.DollarSign=DollarSign;function IsUnderscore(e){return e===95}e.IsUnderscore=IsUnderscore;function IsAlpha(e){return e>=65&&e<=90||e>=97&&e<=122}e.IsAlpha=IsAlpha;function IsNumeric(e){return e>=48&&e<=57}e.IsNumeric=IsNumeric})(b||(b={}));var I;(function(e){function IsFirstCharacterNumeric(e){if(e.length===0)return false;return b.IsNumeric(e.charCodeAt(0))}function IsAccessor(e){if(IsFirstCharacterNumeric(e))return false;for(let r=0;r= ${e.minItems}`;const o=CreateExpression(e.items,r,"value");yield`${n}.every((${s}) => ${o})`;if((0,_.IsSchema)(e.contains)||(0,E.IsNumber)(e.minContains)||(0,E.IsNumber)(e.maxContains)){const o=(0,_.IsSchema)(e.contains)?e.contains:(0,y.Never)();const c=CreateExpression(o,r,"value");const u=(0,E.IsNumber)(e.minContains)?[`(count >= ${e.minContains})`]:[];const d=(0,E.IsNumber)(e.maxContains)?[`(count <= ${e.maxContains})`]:[];const A=`const count = value.reduce((${i}, ${s}) => ${c} ? acc + 1 : acc, 0)`;const h=[`(count > 0)`,...u,...d].join(" && ");yield`((${s}) => { ${A}; return ${h}})(${n})`}if(e.uniqueItems===true){const e=`const hashed = hash(element); if(set.has(hashed)) { return false } else { set.add(hashed) } } return true`;const r=`const set = new Set(); for(const element of value) { ${e} }`;yield`((${s}) => { ${r} )(${n})`}}function*FromAsyncIterator(e,r,n){yield`(typeof value === 'object' && Symbol.asyncIterator in ${n})`}function*FromBigInt(e,r,n){yield`(typeof ${n} === 'bigint')`;if((0,E.IsBigInt)(e.exclusiveMaximum))yield`${n} < BigInt(${e.exclusiveMaximum})`;if((0,E.IsBigInt)(e.exclusiveMinimum))yield`${n} > BigInt(${e.exclusiveMinimum})`;if((0,E.IsBigInt)(e.maximum))yield`${n} <= BigInt(${e.maximum})`;if((0,E.IsBigInt)(e.minimum))yield`${n} >= BigInt(${e.minimum})`;if((0,E.IsBigInt)(e.multipleOf))yield`(${n} % BigInt(${e.multipleOf})) === 0`}function*FromBoolean(e,r,n){yield`(typeof ${n} === 'boolean')`}function*FromConstructor(e,r,n){yield*Visit(e.returns,r,`${n}.prototype`)}function*FromDate(e,r,n){yield`(${n} instanceof Date) && Number.isFinite(${n}.getTime())`;if((0,E.IsNumber)(e.exclusiveMaximumTimestamp))yield`${n}.getTime() < ${e.exclusiveMaximumTimestamp}`;if((0,E.IsNumber)(e.exclusiveMinimumTimestamp))yield`${n}.getTime() > ${e.exclusiveMinimumTimestamp}`;if((0,E.IsNumber)(e.maximumTimestamp))yield`${n}.getTime() <= ${e.maximumTimestamp}`;if((0,E.IsNumber)(e.minimumTimestamp))yield`${n}.getTime() >= ${e.minimumTimestamp}`;if((0,E.IsNumber)(e.multipleOfTimestamp))yield`(${n}.getTime() % ${e.multipleOfTimestamp}) === 0`}function*FromFunction(e,r,n){yield`(typeof ${n} === 'function')`}function*FromInteger(e,r,n){yield`Number.isInteger(${n})`;if((0,E.IsNumber)(e.exclusiveMaximum))yield`${n} < ${e.exclusiveMaximum}`;if((0,E.IsNumber)(e.exclusiveMinimum))yield`${n} > ${e.exclusiveMinimum}`;if((0,E.IsNumber)(e.maximum))yield`${n} <= ${e.maximum}`;if((0,E.IsNumber)(e.minimum))yield`${n} >= ${e.minimum}`;if((0,E.IsNumber)(e.multipleOf))yield`(${n} % ${e.multipleOf}) === 0`}function*FromIntersect(e,r,n){const s=e.allOf.map((e=>CreateExpression(e,r,n))).join(" && ");if(e.unevaluatedProperties===false){const r=CreateVariable(`${new RegExp((0,g.KeyOfPattern)(e))};`);const i=`Object.getOwnPropertyNames(${n}).every(key => ${r}.test(key))`;yield`(${s} && ${i})`}else if((0,_.IsSchema)(e.unevaluatedProperties)){const i=CreateVariable(`${new RegExp((0,g.KeyOfPattern)(e))};`);const o=`Object.getOwnPropertyNames(${n}).every(key => ${i}.test(key) || ${CreateExpression(e.unevaluatedProperties,r,`${n}[key]`)})`;yield`(${s} && ${o})`}else{yield`(${s})`}}function*FromIterator(e,r,n){yield`(typeof value === 'object' && Symbol.iterator in ${n})`}function*FromLiteral(e,r,n){if(typeof e.const==="number"||typeof e.const==="boolean"){yield`(${n} === ${e.const})`}else{yield`(${n} === '${C.Escape(e.const)}')`}}function*FromNever(e,r,n){yield`false`}function*FromNot(e,r,n){const s=CreateExpression(e.not,r,n);yield`(!${s})`}function*FromNull(e,r,n){yield`(${n} === null)`}function*FromNumber(e,r,n){yield w.IsNumberLike(n);if((0,E.IsNumber)(e.exclusiveMaximum))yield`${n} < ${e.exclusiveMaximum}`;if((0,E.IsNumber)(e.exclusiveMinimum))yield`${n} > ${e.exclusiveMinimum}`;if((0,E.IsNumber)(e.maximum))yield`${n} <= ${e.maximum}`;if((0,E.IsNumber)(e.minimum))yield`${n} >= ${e.minimum}`;if((0,E.IsNumber)(e.multipleOf))yield`(${n} % ${e.multipleOf}) === 0`}function*FromObject(e,r,n){yield w.IsObjectLike(n);if((0,E.IsNumber)(e.minProperties))yield`Object.getOwnPropertyNames(${n}).length >= ${e.minProperties}`;if((0,E.IsNumber)(e.maxProperties))yield`Object.getOwnPropertyNames(${n}).length <= ${e.maxProperties}`;const s=Object.getOwnPropertyNames(e.properties);for(const i of s){const s=I.Encode(n,i);const o=e.properties[i];if(e.required&&e.required.includes(i)){yield*Visit(o,r,s);if((0,m.ExtendsUndefinedCheck)(o)||IsAnyOrUnknown(o))yield`('${i}' in ${n})`}else{const e=CreateExpression(o,r,s);yield w.IsExactOptionalProperty(n,i,e)}}if(e.additionalProperties===false){if(e.required&&e.required.length===s.length){yield`Object.getOwnPropertyNames(${n}).length === ${s.length}`}else{const e=`[${s.map((e=>`'${e}'`)).join(", ")}]`;yield`Object.getOwnPropertyNames(${n}).every(key => ${e}.includes(key))`}}if(typeof e.additionalProperties==="object"){const i=CreateExpression(e.additionalProperties,r,`${n}[key]`);const o=`[${s.map((e=>`'${e}'`)).join(", ")}]`;yield`(Object.getOwnPropertyNames(${n}).every(key => ${o}.includes(key) || ${i}))`}}function*FromPromise(e,r,n){yield`(typeof value === 'object' && typeof ${n}.then === 'function')`}function*FromRecord(e,r,n){yield w.IsRecordLike(n);if((0,E.IsNumber)(e.minProperties))yield`Object.getOwnPropertyNames(${n}).length >= ${e.minProperties}`;if((0,E.IsNumber)(e.maxProperties))yield`Object.getOwnPropertyNames(${n}).length <= ${e.maxProperties}`;const[s,i]=Object.entries(e.patternProperties)[0];const o=CreateVariable(`${new RegExp(s)}`);const c=CreateExpression(i,r,"value");const u=(0,_.IsSchema)(e.additionalProperties)?CreateExpression(e.additionalProperties,r,n):e.additionalProperties===false?"false":"true";const d=`(${o}.test(key) ? ${c} : ${u})`;yield`(Object.entries(${n}).every(([key, value]) => ${d}))`}function*FromRef(e,n,s){const i=(0,u.Deref)(e,n);if(r.functions.has(e.$ref))return yield`${CreateFunctionName(e.$ref)}(${s})`;yield*Visit(i,n,s)}function*FromRegExp(e,r,n){const s=CreateVariable(`${new RegExp(e.source,e.flags)};`);yield`(typeof ${n} === 'string')`;if((0,E.IsNumber)(e.maxLength))yield`${n}.length <= ${e.maxLength}`;if((0,E.IsNumber)(e.minLength))yield`${n}.length >= ${e.minLength}`;yield`${s}.test(${n})`}function*FromString(e,r,n){yield`(typeof ${n} === 'string')`;if((0,E.IsNumber)(e.maxLength))yield`${n}.length <= ${e.maxLength}`;if((0,E.IsNumber)(e.minLength))yield`${n}.length >= ${e.minLength}`;if(e.pattern!==undefined){const r=CreateVariable(`${new RegExp(e.pattern)};`);yield`${r}.test(${n})`}if(e.format!==undefined){yield`format('${e.format}', ${n})`}}function*FromSymbol(e,r,n){yield`(typeof ${n} === 'symbol')`}function*FromTemplateLiteral(e,r,n){yield`(typeof ${n} === 'string')`;const s=CreateVariable(`${new RegExp(e.pattern)};`);yield`${s}.test(${n})`}function*FromThis(e,r,n){yield`${CreateFunctionName(e.$ref)}(${n})`}function*FromTuple(e,r,n){yield`Array.isArray(${n})`;if(e.items===undefined)return yield`${n}.length === 0`;yield`(${n}.length === ${e.maxItems})`;for(let s=0;sCreateExpression(e,r,n)));yield`(${s.join(" || ")})`}function*FromUint8Array(e,r,n){yield`${n} instanceof Uint8Array`;if((0,E.IsNumber)(e.maxByteLength))yield`(${n}.length <= ${e.maxByteLength})`;if((0,E.IsNumber)(e.minByteLength))yield`(${n}.length >= ${e.minByteLength})`}function*FromUnknown(e,r,n){yield"true"}function*FromVoid(e,r,n){yield w.IsVoidLike(n)}function*FromKind(e,n,s){const i=r.instances.size;r.instances.set(i,e);yield`kind('${e[A.Kind]}', ${i}, ${s})`}function*Visit(e,n,s,i=true){const o=(0,E.IsString)(e.$id)?[...n,e]:n;const c=e;if(i&&(0,E.IsString)(e.$id)){const i=CreateFunctionName(e.$id);if(r.functions.has(i)){return yield`${i}(${s})`}else{const o=CreateFunction(i,e,n,"value",false);r.functions.set(i,o);return yield`${i}(${s})`}}switch(c[A.Kind]){case"Any":return yield*FromAny(c,o,s);case"Array":return yield*FromArray(c,o,s);case"AsyncIterator":return yield*FromAsyncIterator(c,o,s);case"BigInt":return yield*FromBigInt(c,o,s);case"Boolean":return yield*FromBoolean(c,o,s);case"Constructor":return yield*FromConstructor(c,o,s);case"Date":return yield*FromDate(c,o,s);case"Function":return yield*FromFunction(c,o,s);case"Integer":return yield*FromInteger(c,o,s);case"Intersect":return yield*FromIntersect(c,o,s);case"Iterator":return yield*FromIterator(c,o,s);case"Literal":return yield*FromLiteral(c,o,s);case"Never":return yield*FromNever(c,o,s);case"Not":return yield*FromNot(c,o,s);case"Null":return yield*FromNull(c,o,s);case"Number":return yield*FromNumber(c,o,s);case"Object":return yield*FromObject(c,o,s);case"Promise":return yield*FromPromise(c,o,s);case"Record":return yield*FromRecord(c,o,s);case"Ref":return yield*FromRef(c,o,s);case"RegExp":return yield*FromRegExp(c,o,s);case"String":return yield*FromString(c,o,s);case"Symbol":return yield*FromSymbol(c,o,s);case"TemplateLiteral":return yield*FromTemplateLiteral(c,o,s);case"This":return yield*FromThis(c,o,s);case"Tuple":return yield*FromTuple(c,o,s);case"Undefined":return yield*FromUndefined(c,o,s);case"Union":return yield*FromUnion(c,o,s);case"Uint8Array":return yield*FromUint8Array(c,o,s);case"Unknown":return yield*FromUnknown(c,o,s);case"Void":return yield*FromVoid(c,o,s);default:if(!h.TypeRegistry.Has(c[A.Kind]))throw new TypeCompilerUnknownTypeError(e);return yield*FromKind(c,o,s)}}const r={language:"javascript",functions:new Map,variables:new Map,instances:new Map};function CreateExpression(e,r,n,s=true){return`(${[...Visit(e,r,n,s)].join(" && ")})`}function CreateFunctionName(e){return`check_${v.Encode(e)}`}function CreateVariable(e){const n=`local_${r.variables.size}`;r.variables.set(n,`const ${n} = ${e}`);return n}function CreateFunction(e,r,n,s,i=true){const[o,c]=["\n",e=>"".padStart(e," ")];const u=CreateParameter("value","any");const d=CreateReturns("boolean");const A=[...Visit(r,n,s,i)].map((e=>`${c(4)}${e}`)).join(` &&${o}`);return`function ${e}(${u})${d} {${o}${c(2)}return (${o}${A}${o}${c(2)})\n}`}function CreateParameter(e,n){const s=r.language==="typescript"?`: ${n}`:"";return`${e}${s}`}function CreateReturns(e){return r.language==="typescript"?`: ${e}`:""}function Build(e,n,s){const i=CreateFunction("check",e,n,"value");const o=CreateParameter("value","any");const c=CreateReturns("boolean");const u=[...r.functions.values()];const d=[...r.variables.values()];const A=(0,E.IsString)(e.$id)?`return function check(${o})${c} {\n return ${CreateFunctionName(e.$id)}(value)\n}`:`return ${i}`;return[...d,...u,A].join("\n")}function Code(...e){const n={language:"javascript"};const[s,i,o]=e.length===2&&(0,E.IsArray)(e[1])?[e[0],e[1],n]:e.length===2&&!(0,E.IsArray)(e[1])?[e[0],[],e[1]]:e.length===3?[e[0],e[1],e[2]]:e.length===1?[e[0],[],n]:[null,[],n];r.language=o.language;r.variables.clear();r.functions.clear();r.instances.clear();if(!(0,_.IsSchema)(s))throw new TypeCompilerTypeGuardError(s);for(const e of i)if(!(0,_.IsSchema)(e))throw new TypeCompilerTypeGuardError(e);return Build(s,i,o)}e.Code=Code;function Compile(e,n=[]){const s=Code(e,n,{language:"javascript"});const i=globalThis.Function("kind","format","hash",s);const o=new Map(r.instances);function typeRegistryFunction(e,r,n){if(!h.TypeRegistry.Has(e)||!o.has(r))return false;const s=h.TypeRegistry.Get(e);const i=o.get(r);return s(i,n)}function formatRegistryFunction(e,r){if(!h.FormatRegistry.Has(e))return false;const n=h.FormatRegistry.Get(e);return n(r)}function hashFunction(e){return(0,d.Hash)(e)}const c=i(typeRegistryFunction,formatRegistryFunction,hashFunction);return new TypeCheck(e,n,c,s)}e.Compile=Compile})(B||(r.TypeCompiler=B={}))},25269:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.ValueErrorIterator=r.ValueErrorType=void 0;var o=n(65507);Object.defineProperty(r,"ValueErrorType",{enumerable:true,get:function(){return o.ValueErrorType}});Object.defineProperty(r,"ValueErrorIterator",{enumerable:true,get:function(){return o.ValueErrorIterator}});i(n(75364),r)},91660:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Errors=r.ValueErrorIterator=r.ValueErrorsUnknownTypeError=r.ValueErrorType=void 0;const s=n(82129);const i=n(73373);const o=n(51786);const c=n(82486);const u=n(84039);const d=n(26113);const A=n(40886);const h=n(7210);const g=n(97034);const m=n(54025);const y=n(17479);var E;(function(e){e[e["ArrayContains"]=0]="ArrayContains";e[e["ArrayMaxContains"]=1]="ArrayMaxContains";e[e["ArrayMaxItems"]=2]="ArrayMaxItems";e[e["ArrayMinContains"]=3]="ArrayMinContains";e[e["ArrayMinItems"]=4]="ArrayMinItems";e[e["ArrayUniqueItems"]=5]="ArrayUniqueItems";e[e["Array"]=6]="Array";e[e["AsyncIterator"]=7]="AsyncIterator";e[e["BigIntExclusiveMaximum"]=8]="BigIntExclusiveMaximum";e[e["BigIntExclusiveMinimum"]=9]="BigIntExclusiveMinimum";e[e["BigIntMaximum"]=10]="BigIntMaximum";e[e["BigIntMinimum"]=11]="BigIntMinimum";e[e["BigIntMultipleOf"]=12]="BigIntMultipleOf";e[e["BigInt"]=13]="BigInt";e[e["Boolean"]=14]="Boolean";e[e["DateExclusiveMaximumTimestamp"]=15]="DateExclusiveMaximumTimestamp";e[e["DateExclusiveMinimumTimestamp"]=16]="DateExclusiveMinimumTimestamp";e[e["DateMaximumTimestamp"]=17]="DateMaximumTimestamp";e[e["DateMinimumTimestamp"]=18]="DateMinimumTimestamp";e[e["DateMultipleOfTimestamp"]=19]="DateMultipleOfTimestamp";e[e["Date"]=20]="Date";e[e["Function"]=21]="Function";e[e["IntegerExclusiveMaximum"]=22]="IntegerExclusiveMaximum";e[e["IntegerExclusiveMinimum"]=23]="IntegerExclusiveMinimum";e[e["IntegerMaximum"]=24]="IntegerMaximum";e[e["IntegerMinimum"]=25]="IntegerMinimum";e[e["IntegerMultipleOf"]=26]="IntegerMultipleOf";e[e["Integer"]=27]="Integer";e[e["IntersectUnevaluatedProperties"]=28]="IntersectUnevaluatedProperties";e[e["Intersect"]=29]="Intersect";e[e["Iterator"]=30]="Iterator";e[e["Kind"]=31]="Kind";e[e["Literal"]=32]="Literal";e[e["Never"]=33]="Never";e[e["Not"]=34]="Not";e[e["Null"]=35]="Null";e[e["NumberExclusiveMaximum"]=36]="NumberExclusiveMaximum";e[e["NumberExclusiveMinimum"]=37]="NumberExclusiveMinimum";e[e["NumberMaximum"]=38]="NumberMaximum";e[e["NumberMinimum"]=39]="NumberMinimum";e[e["NumberMultipleOf"]=40]="NumberMultipleOf";e[e["Number"]=41]="Number";e[e["ObjectAdditionalProperties"]=42]="ObjectAdditionalProperties";e[e["ObjectMaxProperties"]=43]="ObjectMaxProperties";e[e["ObjectMinProperties"]=44]="ObjectMinProperties";e[e["ObjectRequiredProperty"]=45]="ObjectRequiredProperty";e[e["Object"]=46]="Object";e[e["Promise"]=47]="Promise";e[e["RegExp"]=48]="RegExp";e[e["StringFormatUnknown"]=49]="StringFormatUnknown";e[e["StringFormat"]=50]="StringFormat";e[e["StringMaxLength"]=51]="StringMaxLength";e[e["StringMinLength"]=52]="StringMinLength";e[e["StringPattern"]=53]="StringPattern";e[e["String"]=54]="String";e[e["Symbol"]=55]="Symbol";e[e["TupleLength"]=56]="TupleLength";e[e["Tuple"]=57]="Tuple";e[e["Uint8ArrayMaxByteLength"]=58]="Uint8ArrayMaxByteLength";e[e["Uint8ArrayMinByteLength"]=59]="Uint8ArrayMinByteLength";e[e["Uint8Array"]=60]="Uint8Array";e[e["Undefined"]=61]="Undefined";e[e["Union"]=62]="Union";e[e["Void"]=63]="Void"})(E||(r.ValueErrorType=E={}));class ValueErrorsUnknownTypeError extends d.TypeBoxError{constructor(e){super("Unknown type");this.schema=e}}r.ValueErrorsUnknownTypeError=ValueErrorsUnknownTypeError;function EscapeKey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function IsDefined(e){return e!==undefined}class ValueErrorIterator{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?undefined:e.value}}r.ValueErrorIterator=ValueErrorIterator;function Create(e,r,n,s){return{type:e,schema:r,path:n,value:s,message:(0,u.GetErrorFunction)()({errorType:e,path:n,schema:r,value:s})}}function*FromAny(e,r,n,s){}function*FromArray(e,r,n,s){if(!(0,y.IsArray)(s)){return yield Create(E.Array,e,n,s)}if(IsDefined(e.minItems)&&!(s.length>=e.minItems)){yield Create(E.ArrayMinItems,e,n,s)}if(IsDefined(e.maxItems)&&!(s.length<=e.maxItems)){yield Create(E.ArrayMaxItems,e,n,s)}for(let i=0;iVisit(i,r,`${n}${o}`,s).next().done===true?e+1:e),0);if(o===0){yield Create(E.ArrayContains,e,n,s)}if((0,y.IsNumber)(e.minContains)&&oe.maxContains){yield Create(E.ArrayMaxContains,e,n,s)}}function*FromAsyncIterator(e,r,n,s){if(!(0,y.IsAsyncIterator)(s))yield Create(E.AsyncIterator,e,n,s)}function*FromBigInt(e,r,n,s){if(!(0,y.IsBigInt)(s))return yield Create(E.BigInt,e,n,s);if(IsDefined(e.exclusiveMaximum)&&!(se.exclusiveMinimum)){yield Create(E.BigIntExclusiveMinimum,e,n,s)}if(IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(E.BigIntMaximum,e,n,s)}if(IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(E.BigIntMinimum,e,n,s)}if(IsDefined(e.multipleOf)&&!(s%e.multipleOf===BigInt(0))){yield Create(E.BigIntMultipleOf,e,n,s)}}function*FromBoolean(e,r,n,s){if(!(0,y.IsBoolean)(s))yield Create(E.Boolean,e,n,s)}function*FromConstructor(e,r,n,s){yield*Visit(e.returns,r,n,s.prototype)}function*FromDate(e,r,n,s){if(!(0,y.IsDate)(s))return yield Create(E.Date,e,n,s);if(IsDefined(e.exclusiveMaximumTimestamp)&&!(s.getTime()e.exclusiveMinimumTimestamp)){yield Create(E.DateExclusiveMinimumTimestamp,e,n,s)}if(IsDefined(e.maximumTimestamp)&&!(s.getTime()<=e.maximumTimestamp)){yield Create(E.DateMaximumTimestamp,e,n,s)}if(IsDefined(e.minimumTimestamp)&&!(s.getTime()>=e.minimumTimestamp)){yield Create(E.DateMinimumTimestamp,e,n,s)}if(IsDefined(e.multipleOfTimestamp)&&!(s.getTime()%e.multipleOfTimestamp===0)){yield Create(E.DateMultipleOfTimestamp,e,n,s)}}function*FromFunction(e,r,n,s){if(!(0,y.IsFunction)(s))yield Create(E.Function,e,n,s)}function*FromInteger(e,r,n,s){if(!(0,y.IsInteger)(s))return yield Create(E.Integer,e,n,s);if(IsDefined(e.exclusiveMaximum)&&!(se.exclusiveMinimum)){yield Create(E.IntegerExclusiveMinimum,e,n,s)}if(IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(E.IntegerMaximum,e,n,s)}if(IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(E.IntegerMinimum,e,n,s)}if(IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(E.IntegerMultipleOf,e,n,s)}}function*FromIntersect(e,r,n,s){for(const i of e.allOf){const o=Visit(i,r,n,s).next();if(!o.done){yield Create(E.Intersect,e,n,s);yield o.value}}if(e.unevaluatedProperties===false){const r=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(s)){if(!r.test(i)){yield Create(E.IntersectUnevaluatedProperties,e,`${n}/${i}`,s)}}}if(typeof e.unevaluatedProperties==="object"){const o=new RegExp((0,i.KeyOfPattern)(e));for(const i of Object.getOwnPropertyNames(s)){if(!o.test(i)){const o=Visit(e.unevaluatedProperties,r,`${n}/${i}`,s[i]).next();if(!o.done)yield o.value}}}}function*FromIterator(e,r,n,s){if(!(0,y.IsIterator)(s))yield Create(E.Iterator,e,n,s)}function*FromLiteral(e,r,n,s){if(!(s===e.const))yield Create(E.Literal,e,n,s)}function*FromNever(e,r,n,s){yield Create(E.Never,e,n,s)}function*FromNot(e,r,n,s){if(Visit(e.not,r,n,s).next().done===true)yield Create(E.Not,e,n,s)}function*FromNull(e,r,n,s){if(!(0,y.IsNull)(s))yield Create(E.Null,e,n,s)}function*FromNumber(e,r,n,i){if(!s.TypeSystemPolicy.IsNumberLike(i))return yield Create(E.Number,e,n,i);if(IsDefined(e.exclusiveMaximum)&&!(ie.exclusiveMinimum)){yield Create(E.NumberExclusiveMinimum,e,n,i)}if(IsDefined(e.maximum)&&!(i<=e.maximum)){yield Create(E.NumberMaximum,e,n,i)}if(IsDefined(e.minimum)&&!(i>=e.minimum)){yield Create(E.NumberMinimum,e,n,i)}if(IsDefined(e.multipleOf)&&!(i%e.multipleOf===0)){yield Create(E.NumberMultipleOf,e,n,i)}}function*FromObject(e,r,n,i){if(!s.TypeSystemPolicy.IsObjectLike(i))return yield Create(E.Object,e,n,i);if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(i).length>=e.minProperties)){yield Create(E.ObjectMinProperties,e,n,i)}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(i).length<=e.maxProperties)){yield Create(E.ObjectMaxProperties,e,n,i)}const o=Array.isArray(e.required)?e.required:[];const u=Object.getOwnPropertyNames(e.properties);const d=Object.getOwnPropertyNames(i);for(const r of o){if(d.includes(r))continue;yield Create(E.ObjectRequiredProperty,e.properties[r],`${n}/${EscapeKey(r)}`,undefined)}if(e.additionalProperties===false){for(const r of d){if(!u.includes(r)){yield Create(E.ObjectAdditionalProperties,e,`${n}/${EscapeKey(r)}`,i[r])}}}if(typeof e.additionalProperties==="object"){for(const s of d){if(u.includes(s))continue;yield*Visit(e.additionalProperties,r,`${n}/${EscapeKey(s)}`,i[s])}}for(const o of u){const u=e.properties[o];if(e.required&&e.required.includes(o)){yield*Visit(u,r,`${n}/${EscapeKey(o)}`,i[o]);if((0,c.ExtendsUndefinedCheck)(e)&&!(o in i)){yield Create(E.ObjectRequiredProperty,u,`${n}/${EscapeKey(o)}`,undefined)}}else{if(s.TypeSystemPolicy.IsExactOptionalProperty(i,o)){yield*Visit(u,r,`${n}/${EscapeKey(o)}`,i[o])}}}}function*FromPromise(e,r,n,s){if(!(0,y.IsPromise)(s))yield Create(E.Promise,e,n,s)}function*FromRecord(e,r,n,i){if(!s.TypeSystemPolicy.IsRecordLike(i))return yield Create(E.Object,e,n,i);if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(i).length>=e.minProperties)){yield Create(E.ObjectMinProperties,e,n,i)}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(i).length<=e.maxProperties)){yield Create(E.ObjectMaxProperties,e,n,i)}const[o,c]=Object.entries(e.patternProperties)[0];const u=new RegExp(o);for(const[e,s]of Object.entries(i)){if(u.test(e))yield*Visit(c,r,`${n}/${EscapeKey(e)}`,s)}if(typeof e.additionalProperties==="object"){for(const[s,o]of Object.entries(i)){if(!u.test(s))yield*Visit(e.additionalProperties,r,`${n}/${EscapeKey(s)}`,o)}}if(e.additionalProperties===false){for(const[r,s]of Object.entries(i)){if(u.test(r))continue;return yield Create(E.ObjectAdditionalProperties,e,`${n}/${EscapeKey(r)}`,s)}}}function*FromRef(e,r,n,s){yield*Visit((0,A.Deref)(e,r),r,n,s)}function*FromRegExp(e,r,n,s){if(!(0,y.IsString)(s))return yield Create(E.String,e,n,s);if(IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(E.StringMinLength,e,n,s)}if(IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(E.StringMaxLength,e,n,s)}const i=new RegExp(e.source,e.flags);if(!i.test(s)){return yield Create(E.RegExp,e,n,s)}}function*FromString(e,r,n,s){if(!(0,y.IsString)(s))return yield Create(E.String,e,n,s);if(IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(E.StringMinLength,e,n,s)}if(IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(E.StringMaxLength,e,n,s)}if((0,y.IsString)(e.pattern)){const r=new RegExp(e.pattern);if(!r.test(s)){yield Create(E.StringPattern,e,n,s)}}if((0,y.IsString)(e.format)){if(!o.FormatRegistry.Has(e.format)){yield Create(E.StringFormatUnknown,e,n,s)}else{const r=o.FormatRegistry.Get(e.format);if(!r(s)){yield Create(E.StringFormat,e,n,s)}}}}function*FromSymbol(e,r,n,s){if(!(0,y.IsSymbol)(s))yield Create(E.Symbol,e,n,s)}function*FromTemplateLiteral(e,r,n,s){if(!(0,y.IsString)(s))return yield Create(E.String,e,n,s);const i=new RegExp(e.pattern);if(!i.test(s)){yield Create(E.StringPattern,e,n,s)}}function*FromThis(e,r,n,s){yield*Visit((0,A.Deref)(e,r),r,n,s)}function*FromTuple(e,r,n,s){if(!(0,y.IsArray)(s))return yield Create(E.Tuple,e,n,s);if(e.items===undefined&&!(s.length===0)){return yield Create(E.TupleLength,e,n,s)}if(!(s.length===e.maxItems)){return yield Create(E.TupleLength,e,n,s)}if(!e.items){return}for(let i=0;i0){yield Create(E.Union,e,n,s)}}function*FromUint8Array(e,r,n,s){if(!(0,y.IsUint8Array)(s))return yield Create(E.Uint8Array,e,n,s);if(IsDefined(e.maxByteLength)&&!(s.length<=e.maxByteLength)){yield Create(E.Uint8ArrayMaxByteLength,e,n,s)}if(IsDefined(e.minByteLength)&&!(s.length>=e.minByteLength)){yield Create(E.Uint8ArrayMinByteLength,e,n,s)}}function*FromUnknown(e,r,n,s){}function*FromVoid(e,r,n,i){if(!s.TypeSystemPolicy.IsVoidLike(i))yield Create(E.Void,e,n,i)}function*FromKind(e,r,n,s){const i=o.TypeRegistry.Get(e[g.Kind]);if(!i(e,s))yield Create(E.Kind,e,n,s)}function*Visit(e,r,n,s){const i=IsDefined(e.$id)?[...r,e]:r;const c=e;switch(c[g.Kind]){case"Any":return yield*FromAny(c,i,n,s);case"Array":return yield*FromArray(c,i,n,s);case"AsyncIterator":return yield*FromAsyncIterator(c,i,n,s);case"BigInt":return yield*FromBigInt(c,i,n,s);case"Boolean":return yield*FromBoolean(c,i,n,s);case"Constructor":return yield*FromConstructor(c,i,n,s);case"Date":return yield*FromDate(c,i,n,s);case"Function":return yield*FromFunction(c,i,n,s);case"Integer":return yield*FromInteger(c,i,n,s);case"Intersect":return yield*FromIntersect(c,i,n,s);case"Iterator":return yield*FromIterator(c,i,n,s);case"Literal":return yield*FromLiteral(c,i,n,s);case"Never":return yield*FromNever(c,i,n,s);case"Not":return yield*FromNot(c,i,n,s);case"Null":return yield*FromNull(c,i,n,s);case"Number":return yield*FromNumber(c,i,n,s);case"Object":return yield*FromObject(c,i,n,s);case"Promise":return yield*FromPromise(c,i,n,s);case"Record":return yield*FromRecord(c,i,n,s);case"Ref":return yield*FromRef(c,i,n,s);case"RegExp":return yield*FromRegExp(c,i,n,s);case"String":return yield*FromString(c,i,n,s);case"Symbol":return yield*FromSymbol(c,i,n,s);case"TemplateLiteral":return yield*FromTemplateLiteral(c,i,n,s);case"This":return yield*FromThis(c,i,n,s);case"Tuple":return yield*FromTuple(c,i,n,s);case"Undefined":return yield*FromUndefined(c,i,n,s);case"Union":return yield*FromUnion(c,i,n,s);case"Uint8Array":return yield*FromUint8Array(c,i,n,s);case"Unknown":return yield*FromUnknown(c,i,n,s);case"Void":return yield*FromVoid(c,i,n,s);default:if(!o.TypeRegistry.Has(c[g.Kind]))throw new ValueErrorsUnknownTypeError(e);return yield*FromKind(c,i,n,s)}}function Errors(...e){const r=e.length===3?Visit(e[0],e[1],"",e[2]):Visit(e[0],[],"",e[1]);return new ValueErrorIterator(r)}r.Errors=Errors},84039:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.GetErrorFunction=r.SetErrorFunction=r.DefaultErrorFunction=void 0;const s=n(97034);const i=n(91660);function DefaultErrorFunction(e){switch(e.errorType){case i.ValueErrorType.ArrayContains:return"Expected array to contain at least one matching value";case i.ValueErrorType.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case i.ValueErrorType.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case i.ValueErrorType.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case i.ValueErrorType.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case i.ValueErrorType.ArrayUniqueItems:return"Expected array elements to be unique";case i.ValueErrorType.Array:return"Expected array";case i.ValueErrorType.AsyncIterator:return"Expected AsyncIterator";case i.ValueErrorType.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.BigInt:return"Expected bigint";case i.ValueErrorType.Boolean:return"Expected boolean";case i.ValueErrorType.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case i.ValueErrorType.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case i.ValueErrorType.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case i.ValueErrorType.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case i.ValueErrorType.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case i.ValueErrorType.Date:return"Expected Date";case i.ValueErrorType.Function:return"Expected function";case i.ValueErrorType.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Integer:return"Expected integer";case i.ValueErrorType.IntersectUnevaluatedProperties:return"Unexpected property";case i.ValueErrorType.Intersect:return"Expected all values to match";case i.ValueErrorType.Iterator:return"Expected Iterator";case i.ValueErrorType.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case i.ValueErrorType.Never:return"Never";case i.ValueErrorType.Not:return"Value should not match";case i.ValueErrorType.Null:return"Expected null";case i.ValueErrorType.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case i.ValueErrorType.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case i.ValueErrorType.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case i.ValueErrorType.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case i.ValueErrorType.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case i.ValueErrorType.Number:return"Expected number";case i.ValueErrorType.Object:return"Expected object";case i.ValueErrorType.ObjectAdditionalProperties:return"Unexpected property";case i.ValueErrorType.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case i.ValueErrorType.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case i.ValueErrorType.ObjectRequiredProperty:return"Required property";case i.ValueErrorType.Promise:return"Expected Promise";case i.ValueErrorType.RegExp:return"Expected string to match regular expression";case i.ValueErrorType.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case i.ValueErrorType.StringFormat:return`Expected string to match '${e.schema.format}' format`;case i.ValueErrorType.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case i.ValueErrorType.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case i.ValueErrorType.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case i.ValueErrorType.String:return"Expected string";case i.ValueErrorType.Symbol:return"Expected symbol";case i.ValueErrorType.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case i.ValueErrorType.Tuple:return"Expected tuple";case i.ValueErrorType.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case i.ValueErrorType.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case i.ValueErrorType.Uint8Array:return"Expected Uint8Array";case i.ValueErrorType.Undefined:return"Expected undefined";case i.ValueErrorType.Union:return"Expected union value";case i.ValueErrorType.Void:return"Expected void";case i.ValueErrorType.Kind:return`Expected kind '${e.schema[s.Kind]}'`;default:return"Unknown error type"}}r.DefaultErrorFunction=DefaultErrorFunction;let o=DefaultErrorFunction;function SetErrorFunction(e){o=e}r.SetErrorFunction=SetErrorFunction;function GetErrorFunction(){return o}r.GetErrorFunction=GetErrorFunction},65507:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(91660),r);i(n(84039),r)},14019:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(91769),r);i(n(26113),r);i(n(64754),r);i(n(57782),r);i(n(94354),r);i(n(51786),r);i(n(12760),r);i(n(97034),r);i(n(36813),r);i(n(17186),r);i(n(68092),r);i(n(85164),r);i(n(13278),r);i(n(64515),r);i(n(80788),r);i(n(19236),r);i(n(16939),r);i(n(58562),r);i(n(49305),r);i(n(911),r);i(n(98056),r);i(n(41153),r);i(n(94850),r);i(n(69682),r);i(n(29857),r);i(n(86918),r);i(n(26277),r);i(n(4949),r);i(n(62746),r);i(n(35907),r);i(n(30568),r);i(n(73373),r);i(n(98076),r);i(n(41094),r);i(n(54025),r);i(n(1078),r);i(n(50468),r);i(n(85544),r);i(n(62094),r);i(n(88932),r);i(n(38425),r);i(n(30449),r);i(n(53345),r);i(n(40640),r);i(n(70062),r);i(n(40675),r);i(n(78946),r);i(n(30420),r);i(n(33107),r);i(n(80470),r);i(n(26936),r);i(n(42744),r);i(n(83003),r);i(n(32970),r);i(n(68954),r);i(n(60343),r);i(n(23556),r);i(n(81688),r);i(n(2129),r);i(n(26609),r);i(n(67575),r);i(n(7521),r);i(n(45760),r);i(n(96231),r);i(n(69100),r);i(n(51897),r);i(n(23339),r);i(n(81947),r);i(n(68237),r)},82129:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(17755),r);i(n(15912),r)},17755:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TypeSystemPolicy=void 0;const s=n(17479);var i;(function(e){e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(r,n){return e.ExactOptionalPropertyTypes?n in r:r[n]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(r){const n=(0,s.IsObject)(r);return e.AllowArrayObject?n:n&&!(0,s.IsArray)(r)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(r){return e.AllowNaN?(0,s.IsNumber)(r):Number.isFinite(r)}e.IsNumberLike=IsNumberLike;function IsVoidLike(r){const n=(0,s.IsUndefined)(r);return e.AllowNullVoid?n||r===null:n}e.IsVoidLike=IsVoidLike})(i||(r.TypeSystemPolicy=i={}))},15912:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TypeSystem=r.TypeSystemDuplicateFormat=r.TypeSystemDuplicateTypeKind=void 0;const s=n(51786);const i=n(23339);const o=n(97034);const c=n(26113);class TypeSystemDuplicateTypeKind extends c.TypeBoxError{constructor(e){super(`Duplicate type kind '${e}' detected`)}}r.TypeSystemDuplicateTypeKind=TypeSystemDuplicateTypeKind;class TypeSystemDuplicateFormat extends c.TypeBoxError{constructor(e){super(`Duplicate string format '${e}' detected`)}}r.TypeSystemDuplicateFormat=TypeSystemDuplicateFormat;var u;(function(e){function Type(e,r){if(s.TypeRegistry.Has(e))throw new TypeSystemDuplicateTypeKind(e);s.TypeRegistry.Set(e,r);return(r={})=>(0,i.Unsafe)({...r,[o.Kind]:e})}e.Type=Type;function Format(e,r){if(s.FormatRegistry.Has(e))throw new TypeSystemDuplicateFormat(e);s.FormatRegistry.Set(e,r);return e}e.Format=Format})(u||(r.TypeSystem=u={}))},57815:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Any=void 0;const s=n(97034);function Any(e={}){return{...e,[s.Kind]:"Any"}}r.Any=Any},36813:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(57815),r)},45311:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Array=void 0;const s=n(38100);const i=n(97034);function Array(e,r={}){return{...r,[i.Kind]:"Array",type:"array",items:(0,s.CloneType)(e)}}r.Array=Array},17186:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(45311),r)},15007:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.AsyncIterator=void 0;const s=n(97034);const i=n(38100);function AsyncIterator(e,r={}){return{...r,[s.Kind]:"AsyncIterator",type:"AsyncIterator",items:(0,i.CloneType)(e)}}r.AsyncIterator=AsyncIterator},68092:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(15007),r)},68263:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Awaited=void 0;const s=n(62746);const i=n(69100);const o=n(38100);const c=n(96994);function FromRest(e){return e.map((e=>AwaitedResolve(e)))}function FromIntersect(e){return(0,s.Intersect)(FromRest(e))}function FromUnion(e){return(0,i.Union)(FromRest(e))}function FromPromise(e){return AwaitedResolve(e)}function AwaitedResolve(e){return(0,c.IsIntersect)(e)?FromIntersect(e.allOf):(0,c.IsUnion)(e)?FromUnion(e.anyOf):(0,c.IsPromise)(e)?FromPromise(e.item):e}function Awaited(e,r={}){return(0,o.CloneType)(AwaitedResolve(e),r)}r.Awaited=Awaited},85164:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(68263),r)},9495:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.BigInt=void 0;const s=n(97034);function BigInt(e={}){return{...e,[s.Kind]:"BigInt",type:"bigint"}}r.BigInt=BigInt},13278:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(9495),r)},53715:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Boolean=void 0;const s=n(97034);function Boolean(e={}){return{...e,[s.Kind]:"Boolean",type:"boolean"}}r.Boolean=Boolean},64515:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(53715),r)},91769:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(38100),r);i(n(80387),r)},38100:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.CloneType=r.CloneRest=void 0;const s=n(80387);function CloneRest(e){return e.map((e=>CloneType(e)))}r.CloneRest=CloneRest;function CloneType(e,r={}){return{...(0,s.Clone)(e),...r}}r.CloneType=CloneType},80387:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Clone=void 0;const s=n(13415);function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const r={};for(const n of Object.getOwnPropertyNames(e)){r[n]=Visit(e[n])}for(const n of Object.getOwnPropertySymbols(e)){r[n]=Visit(e[n])}return r}function Visit(e){return s.IsArray(e)?ArrayType(e):s.IsDate(e)?DateType(e):s.IsUint8Array(e)?Uint8ArrayType(e):s.IsRegExp(e)?RegExpType(e):s.IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}r.Clone=Clone},67263:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Composite=void 0;const s=n(62746);const i=n(86918);const o=n(73373);const c=n(62094);const u=n(12760);const d=n(96994);function CompositeKeys(e){const r=[];for(const n of e)r.push(...(0,o.KeyOfPropertyKeys)(n));return(0,u.SetDistinct)(r)}function FilterNever(e){return e.filter((e=>!(0,d.IsNever)(e)))}function CompositeProperty(e,r){const n=[];for(const s of e)n.push(...(0,i.IndexFromPropertyKeys)(s,[r]));return FilterNever(n)}function CompositeProperties(e,r){const n={};for(const i of r){n[i]=(0,s.IntersectEvaluated)(CompositeProperty(e,i))}return n}function Composite(e,r={}){const n=CompositeKeys(e);const s=CompositeProperties(e,n);const i=(0,c.Object)(s,r);return i}r.Composite=Composite},80788:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(67263),r)},54191:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Const=void 0;const s=n(36813);const i=n(13278);const o=n(49305);const c=n(29857);const u=n(98076);const d=n(50468);const A=n(62094);const h=n(2129);const g=n(7521);const m=n(40675);const y=n(96231);const E=n(45760);const _=n(51897);const b=n(91769);const I=n(13415);function FromArray(e){return e.map((e=>FromValue(e,false)))}function FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=(0,m.Readonly)(FromValue(e[n],false));return r}function ConditionalReadonly(e,r){return r===true?e:(0,m.Readonly)(e)}function FromValue(e,r){return(0,I.IsAsyncIterator)(e)?ConditionalReadonly((0,s.Any)(),r):(0,I.IsIterator)(e)?ConditionalReadonly((0,s.Any)(),r):(0,I.IsArray)(e)?(0,m.Readonly)((0,g.Tuple)(FromArray(e))):(0,I.IsUint8Array)(e)?(0,E.Uint8Array)():(0,I.IsDate)(e)?(0,o.Date)():(0,I.IsObject)(e)?ConditionalReadonly((0,A.Object)(FromProperties(e)),r):(0,I.IsFunction)(e)?ConditionalReadonly((0,c.Function)([],(0,_.Unknown)()),r):(0,I.IsUndefined)(e)?(0,y.Undefined)():(0,I.IsNull)(e)?(0,d.Null)():(0,I.IsSymbol)(e)?(0,h.Symbol)():(0,I.IsBigInt)(e)?(0,i.BigInt)():(0,I.IsNumber)(e)?(0,u.Literal)(e):(0,I.IsBoolean)(e)?(0,u.Literal)(e):(0,I.IsString)(e)?(0,u.Literal)(e):(0,A.Object)({})}function Const(e,r={}){return(0,b.CloneType)(FromValue(e,true),r)}r.Const=Const},19236:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(54191),r)},96127:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConstructorParameters=void 0;const s=n(7521);const i=n(38100);function ConstructorParameters(e,r={}){return(0,s.Tuple)((0,i.CloneRest)(e.parameters),{...r})}r.ConstructorParameters=ConstructorParameters},58562:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(96127),r)},89035:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Constructor=void 0;const s=n(38100);const i=n(97034);function Constructor(e,r,n){return{...n,[i.Kind]:"Constructor",type:"Constructor",parameters:(0,s.CloneRest)(e),returns:(0,s.CloneType)(r)}}r.Constructor=Constructor},16939:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(89035),r)},7617:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Date=void 0;const s=n(97034);function Date(e={}){return{...e,[s.Kind]:"Date",type:"Date"}}r.Date=Date},49305:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(7617),r)},79911:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Deref=void 0;const s=n(38100);const i=n(83889);const o=n(13415);const c=n(96994);function FromRest(e,r){return e.map((e=>Deref(e,r)))}function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e)){n[s]=Deref(e[s],r)}return n}function FromConstructor(e,r){e.parameters=FromRest(e.parameters,r);e.returns=Deref(e.returns,r);return e}function FromFunction(e,r){e.parameters=FromRest(e.parameters,r);e.returns=Deref(e.returns,r);return e}function FromIntersect(e,r){e.allOf=FromRest(e.allOf,r);return e}function FromUnion(e,r){e.anyOf=FromRest(e.anyOf,r);return e}function FromTuple(e,r){if((0,o.IsUndefined)(e.items))return e;e.items=FromRest(e.items,r);return e}function FromArray(e,r){e.items=Deref(e.items,r);return e}function FromObject(e,r){e.properties=FromProperties(e.properties,r);return e}function FromPromise(e,r){e.item=Deref(e.item,r);return e}function FromAsyncIterator(e,r){e.items=Deref(e.items,r);return e}function FromIterator(e,r){e.items=Deref(e.items,r);return e}function FromRef(e,r){const n=r.find((r=>r.$id===e.$ref));if(n===undefined)throw Error(`Unable to dereference schema with $id ${e.$ref}`);const s=(0,i.Discard)(n,["$id"]);return Deref(s,r)}function DerefResolve(e,r){return(0,c.IsConstructor)(e)?FromConstructor(e,r):(0,c.IsFunction)(e)?FromFunction(e,r):(0,c.IsIntersect)(e)?FromIntersect(e,r):(0,c.IsUnion)(e)?FromUnion(e,r):(0,c.IsTuple)(e)?FromTuple(e,r):(0,c.IsArray)(e)?FromArray(e,r):(0,c.IsObject)(e)?FromObject(e,r):(0,c.IsPromise)(e)?FromPromise(e,r):(0,c.IsAsyncIterator)(e)?FromAsyncIterator(e,r):(0,c.IsIterator)(e)?FromIterator(e,r):(0,c.IsRef)(e)?FromRef(e,r):e}function Deref(e,r){return DerefResolve((0,s.CloneType)(e),(0,s.CloneRest)(r))}r.Deref=Deref},911:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(79911),r)},8147:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Discard=void 0;function DiscardKey(e,r){const{[r]:n,...s}=e;return s}function Discard(e,r){return r.reduce(((e,r)=>DiscardKey(e,r)),e)}r.Discard=Discard},83889:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(8147),r)},77991:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Enum=void 0;const s=n(98076);const i=n(97034);const o=n(69100);const c=n(13415);function Enum(e,r={}){if((0,c.IsUndefined)(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((r=>e[r]));const u=[...new Set(n)];const d=u.map((e=>(0,s.Literal)(e)));return(0,o.Union)(d,{...r,[i.Hint]:"Enum"})}r.Enum=Enum},98056:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(77991),r)},85523:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.TypeBoxError=void 0;class TypeBoxError extends Error{constructor(e){super(e)}}r.TypeBoxError=TypeBoxError},26113:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(85523),r)},92094:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExcludeFromMappedResult=void 0;const s=n(41094);const i=n(63651);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Exclude)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function ExcludeFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.ExcludeFromMappedResult=ExcludeFromMappedResult},9505:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExcludeFromTemplateLiteral=void 0;const s=n(63651);const i=n(26609);function ExcludeFromTemplateLiteral(e,r){return(0,s.Exclude)((0,i.TemplateLiteralToUnion)(e),r)}r.ExcludeFromTemplateLiteral=ExcludeFromTemplateLiteral},63651:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Exclude=void 0;const s=n(69100);const i=n(54025);const o=n(94850);const c=n(38100);const u=n(92094);const d=n(9505);const A=n(96994);function ExcludeRest(e,r){const n=e.filter((e=>(0,o.ExtendsCheck)(e,r)===o.ExtendsResult.False));return n.length===1?n[0]:(0,s.Union)(n)}function Exclude(e,r,n={}){if((0,A.IsTemplateLiteral)(e))return(0,c.CloneType)((0,d.ExcludeFromTemplateLiteral)(e,r),n);if((0,A.IsMappedResult)(e))return(0,c.CloneType)((0,u.ExcludeFromMappedResult)(e,r),n);return(0,c.CloneType)((0,A.IsUnion)(e)?ExcludeRest(e.anyOf,r):(0,o.ExtendsCheck)(e,r)!==o.ExtendsResult.False?(0,i.Never)():e,n)}r.Exclude=Exclude},41153:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(92094),r);i(n(9505),r);i(n(63651),r)},18410:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtendsCheck=r.ExtendsResult=r.ExtendsResolverError=void 0;const s=n(36813);const i=n(29857);const o=n(85544);const c=n(81688);const u=n(51897);const d=n(26609);const A=n(94354);const h=n(97034);const g=n(26113);const m=n(64754);class ExtendsResolverError extends g.TypeBoxError{}r.ExtendsResolverError=ExtendsResolverError;var y;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(y||(r.ExtendsResult=y={}));function IntoBooleanResult(e){return e===y.False?e:y.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return m.TypeGuard.IsNever(e)||m.TypeGuard.IsIntersect(e)||m.TypeGuard.IsUnion(e)||m.TypeGuard.IsUnknown(e)||m.TypeGuard.IsAny(e)}function StructuralRight(e,r){return m.TypeGuard.IsNever(r)?FromNeverRight(e,r):m.TypeGuard.IsIntersect(r)?FromIntersectRight(e,r):m.TypeGuard.IsUnion(r)?FromUnionRight(e,r):m.TypeGuard.IsUnknown(r)?FromUnknownRight(e,r):m.TypeGuard.IsAny(r)?FromAnyRight(e,r):Throw("StructuralRight")}function FromAnyRight(e,r){return y.True}function FromAny(e,r){return m.TypeGuard.IsIntersect(r)?FromIntersectRight(e,r):m.TypeGuard.IsUnion(r)&&r.anyOf.some((e=>m.TypeGuard.IsAny(e)||m.TypeGuard.IsUnknown(e)))?y.True:m.TypeGuard.IsUnion(r)?y.Union:m.TypeGuard.IsUnknown(r)?y.True:m.TypeGuard.IsAny(r)?y.True:y.Union}function FromArrayRight(e,r){return m.TypeGuard.IsUnknown(e)?y.False:m.TypeGuard.IsAny(e)?y.Union:m.TypeGuard.IsNever(e)?y.True:y.False}function FromArray(e,r){return m.TypeGuard.IsObject(r)&&IsObjectArrayLike(r)?y.True:IsStructuralRight(r)?StructuralRight(e,r):!m.TypeGuard.IsArray(r)?y.False:IntoBooleanResult(Visit(e.items,r.items))}function FromAsyncIterator(e,r){return IsStructuralRight(r)?StructuralRight(e,r):!m.TypeGuard.IsAsyncIterator(r)?y.False:IntoBooleanResult(Visit(e.items,r.items))}function FromBigInt(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsBigInt(r)?y.True:y.False}function FromBooleanRight(e,r){return m.TypeGuard.IsLiteralBoolean(e)?y.True:m.TypeGuard.IsBoolean(e)?y.True:y.False}function FromBoolean(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsBoolean(r)?y.True:y.False}function FromConstructor(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):!m.TypeGuard.IsConstructor(r)?y.False:e.parameters.length>r.parameters.length?y.False:!e.parameters.every(((e,n)=>IntoBooleanResult(Visit(r.parameters[n],e))===y.True))?y.False:IntoBooleanResult(Visit(e.returns,r.returns))}function FromDate(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsDate(r)?y.True:y.False}function FromFunction(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):!m.TypeGuard.IsFunction(r)?y.False:e.parameters.length>r.parameters.length?y.False:!e.parameters.every(((e,n)=>IntoBooleanResult(Visit(r.parameters[n],e))===y.True))?y.False:IntoBooleanResult(Visit(e.returns,r.returns))}function FromIntegerRight(e,r){return m.TypeGuard.IsLiteral(e)&&m.ValueGuard.IsNumber(e.const)?y.True:m.TypeGuard.IsNumber(e)||m.TypeGuard.IsInteger(e)?y.True:y.False}function FromInteger(e,r){return m.TypeGuard.IsInteger(r)||m.TypeGuard.IsNumber(r)?y.True:IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):y.False}function FromIntersectRight(e,r){return r.allOf.every((r=>Visit(e,r)===y.True))?y.True:y.False}function FromIntersect(e,r){return e.allOf.some((e=>Visit(e,r)===y.True))?y.True:y.False}function FromIterator(e,r){return IsStructuralRight(r)?StructuralRight(e,r):!m.TypeGuard.IsIterator(r)?y.False:IntoBooleanResult(Visit(e.items,r.items))}function FromLiteral(e,r){return m.TypeGuard.IsLiteral(r)&&r.const===e.const?y.True:IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsString(r)?FromStringRight(e,r):m.TypeGuard.IsNumber(r)?FromNumberRight(e,r):m.TypeGuard.IsInteger(r)?FromIntegerRight(e,r):m.TypeGuard.IsBoolean(r)?FromBooleanRight(e,r):y.False}function FromNeverRight(e,r){return y.False}function FromNever(e,r){return y.True}function UnwrapTNot(e){let[r,n]=[e,0];while(true){if(!m.TypeGuard.IsNot(r))break;r=r.not;n+=1}return n%2===0?r:(0,u.Unknown)()}function FromNot(e,r){return m.TypeGuard.IsNot(e)?Visit(UnwrapTNot(e),r):m.TypeGuard.IsNot(r)?Visit(e,UnwrapTNot(r)):Throw("Invalid fallthrough for Not")}function FromNull(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsNull(r)?y.True:y.False}function FromNumberRight(e,r){return m.TypeGuard.IsLiteralNumber(e)?y.True:m.TypeGuard.IsNumber(e)||m.TypeGuard.IsInteger(e)?y.True:y.False}function FromNumber(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsInteger(r)||m.TypeGuard.IsNumber(r)?y.True:y.False}function IsObjectPropertyCount(e,r){return Object.getOwnPropertyNames(e.properties).length===r}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&m.TypeGuard.IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(m.TypeGuard.IsString(e.properties.description.anyOf[0])&&m.TypeGuard.IsUndefined(e.properties.description.anyOf[1])||m.TypeGuard.IsString(e.properties.description.anyOf[1])&&m.TypeGuard.IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const r=(0,o.Number)();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(Visit(e.properties["length"],r))===y.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const r=(0,o.Number)();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(Visit(e.properties["length"],r))===y.True}function IsObjectPromiseLike(e){const r=(0,i.Function)([(0,s.Any)()],(0,s.Any)());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(Visit(e.properties["then"],r))===y.True}function Property(e,r){return Visit(e,r)===y.False?y.False:m.TypeGuard.IsOptional(e)&&!m.TypeGuard.IsOptional(r)?y.False:y.True}function FromObjectRight(e,r){return m.TypeGuard.IsUnknown(e)?y.False:m.TypeGuard.IsAny(e)?y.Union:m.TypeGuard.IsNever(e)||m.TypeGuard.IsLiteralString(e)&&IsObjectStringLike(r)||m.TypeGuard.IsLiteralNumber(e)&&IsObjectNumberLike(r)||m.TypeGuard.IsLiteralBoolean(e)&&IsObjectBooleanLike(r)||m.TypeGuard.IsSymbol(e)&&IsObjectSymbolLike(r)||m.TypeGuard.IsBigInt(e)&&IsObjectBigIntLike(r)||m.TypeGuard.IsString(e)&&IsObjectStringLike(r)||m.TypeGuard.IsSymbol(e)&&IsObjectSymbolLike(r)||m.TypeGuard.IsNumber(e)&&IsObjectNumberLike(r)||m.TypeGuard.IsInteger(e)&&IsObjectNumberLike(r)||m.TypeGuard.IsBoolean(e)&&IsObjectBooleanLike(r)||m.TypeGuard.IsUint8Array(e)&&IsObjectUint8ArrayLike(r)||m.TypeGuard.IsDate(e)&&IsObjectDateLike(r)||m.TypeGuard.IsConstructor(e)&&IsObjectConstructorLike(r)||m.TypeGuard.IsFunction(e)&&IsObjectFunctionLike(r)?y.True:m.TypeGuard.IsRecord(e)&&m.TypeGuard.IsString(RecordKey(e))?(()=>r[h.Hint]==="Record"?y.True:y.False)():m.TypeGuard.IsRecord(e)&&m.TypeGuard.IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(r,0)?y.True:y.False)():y.False}function FromObject(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):!m.TypeGuard.IsObject(r)?y.False:(()=>{for(const n of Object.getOwnPropertyNames(r.properties)){if(!(n in e.properties)&&!m.TypeGuard.IsOptional(r.properties[n])){return y.False}if(m.TypeGuard.IsOptional(r.properties[n])){return y.True}if(Property(e.properties[n],r.properties[n])===y.False){return y.False}}return y.True})()}function FromPromise(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)&&IsObjectPromiseLike(r)?y.True:!m.TypeGuard.IsPromise(r)?y.False:IntoBooleanResult(Visit(e.item,r.item))}function RecordKey(e){return A.PatternNumberExact in e.patternProperties?(0,o.Number)():A.PatternStringExact in e.patternProperties?(0,c.String)():Throw("Unknown record key pattern")}function RecordValue(e){return A.PatternNumberExact in e.patternProperties?e.patternProperties[A.PatternNumberExact]:A.PatternStringExact in e.patternProperties?e.patternProperties[A.PatternStringExact]:Throw("Unable to get record value schema")}function FromRecordRight(e,r){const[n,s]=[RecordKey(r),RecordValue(r)];return m.TypeGuard.IsLiteralString(e)&&m.TypeGuard.IsNumber(n)&&IntoBooleanResult(Visit(e,s))===y.True?y.True:m.TypeGuard.IsUint8Array(e)&&m.TypeGuard.IsNumber(n)?Visit(e,s):m.TypeGuard.IsString(e)&&m.TypeGuard.IsNumber(n)?Visit(e,s):m.TypeGuard.IsArray(e)&&m.TypeGuard.IsNumber(n)?Visit(e,s):m.TypeGuard.IsObject(e)?(()=>{for(const r of Object.getOwnPropertyNames(e.properties)){if(Property(s,e.properties[r])===y.False){return y.False}}return y.True})():y.False}function FromRecord(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):!m.TypeGuard.IsRecord(r)?y.False:Visit(RecordValue(e),RecordValue(r))}function FromRegExp(e,r){const n=m.TypeGuard.IsRegExp(e)?(0,c.String)():e;const s=m.TypeGuard.IsRegExp(r)?(0,c.String)():r;return Visit(n,s)}function FromStringRight(e,r){return m.TypeGuard.IsLiteral(e)&&m.ValueGuard.IsString(e.const)?y.True:m.TypeGuard.IsString(e)?y.True:y.False}function FromString(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsString(r)?y.True:y.False}function FromSymbol(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsSymbol(r)?y.True:y.False}function FromTemplateLiteral(e,r){return m.TypeGuard.IsTemplateLiteral(e)?Visit((0,d.TemplateLiteralToUnion)(e),r):m.TypeGuard.IsTemplateLiteral(r)?Visit(e,(0,d.TemplateLiteralToUnion)(r)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,r){return m.TypeGuard.IsArray(r)&&e.items!==undefined&&e.items.every((e=>Visit(e,r.items)===y.True))}function FromTupleRight(e,r){return m.TypeGuard.IsNever(e)?y.True:m.TypeGuard.IsUnknown(e)?y.False:m.TypeGuard.IsAny(e)?y.Union:y.False}function FromTuple(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)&&IsObjectArrayLike(r)?y.True:m.TypeGuard.IsArray(r)&&IsArrayOfTuple(e,r)?y.True:!m.TypeGuard.IsTuple(r)?y.False:m.ValueGuard.IsUndefined(e.items)&&!m.ValueGuard.IsUndefined(r.items)||!m.ValueGuard.IsUndefined(e.items)&&m.ValueGuard.IsUndefined(r.items)?y.False:m.ValueGuard.IsUndefined(e.items)&&!m.ValueGuard.IsUndefined(r.items)?y.True:e.items.every(((e,n)=>Visit(e,r.items[n])===y.True))?y.True:y.False}function FromUint8Array(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsUint8Array(r)?y.True:y.False}function FromUndefined(e,r){return IsStructuralRight(r)?StructuralRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsRecord(r)?FromRecordRight(e,r):m.TypeGuard.IsVoid(r)?FromVoidRight(e,r):m.TypeGuard.IsUndefined(r)?y.True:y.False}function FromUnionRight(e,r){return r.anyOf.some((r=>Visit(e,r)===y.True))?y.True:y.False}function FromUnion(e,r){return e.anyOf.every((e=>Visit(e,r)===y.True))?y.True:y.False}function FromUnknownRight(e,r){return y.True}function FromUnknown(e,r){return m.TypeGuard.IsNever(r)?FromNeverRight(e,r):m.TypeGuard.IsIntersect(r)?FromIntersectRight(e,r):m.TypeGuard.IsUnion(r)?FromUnionRight(e,r):m.TypeGuard.IsAny(r)?FromAnyRight(e,r):m.TypeGuard.IsString(r)?FromStringRight(e,r):m.TypeGuard.IsNumber(r)?FromNumberRight(e,r):m.TypeGuard.IsInteger(r)?FromIntegerRight(e,r):m.TypeGuard.IsBoolean(r)?FromBooleanRight(e,r):m.TypeGuard.IsArray(r)?FromArrayRight(e,r):m.TypeGuard.IsTuple(r)?FromTupleRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsUnknown(r)?y.True:y.False}function FromVoidRight(e,r){return m.TypeGuard.IsUndefined(e)?y.True:m.TypeGuard.IsUndefined(e)?y.True:y.False}function FromVoid(e,r){return m.TypeGuard.IsIntersect(r)?FromIntersectRight(e,r):m.TypeGuard.IsUnion(r)?FromUnionRight(e,r):m.TypeGuard.IsUnknown(r)?FromUnknownRight(e,r):m.TypeGuard.IsAny(r)?FromAnyRight(e,r):m.TypeGuard.IsObject(r)?FromObjectRight(e,r):m.TypeGuard.IsVoid(r)?y.True:y.False}function Visit(e,r){return m.TypeGuard.IsTemplateLiteral(e)||m.TypeGuard.IsTemplateLiteral(r)?FromTemplateLiteral(e,r):m.TypeGuard.IsRegExp(e)||m.TypeGuard.IsRegExp(r)?FromRegExp(e,r):m.TypeGuard.IsNot(e)||m.TypeGuard.IsNot(r)?FromNot(e,r):m.TypeGuard.IsAny(e)?FromAny(e,r):m.TypeGuard.IsArray(e)?FromArray(e,r):m.TypeGuard.IsBigInt(e)?FromBigInt(e,r):m.TypeGuard.IsBoolean(e)?FromBoolean(e,r):m.TypeGuard.IsAsyncIterator(e)?FromAsyncIterator(e,r):m.TypeGuard.IsConstructor(e)?FromConstructor(e,r):m.TypeGuard.IsDate(e)?FromDate(e,r):m.TypeGuard.IsFunction(e)?FromFunction(e,r):m.TypeGuard.IsInteger(e)?FromInteger(e,r):m.TypeGuard.IsIntersect(e)?FromIntersect(e,r):m.TypeGuard.IsIterator(e)?FromIterator(e,r):m.TypeGuard.IsLiteral(e)?FromLiteral(e,r):m.TypeGuard.IsNever(e)?FromNever(e,r):m.TypeGuard.IsNull(e)?FromNull(e,r):m.TypeGuard.IsNumber(e)?FromNumber(e,r):m.TypeGuard.IsObject(e)?FromObject(e,r):m.TypeGuard.IsRecord(e)?FromRecord(e,r):m.TypeGuard.IsString(e)?FromString(e,r):m.TypeGuard.IsSymbol(e)?FromSymbol(e,r):m.TypeGuard.IsTuple(e)?FromTuple(e,r):m.TypeGuard.IsPromise(e)?FromPromise(e,r):m.TypeGuard.IsUint8Array(e)?FromUint8Array(e,r):m.TypeGuard.IsUndefined(e)?FromUndefined(e,r):m.TypeGuard.IsUnion(e)?FromUnion(e,r):m.TypeGuard.IsUnknown(e)?FromUnknown(e,r):m.TypeGuard.IsVoid(e)?FromVoid(e,r):Throw(`Unknown left type operand '${e[h.Kind]}'`)}function ExtendsCheck(e,r){return Visit(e,r)}r.ExtendsCheck=ExtendsCheck},83948:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtendsFromMappedKey=void 0;const s=n(41094);const i=n(98076);const o=n(34263);function FromPropertyKey(e,r,n,s,c){return{[e]:(0,o.Extends)((0,i.Literal)(e),r,n,s,c)}}function FromPropertyKeys(e,r,n,s,i){return e.reduce(((e,o)=>({...e,...FromPropertyKey(o,r,n,s,i)})),{})}function FromMappedKey(e,r,n,s,i){return FromPropertyKeys(e.keys,r,n,s,i)}function ExtendsFromMappedKey(e,r,n,i,o){const c=FromMappedKey(e,r,n,i,o);return(0,s.MappedResult)(c)}r.ExtendsFromMappedKey=ExtendsFromMappedKey},80338:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtendsFromMappedResult=void 0;const s=n(41094);const i=n(34263);function FromProperties(e,r,n,s,o){const c={};for(const u of globalThis.Object.getOwnPropertyNames(e))c[u]=(0,i.Extends)(e[u],r,n,s,o);return c}function FromMappedResult(e,r,n,s,i){return FromProperties(e.properties,r,n,s,i)}function ExtendsFromMappedResult(e,r,n,i,o){const c=FromMappedResult(e,r,n,i,o);return(0,s.MappedResult)(c)}r.ExtendsFromMappedResult=ExtendsFromMappedResult},82486:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtendsUndefinedCheck=void 0;const s=n(97034);function Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[s.Kind]==="Intersect"?Intersect(e):e[s.Kind]==="Union"?Union(e):e[s.Kind]==="Not"?Not(e):e[s.Kind]==="Undefined"?true:false}r.ExtendsUndefinedCheck=ExtendsUndefinedCheck},34263:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Extends=void 0;const s=n(69100);const i=n(18410);const o=n(38100);const c=n(83948);const u=n(80338);const d=n(96994);function ExtendsResolve(e,r,n,o){const c=(0,i.ExtendsCheck)(e,r);return c===i.ExtendsResult.Union?(0,s.Union)([n,o]):c===i.ExtendsResult.True?n:o}function Extends(e,r,n,s,i={}){return(0,d.IsMappedResult)(e)?(0,u.ExtendsFromMappedResult)(e,r,n,s,i):(0,d.IsMappedKey)(e)?(0,o.CloneType)((0,c.ExtendsFromMappedKey)(e,r,n,s,i)):(0,o.CloneType)(ExtendsResolve(e,r,n,s),i)}r.Extends=Extends},94850:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(18410),r);i(n(83948),r);i(n(80338),r);i(n(82486),r);i(n(34263),r)},70826:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtractFromMappedResult=void 0;const s=n(41094);const i=n(4847);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Extract)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function ExtractFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.ExtractFromMappedResult=ExtractFromMappedResult},50253:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ExtractFromTemplateLiteral=void 0;const s=n(4847);const i=n(26609);function ExtractFromTemplateLiteral(e,r){return(0,s.Extract)((0,i.TemplateLiteralToUnion)(e),r)}r.ExtractFromTemplateLiteral=ExtractFromTemplateLiteral},4847:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Extract=void 0;const s=n(69100);const i=n(54025);const o=n(94850);const c=n(38100);const u=n(70826);const d=n(50253);const A=n(96994);function ExtractRest(e,r){const n=e.filter((e=>(0,o.ExtendsCheck)(e,r)!==o.ExtendsResult.False));return n.length===1?n[0]:(0,s.Union)(n)}function Extract(e,r,n={}){if((0,A.IsTemplateLiteral)(e))return(0,c.CloneType)((0,d.ExtractFromTemplateLiteral)(e,r),n);if((0,A.IsMappedResult)(e))return(0,c.CloneType)((0,u.ExtractFromMappedResult)(e,r),n);return(0,c.CloneType)((0,A.IsUnion)(e)?ExtractRest(e.anyOf,r):(0,o.ExtendsCheck)(e,r)!==o.ExtendsResult.False?e:(0,i.Never)(),n)}r.Extract=Extract},69682:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(70826),r);i(n(50253),r);i(n(4847),r)},93649:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Function=void 0;const s=n(38100);const i=n(97034);function Function(e,r,n){return{...n,[i.Kind]:"Function",type:"Function",parameters:(0,s.CloneRest)(e),returns:(0,s.CloneType)(r)}}r.Function=Function},29857:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(93649),r)},64754:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ValueGuard=r.TypeGuard=r.KindGuard=void 0;r.KindGuard=n(96994);r.TypeGuard=n(70384);r.ValueGuard=n(13415)},96994:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IsSchema=r.IsKind=r.IsVoid=r.IsUnsafe=r.IsUnknown=r.IsUint8Array=r.IsUnion=r.IsUndefined=r.IsTuple=r.IsTransform=r.IsThis=r.IsTemplateLiteral=r.IsSymbol=r.IsString=r.IsRegExp=r.IsRef=r.IsRecursive=r.IsRecord=r.IsPromise=r.IsObject=r.IsNumber=r.IsNull=r.IsNot=r.IsNever=r.IsMappedResult=r.IsMappedKey=r.IsLiteral=r.IsLiteralBoolean=r.IsLiteralNumber=r.IsLiteralString=r.IsKindOf=r.IsIterator=r.IsIntersect=r.IsProperties=r.IsInteger=r.IsFunction=r.IsDate=r.IsConstructor=r.IsBoolean=r.IsBigInt=r.IsAsyncIterator=r.IsArray=r.IsAny=r.IsOptional=r.IsReadonly=void 0;const s=n(13415);const i=n(97034);function IsReadonly(e){return s.IsObject(e)&&e[i.ReadonlyKind]==="Readonly"}r.IsReadonly=IsReadonly;function IsOptional(e){return s.IsObject(e)&&e[i.OptionalKind]==="Optional"}r.IsOptional=IsOptional;function IsAny(e){return IsKindOf(e,"Any")}r.IsAny=IsAny;function IsArray(e){return IsKindOf(e,"Array")}r.IsArray=IsArray;function IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}r.IsAsyncIterator=IsAsyncIterator;function IsBigInt(e){return IsKindOf(e,"BigInt")}r.IsBigInt=IsBigInt;function IsBoolean(e){return IsKindOf(e,"Boolean")}r.IsBoolean=IsBoolean;function IsConstructor(e){return IsKindOf(e,"Constructor")}r.IsConstructor=IsConstructor;function IsDate(e){return IsKindOf(e,"Date")}r.IsDate=IsDate;function IsFunction(e){return IsKindOf(e,"Function")}r.IsFunction=IsFunction;function IsInteger(e){return IsKindOf(e,"Integer")}r.IsInteger=IsInteger;function IsProperties(e){return s.IsObject(e)}r.IsProperties=IsProperties;function IsIntersect(e){return IsKindOf(e,"Intersect")}r.IsIntersect=IsIntersect;function IsIterator(e){return IsKindOf(e,"Iterator")}r.IsIterator=IsIterator;function IsKindOf(e,r){return s.IsObject(e)&&i.Kind in e&&e[i.Kind]===r}r.IsKindOf=IsKindOf;function IsLiteralString(e){return IsLiteral(e)&&s.IsString(e.const)}r.IsLiteralString=IsLiteralString;function IsLiteralNumber(e){return IsLiteral(e)&&s.IsNumber(e.const)}r.IsLiteralNumber=IsLiteralNumber;function IsLiteralBoolean(e){return IsLiteral(e)&&s.IsBoolean(e.const)}r.IsLiteralBoolean=IsLiteralBoolean;function IsLiteral(e){return IsKindOf(e,"Literal")}r.IsLiteral=IsLiteral;function IsMappedKey(e){return IsKindOf(e,"MappedKey")}r.IsMappedKey=IsMappedKey;function IsMappedResult(e){return IsKindOf(e,"MappedResult")}r.IsMappedResult=IsMappedResult;function IsNever(e){return IsKindOf(e,"Never")}r.IsNever=IsNever;function IsNot(e){return IsKindOf(e,"Not")}r.IsNot=IsNot;function IsNull(e){return IsKindOf(e,"Null")}r.IsNull=IsNull;function IsNumber(e){return IsKindOf(e,"Number")}r.IsNumber=IsNumber;function IsObject(e){return IsKindOf(e,"Object")}r.IsObject=IsObject;function IsPromise(e){return IsKindOf(e,"Promise")}r.IsPromise=IsPromise;function IsRecord(e){return IsKindOf(e,"Record")}r.IsRecord=IsRecord;function IsRecursive(e){return s.IsObject(e)&&i.Hint in e&&e[i.Hint]==="Recursive"}r.IsRecursive=IsRecursive;function IsRef(e){return IsKindOf(e,"Ref")}r.IsRef=IsRef;function IsRegExp(e){return IsKindOf(e,"RegExp")}r.IsRegExp=IsRegExp;function IsString(e){return IsKindOf(e,"String")}r.IsString=IsString;function IsSymbol(e){return IsKindOf(e,"Symbol")}r.IsSymbol=IsSymbol;function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}r.IsTemplateLiteral=IsTemplateLiteral;function IsThis(e){return IsKindOf(e,"This")}r.IsThis=IsThis;function IsTransform(e){return s.IsObject(e)&&i.TransformKind in e}r.IsTransform=IsTransform;function IsTuple(e){return IsKindOf(e,"Tuple")}r.IsTuple=IsTuple;function IsUndefined(e){return IsKindOf(e,"Undefined")}r.IsUndefined=IsUndefined;function IsUnion(e){return IsKindOf(e,"Union")}r.IsUnion=IsUnion;function IsUint8Array(e){return IsKindOf(e,"Uint8Array")}r.IsUint8Array=IsUint8Array;function IsUnknown(e){return IsKindOf(e,"Unknown")}r.IsUnknown=IsUnknown;function IsUnsafe(e){return IsKindOf(e,"Unsafe")}r.IsUnsafe=IsUnsafe;function IsVoid(e){return IsKindOf(e,"Void")}r.IsVoid=IsVoid;function IsKind(e){return s.IsObject(e)&&i.Kind in e&&s.IsString(e[i.Kind])}r.IsKind=IsKind;function IsSchema(e){return IsAny(e)||IsArray(e)||IsBoolean(e)||IsBigInt(e)||IsAsyncIterator(e)||IsConstructor(e)||IsDate(e)||IsFunction(e)||IsInteger(e)||IsIntersect(e)||IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||IsNull(e)||IsNumber(e)||IsObject(e)||IsPromise(e)||IsRecord(e)||IsRef(e)||IsRegExp(e)||IsString(e)||IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||IsUndefined(e)||IsUnion(e)||IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}r.IsSchema=IsSchema},70384:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IsSchema=r.IsKind=r.IsVoid=r.IsUnsafe=r.IsUnknown=r.IsUint8Array=r.IsUnion=r.IsUnionLiteral=r.IsUndefined=r.IsTuple=r.IsTransform=r.IsThis=r.IsTemplateLiteral=r.IsSymbol=r.IsString=r.IsRegExp=r.IsRef=r.IsRecursive=r.IsRecord=r.IsPromise=r.IsObject=r.IsNumber=r.IsNull=r.IsNot=r.IsNever=r.IsMappedResult=r.IsMappedKey=r.IsLiteralValue=r.IsLiteral=r.IsLiteralBoolean=r.IsLiteralNumber=r.IsLiteralString=r.IsKindOf=r.IsIterator=r.IsIntersect=r.IsProperties=r.IsInteger=r.IsFunction=r.IsDate=r.IsConstructor=r.IsBoolean=r.IsBigInt=r.IsAsyncIterator=r.IsArray=r.IsAny=r.IsOptional=r.IsReadonly=r.TypeGuardUnknownTypeError=void 0;const s=n(13415);const i=n(97034);const o=n(26113);class TypeGuardUnknownTypeError extends o.TypeBoxError{}r.TypeGuardUnknownTypeError=TypeGuardUnknownTypeError;const c=["Any","Array","AsyncIterator","BigInt","Boolean","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!s.IsString(e))return false;for(let r=0;r=7&&n<=13||n===27||n===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||IsSchema(e)}function IsOptionalBigInt(e){return s.IsUndefined(e)||s.IsBigInt(e)}function IsOptionalNumber(e){return s.IsUndefined(e)||s.IsNumber(e)}function IsOptionalBoolean(e){return s.IsUndefined(e)||s.IsBoolean(e)}function IsOptionalString(e){return s.IsUndefined(e)||s.IsString(e)}function IsOptionalPattern(e){return s.IsUndefined(e)||s.IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return s.IsUndefined(e)||s.IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return s.IsUndefined(e)||IsSchema(e)}function IsReadonly(e){return s.IsObject(e)&&e[i.ReadonlyKind]==="Readonly"}r.IsReadonly=IsReadonly;function IsOptional(e){return s.IsObject(e)&&e[i.OptionalKind]==="Optional"}r.IsOptional=IsOptional;function IsAny(e){return IsKindOf(e,"Any")&&IsOptionalString(e.$id)}r.IsAny=IsAny;function IsArray(e){return IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}r.IsArray=IsArray;function IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&IsSchema(e.items)}r.IsAsyncIterator=IsAsyncIterator;function IsBigInt(e){return IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}r.IsBigInt=IsBigInt;function IsBoolean(e){return IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}r.IsBoolean=IsBoolean;function IsConstructor(e){return IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&s.IsArray(e.parameters)&&e.parameters.every((e=>IsSchema(e)))&&IsSchema(e.returns)}r.IsConstructor=IsConstructor;function IsDate(e){return IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}r.IsDate=IsDate;function IsFunction(e){return IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&s.IsArray(e.parameters)&&e.parameters.every((e=>IsSchema(e)))&&IsSchema(e.returns)}r.IsFunction=IsFunction;function IsInteger(e){return IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}r.IsInteger=IsInteger;function IsProperties(e){return s.IsObject(e)&&Object.entries(e).every((([e,r])=>IsControlCharacterFree(e)&&IsSchema(r)))}r.IsProperties=IsProperties;function IsIntersect(e){return IsKindOf(e,"Intersect")&&(s.IsString(e.type)&&e.type!=="object"?false:true)&&s.IsArray(e.allOf)&&e.allOf.every((e=>IsSchema(e)&&!IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}r.IsIntersect=IsIntersect;function IsIterator(e){return IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&IsSchema(e.items)}r.IsIterator=IsIterator;function IsKindOf(e,r){return s.IsObject(e)&&i.Kind in e&&e[i.Kind]===r}r.IsKindOf=IsKindOf;function IsLiteralString(e){return IsLiteral(e)&&s.IsString(e.const)}r.IsLiteralString=IsLiteralString;function IsLiteralNumber(e){return IsLiteral(e)&&s.IsNumber(e.const)}r.IsLiteralNumber=IsLiteralNumber;function IsLiteralBoolean(e){return IsLiteral(e)&&s.IsBoolean(e.const)}r.IsLiteralBoolean=IsLiteralBoolean;function IsLiteral(e){return IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&IsLiteralValue(e.const)}r.IsLiteral=IsLiteral;function IsLiteralValue(e){return s.IsBoolean(e)||s.IsNumber(e)||s.IsString(e)}r.IsLiteralValue=IsLiteralValue;function IsMappedKey(e){return IsKindOf(e,"MappedKey")&&s.IsArray(e.keys)&&e.keys.every((e=>s.IsNumber(e)||s.IsString(e)))}r.IsMappedKey=IsMappedKey;function IsMappedResult(e){return IsKindOf(e,"MappedResult")&&IsProperties(e.properties)}r.IsMappedResult=IsMappedResult;function IsNever(e){return IsKindOf(e,"Never")&&s.IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}r.IsNever=IsNever;function IsNot(e){return IsKindOf(e,"Not")&&IsSchema(e.not)}r.IsNot=IsNot;function IsNull(e){return IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}r.IsNull=IsNull;function IsNumber(e){return IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}r.IsNumber=IsNumber;function IsObject(e){return IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}r.IsObject=IsObject;function IsPromise(e){return IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&IsSchema(e.item)}r.IsPromise=IsPromise;function IsRecord(e){return IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&s.IsObject(e.patternProperties)&&(e=>{const r=Object.getOwnPropertyNames(e.patternProperties);return r.length===1&&IsPattern(r[0])&&s.IsObject(e.patternProperties)&&IsSchema(e.patternProperties[r[0]])})(e)}r.IsRecord=IsRecord;function IsRecursive(e){return s.IsObject(e)&&i.Hint in e&&e[i.Hint]==="Recursive"}r.IsRecursive=IsRecursive;function IsRef(e){return IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&s.IsString(e.$ref)}r.IsRef=IsRef;function IsRegExp(e){return IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&s.IsString(e.source)&&s.IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}r.IsRegExp=IsRegExp;function IsString(e){return IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}r.IsString=IsString;function IsSymbol(e){return IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}r.IsSymbol=IsSymbol;function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&s.IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}r.IsTemplateLiteral=IsTemplateLiteral;function IsThis(e){return IsKindOf(e,"This")&&IsOptionalString(e.$id)&&s.IsString(e.$ref)}r.IsThis=IsThis;function IsTransform(e){return s.IsObject(e)&&i.TransformKind in e}r.IsTransform=IsTransform;function IsTuple(e){return IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&s.IsNumber(e.minItems)&&s.IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(s.IsUndefined(e.items)&&s.IsUndefined(e.additionalItems)&&e.minItems===0||s.IsArray(e.items)&&e.items.every((e=>IsSchema(e))))}r.IsTuple=IsTuple;function IsUndefined(e){return IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}r.IsUndefined=IsUndefined;function IsUnionLiteral(e){return IsUnion(e)&&e.anyOf.every((e=>IsLiteralString(e)||IsLiteralNumber(e)))}r.IsUnionLiteral=IsUnionLiteral;function IsUnion(e){return IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&s.IsObject(e)&&s.IsArray(e.anyOf)&&e.anyOf.every((e=>IsSchema(e)))}r.IsUnion=IsUnion;function IsUint8Array(e){return IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}r.IsUint8Array=IsUint8Array;function IsUnknown(e){return IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}r.IsUnknown=IsUnknown;function IsUnsafe(e){return IsKindOf(e,"Unsafe")}r.IsUnsafe=IsUnsafe;function IsVoid(e){return IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}r.IsVoid=IsVoid;function IsKind(e){return s.IsObject(e)&&i.Kind in e&&s.IsString(e[i.Kind])&&!c.includes(e[i.Kind])}r.IsKind=IsKind;function IsSchema(e){return s.IsObject(e)&&(IsAny(e)||IsArray(e)||IsBoolean(e)||IsBigInt(e)||IsAsyncIterator(e)||IsConstructor(e)||IsDate(e)||IsFunction(e)||IsInteger(e)||IsIntersect(e)||IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||IsNull(e)||IsNumber(e)||IsObject(e)||IsPromise(e)||IsRecord(e)||IsRef(e)||IsRegExp(e)||IsString(e)||IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||IsUndefined(e)||IsUnion(e)||IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e))}r.IsSchema=IsSchema},13415:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.IsUndefined=r.IsUint8Array=r.IsSymbol=r.IsString=r.IsRegExp=r.IsObject=r.IsNumber=r.IsNull=r.IsIterator=r.IsFunction=r.IsDate=r.IsBoolean=r.IsBigInt=r.IsArray=r.IsAsyncIterator=void 0;function IsAsyncIterator(e){return IsObject(e)&&!IsArray(e)&&!IsUint8Array(e)&&Symbol.asyncIterator in e}r.IsAsyncIterator=IsAsyncIterator;function IsArray(e){return Array.isArray(e)}r.IsArray=IsArray;function IsBigInt(e){return typeof e==="bigint"}r.IsBigInt=IsBigInt;function IsBoolean(e){return typeof e==="boolean"}r.IsBoolean=IsBoolean;function IsDate(e){return e instanceof globalThis.Date}r.IsDate=IsDate;function IsFunction(e){return typeof e==="function"}r.IsFunction=IsFunction;function IsIterator(e){return IsObject(e)&&!IsArray(e)&&!IsUint8Array(e)&&Symbol.iterator in e}r.IsIterator=IsIterator;function IsNull(e){return e===null}r.IsNull=IsNull;function IsNumber(e){return typeof e==="number"}r.IsNumber=IsNumber;function IsObject(e){return typeof e==="object"&&e!==null}r.IsObject=IsObject;function IsRegExp(e){return e instanceof globalThis.RegExp}r.IsRegExp=IsRegExp;function IsString(e){return typeof e==="string"}r.IsString=IsString;function IsSymbol(e){return typeof e==="symbol"}r.IsSymbol=IsSymbol;function IsUint8Array(e){return e instanceof globalThis.Uint8Array}r.IsUint8Array=IsUint8Array;function IsUndefined(e){return e===undefined}r.IsUndefined=IsUndefined},87943:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Increment=void 0;function Increment(e){return(parseInt(e)+1).toString()}r.Increment=Increment},57782:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(87943),r)},86918:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(66904),r);i(n(80494),r);i(n(65774),r);i(n(11795),r)},66904:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IndexFromMappedKey=void 0;const s=n(11795);const i=n(41094);function MappedIndexPropertyKey(e,r,n){return{[r]:(0,s.Index)(e,[r],n)}}function MappedIndexPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...MappedIndexPropertyKey(e,s,n)})),{})}function MappedIndexProperties(e,r,n){return MappedIndexPropertyKeys(e,r.keys,n)}function IndexFromMappedKey(e,r,n){const s=MappedIndexProperties(e,r,n);return(0,i.MappedResult)(s)}r.IndexFromMappedKey=IndexFromMappedKey},80494:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IndexFromMappedResult=void 0;const s=n(41094);const i=n(65774);const o=n(86918);function FromProperties(e,r,n){const s={};for(const c of Object.getOwnPropertyNames(r)){s[c]=(0,o.Index)(e,(0,i.IndexPropertyKeys)(r[c]),n)}return s}function FromMappedResult(e,r,n){return FromProperties(e,r.properties,n)}function IndexFromMappedResult(e,r,n){const i=FromMappedResult(e,r,n);return(0,s.MappedResult)(i)}r.IndexFromMappedResult=IndexFromMappedResult},65774:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IndexPropertyKeys=void 0;const s=n(26609);const i=n(96994);function FromTemplateLiteral(e){const r=(0,s.TemplateLiteralGenerate)(e);return r.map((e=>e.toString()))}function FromUnion(e){const r=[];for(const n of e)r.push(...IndexPropertyKeys(n));return r}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set((0,i.IsTemplateLiteral)(e)?FromTemplateLiteral(e):(0,i.IsUnion)(e)?FromUnion(e.anyOf):(0,i.IsLiteral)(e)?FromLiteral(e.const):(0,i.IsNumber)(e)?["[number]"]:(0,i.IsInteger)(e)?["[number]"]:[])]}r.IndexPropertyKeys=IndexPropertyKeys},11795:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Index=r.IndexFromPropertyKeys=r.IndexFromPropertyKey=void 0;const s=n(54025);const i=n(62746);const o=n(69100);const c=n(38100);const u=n(65774);const d=n(66904);const A=n(80494);const h=n(96994);function FromRest(e,r){return e.map((e=>IndexFromPropertyKey(e,r)))}function FromIntersectRest(e){return e.filter((e=>!(0,h.IsNever)(e)))}function FromIntersect(e,r){return(0,i.IntersectEvaluated)(FromIntersectRest(FromRest(e,r)))}function FromUnionRest(e){return e.some((e=>(0,h.IsNever)(e)))?[]:e}function FromUnion(e,r){return(0,o.UnionEvaluated)(FromUnionRest(FromRest(e,r)))}function FromTuple(e,r){return r in e?e[r]:r==="[number]"?(0,o.UnionEvaluated)(e):(0,s.Never)()}function FromArray(e,r){return r==="[number]"?e:(0,s.Never)()}function FromProperty(e,r){return r in e?e[r]:(0,s.Never)()}function IndexFromPropertyKey(e,r){return(0,h.IsIntersect)(e)?FromIntersect(e.allOf,r):(0,h.IsUnion)(e)?FromUnion(e.anyOf,r):(0,h.IsTuple)(e)?FromTuple(e.items??[],r):(0,h.IsArray)(e)?FromArray(e.items,r):(0,h.IsObject)(e)?FromProperty(e.properties,r):(0,s.Never)()}r.IndexFromPropertyKey=IndexFromPropertyKey;function IndexFromPropertyKeys(e,r){return r.map((r=>IndexFromPropertyKey(e,r)))}r.IndexFromPropertyKeys=IndexFromPropertyKeys;function FromSchema(e,r){return(0,o.UnionEvaluated)(IndexFromPropertyKeys(e,r))}function Index(e,r,n={}){return(0,h.IsMappedResult)(r)?(0,c.CloneType)((0,A.IndexFromMappedResult)(e,r,n)):(0,h.IsMappedKey)(r)?(0,c.CloneType)((0,d.IndexFromMappedKey)(e,r,n)):(0,h.IsSchema)(r)?(0,c.CloneType)(FromSchema(e,(0,u.IndexPropertyKeys)(r)),n):(0,c.CloneType)(FromSchema(e,r),n)}r.Index=Index},26277:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(79659),r)},79659:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.InstanceType=void 0;const s=n(38100);function InstanceType(e,r={}){return(0,s.CloneType)(e.returns,r)}r.InstanceType=InstanceType},4949:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(76295),r)},76295:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Integer=void 0;const s=n(97034);function Integer(e={}){return{...e,[s.Kind]:"Integer",type:"integer"}}r.Integer=Integer},62746:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(89995),r);i(n(35212),r);i(n(26015),r)},57604:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IntersectCreate=void 0;const s=n(97034);const i=n(38100);const o=n(96994);function IntersectCreate(e,r){const n=e.every((e=>(0,o.IsObject)(e)));const c=(0,o.IsSchema)(r.unevaluatedProperties)?{unevaluatedProperties:(0,i.CloneType)(r.unevaluatedProperties)}:{};return r.unevaluatedProperties===false||(0,o.IsSchema)(r.unevaluatedProperties)||n?{...r,...c,[s.Kind]:"Intersect",type:"object",allOf:(0,i.CloneRest)(e)}:{...r,...c,[s.Kind]:"Intersect",allOf:(0,i.CloneRest)(e)}}r.IntersectCreate=IntersectCreate},89995:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IntersectEvaluated=void 0;const s=n(97034);const i=n(38100);const o=n(83889);const c=n(54025);const u=n(38425);const d=n(57604);const A=n(96994);function IsIntersectOptional(e){return e.every((e=>(0,A.IsOptional)(e)))}function RemoveOptionalFromType(e){return(0,o.Discard)(e,[s.OptionalKind])}function RemoveOptionalFromRest(e){return e.map((e=>(0,A.IsOptional)(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,r){return IsIntersectOptional(e)?(0,u.Optional)((0,d.IntersectCreate)(RemoveOptionalFromRest(e),r)):(0,d.IntersectCreate)(RemoveOptionalFromRest(e),r)}function IntersectEvaluated(e,r={}){if(e.length===0)return(0,c.Never)(r);if(e.length===1)return(0,i.CloneType)(e[0],r);if(e.some((e=>(0,A.IsTransform)(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,r)}r.IntersectEvaluated=IntersectEvaluated},35212:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});const s=n(97034)},26015:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Intersect=void 0;const s=n(38100);const i=n(54025);const o=n(57604);const c=n(96994);function Intersect(e,r={}){if(e.length===0)return(0,i.Never)(r);if(e.length===1)return(0,s.CloneType)(e[0],r);if(e.some((e=>(0,c.IsTransform)(e))))throw new Error("Cannot intersect transform types");return(0,o.IntersectCreate)(e,r)}r.Intersect=Intersect},15400:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Capitalize=void 0;const s=n(39015);function Capitalize(e,r={}){return(0,s.Intrinsic)(e,"Capitalize",r)}r.Capitalize=Capitalize},30568:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(15400),r);i(n(71804),r);i(n(39015),r);i(n(13161),r);i(n(57019),r);i(n(80968),r)},71804:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IntrinsicFromMappedKey=void 0;const s=n(41094);const i=n(39015);const o=n(98076);function MappedIntrinsicPropertyKey(e,r,n){return{[e]:(0,i.Intrinsic)((0,o.Literal)(e),r,n)}}function MappedIntrinsicPropertyKeys(e,r,n){return e.reduce(((e,s)=>({...e,...MappedIntrinsicPropertyKey(s,r,n)})),{})}function MappedIntrinsicProperties(e,r,n){return MappedIntrinsicPropertyKeys(e["keys"],r,n)}function IntrinsicFromMappedKey(e,r,n){const i=MappedIntrinsicProperties(e,r,n);return(0,s.MappedResult)(i)}r.IntrinsicFromMappedKey=IntrinsicFromMappedKey},39015:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Intrinsic=void 0;const s=n(26609);const i=n(71804);const o=n(98076);const c=n(69100);const u=n(96994);function ApplyUncapitalize(e){const[r,n]=[e.slice(0,1),e.slice(1)];return[r.toLowerCase(),n].join("")}function ApplyCapitalize(e){const[r,n]=[e.slice(0,1),e.slice(1)];return[r.toUpperCase(),n].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function FromTemplateLiteral(e,r,n){const i=(0,s.TemplateLiteralParseExact)(e.pattern);const u=(0,s.IsTemplateLiteralExpressionFinite)(i);if(!u)return{...e,pattern:FromLiteralValue(e.pattern,r)};const d=[...(0,s.TemplateLiteralExpressionGenerate)(i)];const A=d.map((e=>(0,o.Literal)(e)));const h=FromRest(A,r);const g=(0,c.Union)(h);return(0,s.TemplateLiteral)([g],n)}function FromLiteralValue(e,r){return typeof e==="string"?r==="Uncapitalize"?ApplyUncapitalize(e):r==="Capitalize"?ApplyCapitalize(e):r==="Uppercase"?ApplyUppercase(e):r==="Lowercase"?ApplyLowercase(e):e:e.toString()}function FromRest(e,r){return e.map((e=>Intrinsic(e,r)))}function Intrinsic(e,r,n={}){return(0,u.IsMappedKey)(e)?(0,i.IntrinsicFromMappedKey)(e,r,n):(0,u.IsTemplateLiteral)(e)?FromTemplateLiteral(e,r,e):(0,u.IsUnion)(e)?(0,c.Union)(FromRest(e.anyOf,r),n):(0,u.IsLiteral)(e)?(0,o.Literal)(FromLiteralValue(e.const,r),n):e}r.Intrinsic=Intrinsic},13161:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Lowercase=void 0;const s=n(39015);function Lowercase(e,r={}){return(0,s.Intrinsic)(e,"Lowercase",r)}r.Lowercase=Lowercase},57019:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Uncapitalize=void 0;const s=n(39015);function Uncapitalize(e,r={}){return(0,s.Intrinsic)(e,"Uncapitalize",r)}r.Uncapitalize=Uncapitalize},80968:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Uppercase=void 0;const s=n(39015);function Uppercase(e,r={}){return(0,s.Intrinsic)(e,"Uppercase",r)}r.Uppercase=Uppercase},35907:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(78493),r)},78493:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Iterator=void 0;const s=n(38100);const i=n(97034);function Iterator(e,r={}){return{...r,[i.Kind]:"Iterator",type:"Iterator",items:(0,s.CloneType)(e)}}r.Iterator=Iterator},73373:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(19642),r);i(n(740),r);i(n(33930),r);i(n(36895),r)},19642:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.KeyOfFromMappedResult=void 0;const s=n(41094);const i=n(36895);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.KeyOf)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function KeyOfFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.KeyOfFromMappedResult=KeyOfFromMappedResult},740:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.KeyOfPropertyEntries=void 0;const s=n(11795);const i=n(33930);function KeyOfPropertyEntries(e){const r=(0,i.KeyOfPropertyKeys)(e);const n=(0,s.IndexFromPropertyKeys)(e,r);return r.map(((e,s)=>[r[s],n[s]]))}r.KeyOfPropertyEntries=KeyOfPropertyEntries},33930:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.KeyOfPattern=r.KeyOfPropertyKeys=void 0;const s=n(12760);const i=n(96994);function FromRest(e){const r=[];for(const n of e)r.push(KeyOfPropertyKeys(n));return r}function FromIntersect(e){const r=FromRest(e);const n=(0,s.SetUnionMany)(r);return n}function FromUnion(e){const r=FromRest(e);const n=(0,s.SetIntersectMany)(r);return n}function FromTuple(e){return e.map(((e,r)=>r.toString()))}function FromArray(e){return["[number]"]}function FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!o)return[];const r=globalThis.Object.getOwnPropertyNames(e);return r.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return(0,i.IsIntersect)(e)?FromIntersect(e.allOf):(0,i.IsUnion)(e)?FromUnion(e.anyOf):(0,i.IsTuple)(e)?FromTuple(e.items??[]):(0,i.IsArray)(e)?FromArray(e.items):(0,i.IsObject)(e)?FromProperties(e.properties):(0,i.IsRecord)(e)?FromPatternProperties(e.patternProperties):[]}r.KeyOfPropertyKeys=KeyOfPropertyKeys;let o=false;function KeyOfPattern(e){o=true;const r=KeyOfPropertyKeys(e);o=false;const n=r.map((e=>`(${e})`));return`^(${n.join("|")})$`}r.KeyOfPattern=KeyOfPattern},36895:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.KeyOf=r.KeyOfPropertyKeysToRest=void 0;const s=n(98076);const i=n(85544);const o=n(33930);const c=n(69100);const u=n(38100);const d=n(19642);const A=n(96994);function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?(0,i.Number)():(0,s.Literal)(e)))}r.KeyOfPropertyKeysToRest=KeyOfPropertyKeysToRest;function KeyOf(e,r={}){if((0,A.IsMappedResult)(e)){return(0,d.KeyOfFromMappedResult)(e,r)}else{const n=(0,o.KeyOfPropertyKeys)(e);const s=KeyOfPropertyKeysToRest(n);const i=(0,c.UnionEvaluated)(s);return(0,u.CloneType)(i,r)}}r.KeyOf=KeyOf},98076:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(31591),r)},31591:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Literal=void 0;const s=n(97034);function Literal(e,r={}){return{...r,[s.Kind]:"Literal",const:e,type:typeof e}}r.Literal=Literal},41094:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(35613),r);i(n(67517),r);i(n(90467),r)},35613:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MappedKey=void 0;const s=n(97034);function MappedKey(e){return{[s.Kind]:"MappedKey",keys:e}}r.MappedKey=MappedKey},67517:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MappedResult=void 0;const s=n(97034);function MappedResult(e){return{[s.Kind]:"MappedResult",properties:e}}r.MappedResult=MappedResult},90467:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Mapped=r.MappedFunctionReturnType=void 0;const s=n(97034);const i=n(38100);const o=n(83889);const c=n(17186);const u=n(68092);const d=n(16939);const A=n(29857);const h=n(86918);const g=n(62746);const m=n(35907);const y=n(98076);const E=n(62094);const _=n(38425);const b=n(70062);const I=n(40675);const v=n(7521);const C=n(69100);const w=n(12760);const B=n(67517);const S=n(96994);function FromMappedResult(e,r){return e in r?FromSchemaType(e,r[e]):(0,B.MappedResult)(r)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:(0,y.Literal)(e)}}function MappedKeyToUnknownMappedResultProperties(e){const r={};for(const n of e)r[n]=(0,y.Literal)(n);return r}function MappedKeyToMappedResultProperties(e,r){return(0,w.SetIncludes)(r,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(r)}function FromMappedKey(e,r){const n=MappedKeyToMappedResultProperties(e,r);return FromMappedResult(e,n)}function FromRest(e,r){return r.map((r=>FromSchemaType(e,r)))}function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(r))n[s]=FromSchemaType(e,r[s]);return n}function FromSchemaType(e,r){return(0,S.IsOptional)(r)?(0,_.Optional)(FromSchemaType(e,(0,o.Discard)(r,[s.OptionalKind]))):(0,S.IsReadonly)(r)?(0,I.Readonly)(FromSchemaType(e,(0,o.Discard)(r,[s.ReadonlyKind]))):(0,S.IsMappedResult)(r)?FromMappedResult(e,r.properties):(0,S.IsMappedKey)(r)?FromMappedKey(e,r.keys):(0,S.IsConstructor)(r)?(0,d.Constructor)(FromRest(e,r.parameters),FromSchemaType(e,r.returns)):(0,S.IsFunction)(r)?(0,A.Function)(FromRest(e,r.parameters),FromSchemaType(e,r.returns)):(0,S.IsAsyncIterator)(r)?(0,u.AsyncIterator)(FromSchemaType(e,r.items)):(0,S.IsIterator)(r)?(0,m.Iterator)(FromSchemaType(e,r.items)):(0,S.IsIntersect)(r)?(0,g.Intersect)(FromRest(e,r.allOf)):(0,S.IsUnion)(r)?(0,C.Union)(FromRest(e,r.anyOf)):(0,S.IsTuple)(r)?(0,v.Tuple)(FromRest(e,r.items??[])):(0,S.IsObject)(r)?(0,E.Object)(FromProperties(e,r.properties)):(0,S.IsArray)(r)?(0,c.Array)(FromSchemaType(e,r.items)):(0,S.IsPromise)(r)?(0,b.Promise)(FromSchemaType(e,r.item)):r}function MappedFunctionReturnType(e,r){const n={};for(const s of e)n[s]=FromSchemaType(s,r);return n}r.MappedFunctionReturnType=MappedFunctionReturnType;function Mapped(e,r,n={}){const o=(0,S.IsSchema)(e)?(0,h.IndexPropertyKeys)(e):e;const c=r({[s.Kind]:"MappedKey",keys:o});const u=MappedFunctionReturnType(o,c);return(0,i.CloneType)((0,E.Object)(u),n)}r.Mapped=Mapped},54025:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(29867),r)},29867:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Never=void 0;const s=n(97034);function Never(e={}){return{...e,[s.Kind]:"Never",not:{}}}r.Never=Never},1078:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(8559),r)},8559:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Not=void 0;const s=n(38100);const i=n(97034);function Not(e,r){return{...r,[i.Kind]:"Not",not:(0,s.CloneType)(e)}}r.Not=Not},50468:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(3007),r)},3007:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Null=void 0;const s=n(97034);function Null(e={}){return{...e,[s.Kind]:"Null",type:"null"}}r.Null=Null},85544:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(14151),r)},14151:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Number=void 0;const s=n(97034);function Number(e={}){return{...e,[s.Kind]:"Number",type:"number"}}r.Number=Number},62094:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(14211),r)},14211:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Object=void 0;const s=n(38100);const i=n(97034);const o=n(96994);function _Object(e,r={}){const n=globalThis.Object.getOwnPropertyNames(e);const c=n.filter((r=>(0,o.IsOptional)(e[r])));const u=n.filter((e=>!c.includes(e)));const d=(0,o.IsSchema)(r.additionalProperties)?{additionalProperties:(0,s.CloneType)(r.additionalProperties)}:{};const A={};for(const r of n)A[r]=(0,s.CloneType)(e[r]);return u.length>0?{...r,...d,[i.Kind]:"Object",type:"object",properties:A,required:u}:{...r,...d,[i.Kind]:"Object",type:"object",properties:A}}r.Object=_Object},88932:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(99308),r);i(n(39602),r);i(n(33143),r)},99308:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.OmitFromMappedKey=void 0;const s=n(41094);const i=n(33143);function FromPropertyKey(e,r,n){return{[r]:(0,i.Omit)(e,[r],n)}}function FromPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...FromPropertyKey(e,s,n)})),{})}function FromMappedKey(e,r,n){return FromPropertyKeys(e,r.keys,n)}function OmitFromMappedKey(e,r,n){const i=FromMappedKey(e,r,n);return(0,s.MappedResult)(i)}r.OmitFromMappedKey=OmitFromMappedKey},39602:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.OmitFromMappedResult=void 0;const s=n(41094);const i=n(33143);function FromProperties(e,r,n){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=(0,i.Omit)(e[o],r,n);return s}function FromMappedResult(e,r,n){return FromProperties(e.properties,r,n)}function OmitFromMappedResult(e,r,n){const i=FromMappedResult(e,r,n);return(0,s.MappedResult)(i)}r.OmitFromMappedResult=OmitFromMappedResult},33143:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Omit=void 0;const s=n(62746);const i=n(69100);const o=n(62094);const c=n(86918);const u=n(83889);const d=n(97034);const A=n(38100);const h=n(99308);const g=n(39602);const m=n(96994);function FromIntersect(e,r){return e.map((e=>OmitResolve(e,r)))}function FromUnion(e,r){return e.map((e=>OmitResolve(e,r)))}function FromProperty(e,r){const{[r]:n,...s}=e;return s}function FromProperties(e,r){return r.reduce(((e,r)=>FromProperty(e,r)),e)}function OmitResolve(e,r){return(0,m.IsIntersect)(e)?(0,s.Intersect)(FromIntersect(e.allOf,r)):(0,m.IsUnion)(e)?(0,i.Union)(FromUnion(e.anyOf,r)):(0,m.IsObject)(e)?(0,o.Object)(FromProperties(e.properties,r)):(0,o.Object)({})}function Omit(e,r,n={}){if((0,m.IsMappedKey)(r))return(0,h.OmitFromMappedKey)(e,r,n);if((0,m.IsMappedResult)(e))return(0,g.OmitFromMappedResult)(e,r,n);const s=(0,m.IsSchema)(r)?(0,c.IndexPropertyKeys)(r):r;const i=(0,u.Discard)(e,[d.TransformKind,"$id","required"]);const o=(0,A.CloneType)(OmitResolve(e,s),n);return{...i,...o}}r.Omit=Omit},38425:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(63984),r);i(n(15405),r)},63984:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.OptionalFromMappedResult=void 0;const s=n(41094);const i=n(15405);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Optional)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function OptionalFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.OptionalFromMappedResult=OptionalFromMappedResult},15405:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Optional=void 0;const s=n(97034);const i=n(38100);const o=n(83889);const c=n(63984);const u=n(96994);function RemoveOptional(e){return(0,o.Discard)((0,i.CloneType)(e),[s.OptionalKind])}function AddOptional(e){return{...(0,i.CloneType)(e),[s.OptionalKind]:"Optional"}}function OptionalWithFlag(e,r){return r===false?RemoveOptional(e):AddOptional(e)}function Optional(e,r){const n=r??true;return(0,u.IsMappedResult)(e)?(0,c.OptionalFromMappedResult)(e,n):OptionalWithFlag(e,n)}r.Optional=Optional},30449:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(92853),r)},92853:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Parameters=void 0;const s=n(7521);const i=n(38100);function Parameters(e,r={}){return(0,s.Tuple)((0,i.CloneRest)(e.parameters),{...r})}r.Parameters=Parameters},53345:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(16438),r);i(n(34523),r)},16438:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.PartialFromMappedResult=void 0;const s=n(41094);const i=n(34523);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Partial)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function PartialFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.PartialFromMappedResult=PartialFromMappedResult},34523:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Partial=void 0;const s=n(38425);const i=n(62094);const o=n(62746);const c=n(69100);const u=n(83889);const d=n(97034);const A=n(38100);const h=n(16438);const g=n(96994);function FromRest(e){return e.map((e=>PartialResolve(e)))}function FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=(0,s.Optional)(e[n]);return r}function PartialResolve(e){return(0,g.IsIntersect)(e)?(0,o.Intersect)(FromRest(e.allOf)):(0,g.IsUnion)(e)?(0,c.Union)(FromRest(e.anyOf)):(0,g.IsObject)(e)?(0,i.Object)(FromProperties(e.properties)):(0,i.Object)({})}function Partial(e,r={}){if((0,g.IsMappedResult)(e))return(0,h.PartialFromMappedResult)(e,r);const n=(0,u.Discard)(e,[d.TransformKind,"$id","required"]);const s=(0,A.CloneType)(PartialResolve(e),r);return{...n,...s}}r.Partial=Partial},94354:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(74327),r)},74327:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.PatternStringExact=r.PatternNumberExact=r.PatternBooleanExact=r.PatternString=r.PatternNumber=r.PatternBoolean=void 0;r.PatternBoolean="(true|false)";r.PatternNumber="(0|[1-9][0-9]*)";r.PatternString="(.*)";r.PatternBooleanExact=`^${r.PatternBoolean}$`;r.PatternNumberExact=`^${r.PatternNumber}$`;r.PatternStringExact=`^${r.PatternString}$`},40640:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(72748),r);i(n(4882),r);i(n(65911),r)},72748:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.PickFromMappedKey=void 0;const s=n(41094);const i=n(65911);function FromPropertyKey(e,r,n){return{[r]:(0,i.Pick)(e,[r],n)}}function FromPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...FromPropertyKey(e,s,n)})),{})}function FromMappedKey(e,r,n){return FromPropertyKeys(e,r.keys,n)}function PickFromMappedKey(e,r,n){const i=FromMappedKey(e,r,n);return(0,s.MappedResult)(i)}r.PickFromMappedKey=PickFromMappedKey},4882:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.PickFromMappedResult=void 0;const s=n(41094);const i=n(65911);function FromProperties(e,r,n){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=(0,i.Pick)(e[o],r,n);return s}function FromMappedResult(e,r,n){return FromProperties(e.properties,r,n)}function PickFromMappedResult(e,r,n){const i=FromMappedResult(e,r,n);return(0,s.MappedResult)(i)}r.PickFromMappedResult=PickFromMappedResult},65911:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Pick=void 0;const s=n(62746);const i=n(69100);const o=n(62094);const c=n(86918);const u=n(83889);const d=n(97034);const A=n(38100);const h=n(72748);const g=n(4882);const m=n(96994);function FromIntersect(e,r){return e.map((e=>PickResolve(e,r)))}function FromUnion(e,r){return e.map((e=>PickResolve(e,r)))}function FromProperties(e,r){const n={};for(const s of r)if(s in e)n[s]=e[s];return n}function PickResolve(e,r){return(0,m.IsIntersect)(e)?(0,s.Intersect)(FromIntersect(e.allOf,r)):(0,m.IsUnion)(e)?(0,i.Union)(FromUnion(e.anyOf,r)):(0,m.IsObject)(e)?(0,o.Object)(FromProperties(e.properties,r)):(0,o.Object)({})}function Pick(e,r,n={}){if((0,m.IsMappedKey)(r))return(0,h.PickFromMappedKey)(e,r,n);if((0,m.IsMappedResult)(e))return(0,g.PickFromMappedResult)(e,r,n);const s=(0,m.IsSchema)(r)?(0,c.IndexPropertyKeys)(r):r;const i=(0,u.Discard)(e,[d.TransformKind,"$id","required"]);const o=(0,A.CloneType)(PickResolve(e,s),n);return{...i,...o}}r.Pick=Pick},70062:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(35675),r)},35675:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Promise=void 0;const s=n(38100);const i=n(97034);function Promise(e,r={}){return{...r,[i.Kind]:"Promise",type:"Promise",item:(0,s.CloneType)(e)}}r.Promise=Promise},78946:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(84127),r)},84127:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ReadonlyOptional=void 0;const s=n(40675);const i=n(38425);function ReadonlyOptional(e){return(0,s.Readonly)((0,i.Optional)(e))}r.ReadonlyOptional=ReadonlyOptional},40675:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(94180),r);i(n(90401),r)},94180:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ReadonlyFromMappedResult=void 0;const s=n(41094);const i=n(90401);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Readonly)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function ReadonlyFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.ReadonlyFromMappedResult=ReadonlyFromMappedResult},90401:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Readonly=void 0;const s=n(97034);const i=n(38100);const o=n(83889);const c=n(94180);const u=n(96994);function RemoveReadonly(e){return(0,o.Discard)((0,i.CloneType)(e),[s.ReadonlyKind])}function AddReadonly(e){return{...(0,i.CloneType)(e),[s.ReadonlyKind]:"Readonly"}}function ReadonlyWithFlag(e,r){return r===false?RemoveReadonly(e):AddReadonly(e)}function Readonly(e,r){const n=r??true;return(0,u.IsMappedResult)(e)?(0,c.ReadonlyFromMappedResult)(e,n):ReadonlyWithFlag(e,n)}r.Readonly=Readonly},30420:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(98167),r)},98167:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Record=void 0;const s=n(62094);const i=n(54025);const o=n(69100);const c=n(26609);const u=n(94354);const d=n(86918);const A=n(97034);const h=n(38100);const g=n(13415);const m=n(96994);function RecordCreateFromPattern(e,r,n){return{...n,[A.Kind]:"Record",type:"object",patternProperties:{[e]:(0,h.CloneType)(r)}}}function RecordCreateFromKeys(e,r,n){const i={};for(const n of e)i[n]=(0,h.CloneType)(r);return(0,s.Object)(i,{...n,[A.Hint]:"Record"})}function FromTemplateLiteralKey(e,r,n){return(0,c.IsTemplateLiteralFinite)(e)?RecordCreateFromKeys((0,d.IndexPropertyKeys)(e),r,n):RecordCreateFromPattern(e.pattern,r,n)}function FromUnionKey(e,r,n){return RecordCreateFromKeys((0,d.IndexPropertyKeys)((0,o.Union)(e)),r,n)}function FromLiteralKey(e,r,n){return RecordCreateFromKeys([e.toString()],r,n)}function FromRegExpKey(e,r,n){return RecordCreateFromPattern(e.source,r,n)}function FromStringKey(e,r,n){const s=(0,g.IsUndefined)(e.pattern)?u.PatternStringExact:e.pattern;return RecordCreateFromPattern(s,r,n)}function FromIntegerKey(e,r,n){return RecordCreateFromPattern(u.PatternNumberExact,r,n)}function FromNumberKey(e,r,n){return RecordCreateFromPattern(u.PatternNumberExact,r,n)}function Record(e,r,n={}){return(0,m.IsUnion)(e)?FromUnionKey(e.anyOf,r,n):(0,m.IsTemplateLiteral)(e)?FromTemplateLiteralKey(e,r,n):(0,m.IsLiteral)(e)?FromLiteralKey(e.const,r,n):(0,m.IsInteger)(e)?FromIntegerKey(e,r,n):(0,m.IsNumber)(e)?FromNumberKey(e,r,n):(0,m.IsRegExp)(e)?FromRegExpKey(e,r,n):(0,m.IsString)(e)?FromStringKey(e,r,n):(0,i.Never)(n)}r.Record=Record},33107:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(13475),r)},13475:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Recursive=void 0;const s=n(38100);const i=n(13415);const o=n(97034);let c=0;function Recursive(e,r={}){if((0,i.IsUndefined)(r.$id))r.$id=`T${c++}`;const n=e({[o.Kind]:"This",$ref:`${r.$id}`});n.$id=r.$id;return(0,s.CloneType)({...r,[o.Hint]:"Recursive",...n})}r.Recursive=Recursive},80470:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(27735),r)},27735:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Ref=void 0;const s=n(97034);const i=n(13415);function Ref(e,r={}){if((0,i.IsString)(e))return{...r,[s.Kind]:"Ref",$ref:e};if((0,i.IsUndefined)(e.$id))throw new Error("Reference target type must specify an $id");return{...r,[s.Kind]:"Ref",$ref:e.$id}}r.Ref=Ref},26936:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(99383),r)},99383:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.RegExp=void 0;const s=n(13415);const i=n(97034);function RegExp(e,r={}){const n=(0,s.IsString)(e)?new globalThis.RegExp(e):e;return{...r,[i.Kind]:"RegExp",type:"RegExp",source:n.source,flags:n.flags}}r.RegExp=RegExp},56315:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Get=r.Set=r.Has=r.Delete=r.Clear=r.Entries=void 0;const n=new Map;function Entries(){return new Map(n)}r.Entries=Entries;function Clear(){return n.clear()}r.Clear=Clear;function Delete(e){return n.delete(e)}r.Delete=Delete;function Has(e){return n.has(e)}r.Has=Has;function Set(e,r){n.set(e,r)}r.Set=Set;function Get(e){return n.get(e)}r.Get=Get},51786:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TypeRegistry=r.FormatRegistry=void 0;r.FormatRegistry=n(56315);r.TypeRegistry=n(1912)},1912:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Get=r.Set=r.Has=r.Delete=r.Clear=r.Entries=void 0;const n=new Map;function Entries(){return new Map(n)}r.Entries=Entries;function Clear(){return n.clear()}r.Clear=Clear;function Delete(e){return n.delete(e)}r.Delete=Delete;function Has(e){return n.has(e)}r.Has=Has;function Set(e,r){n.set(e,r)}r.Set=Set;function Get(e){return n.get(e)}r.Get=Get},42744:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(24722),r);i(n(78775),r)},24722:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.RequiredFromMappedResult=void 0;const s=n(41094);const i=n(78775);function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=(0,i.Required)(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function RequiredFromMappedResult(e,r){const n=FromMappedResult(e,r);return(0,s.MappedResult)(n)}r.RequiredFromMappedResult=RequiredFromMappedResult},78775:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Required=void 0;const s=n(62746);const i=n(69100);const o=n(62094);const c=n(97034);const u=n(38100);const d=n(83889);const A=n(24722);const h=n(96994);function FromRest(e){return e.map((e=>RequiredResolve(e)))}function FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=(0,d.Discard)(e[n],[c.OptionalKind]);return r}function RequiredResolve(e){return(0,h.IsIntersect)(e)?(0,s.Intersect)(FromRest(e.allOf)):(0,h.IsUnion)(e)?(0,i.Union)(FromRest(e.anyOf)):(0,h.IsObject)(e)?(0,o.Object)(FromProperties(e.properties)):(0,o.Object)({})}function Required(e,r={}){if((0,h.IsMappedResult)(e)){return(0,A.RequiredFromMappedResult)(e,r)}else{const n=(0,d.Discard)(e,[c.TransformKind,"$id","required"]);const s=(0,u.CloneType)(RequiredResolve(e),r);return{...n,...s}}}r.Required=Required},83003:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(48881),r)},48881:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Rest=void 0;const s=n(38100);const i=n(96994);function RestResolve(e){return(0,i.IsIntersect)(e)?(0,s.CloneRest)(e.allOf):(0,i.IsUnion)(e)?(0,s.CloneRest)(e.anyOf):(0,i.IsTuple)(e)?(0,s.CloneRest)(e.items??[]):[]}function Rest(e){return(0,s.CloneRest)(RestResolve(e))}r.Rest=Rest},32970:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(11243),r)},11243:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ReturnType=void 0;const s=n(38100);function ReturnType(e,r={}){return(0,s.CloneType)(e.returns,r)}r.ReturnType=ReturnType},13523:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true})},68954:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(13523),r);i(n(53283),r)},53283:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});const s=n(97034)},12760:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(85944),r)},85944:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.SetUnionMany=r.SetIntersectMany=r.SetComplement=r.SetUnion=r.SetIntersect=r.SetDistinct=r.SetIsSubset=r.SetIncludes=void 0;function SetIncludes(e,r){return e.includes(r)}r.SetIncludes=SetIncludes;function SetIsSubset(e,r){return e.every((e=>SetIncludes(r,e)))}r.SetIsSubset=SetIsSubset;function SetDistinct(e){return[...new Set(e)]}r.SetDistinct=SetDistinct;function SetIntersect(e,r){return e.filter((e=>r.includes(e)))}r.SetIntersect=SetIntersect;function SetUnion(e,r){return[...e,...r]}r.SetUnion=SetUnion;function SetComplement(e,r){return e.filter((e=>!r.includes(e)))}r.SetComplement=SetComplement;function SetIntersectManyResolve(e,r){return e.reduce(((e,r)=>SetIntersect(e,r)),r)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}r.SetIntersectMany=SetIntersectMany;function SetUnionMany(e){const r=[];for(const n of e)r.push(...n);return r}r.SetUnionMany=SetUnionMany},60343:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(917),r)},917:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true})},23556:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(69295),r)},69295:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Strict=void 0;function Strict(e){return JSON.parse(JSON.stringify(e))}r.Strict=Strict},81688:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(14695),r)},14695:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.String=void 0;const s=n(97034);function String(e={}){return{...e,[s.Kind]:"String",type:"string"}}r.String=String},2129:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(86445),r)},86445:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Symbol=void 0;const s=n(97034);function Symbol(e){return{...e,[s.Kind]:"Symbol",type:"symbol"}}r.Symbol=Symbol},97034:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(22311),r)},22311:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Kind=r.Hint=r.OptionalKind=r.ReadonlyKind=r.TransformKind=void 0;r.TransformKind=Symbol.for("TypeBox.Transform");r.ReadonlyKind=Symbol.for("TypeBox.Readonly");r.OptionalKind=Symbol.for("TypeBox.Optional");r.Hint=Symbol.for("TypeBox.Hint");r.Kind=Symbol.for("TypeBox.Kind")},75930:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.IsTemplateLiteralFinite=r.IsTemplateLiteralExpressionFinite=r.TemplateLiteralFiniteError=void 0;const s=n(75430);const i=n(26113);class TemplateLiteralFiniteError extends i.TypeBoxError{}r.TemplateLiteralFiniteError=TemplateLiteralFiniteError;function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}r.IsTemplateLiteralExpressionFinite=IsTemplateLiteralExpressionFinite;function IsTemplateLiteralFinite(e){const r=(0,s.TemplateLiteralParseExact)(e.pattern);return IsTemplateLiteralExpressionFinite(r)}r.IsTemplateLiteralFinite=IsTemplateLiteralFinite},85670:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteralGenerate=r.TemplateLiteralExpressionGenerate=r.TemplateLiteralGenerateError=void 0;const s=n(75930);const i=n(75430);const o=n(26113);class TemplateLiteralGenerateError extends o.TypeBoxError{}r.TemplateLiteralGenerateError=TemplateLiteralGenerateError;function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const r of e[0]){for(const n of GenerateReduce(e.slice(1))){yield`${r}${n}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const r of e.expr)yield*TemplateLiteralExpressionGenerate(r)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}r.TemplateLiteralExpressionGenerate=TemplateLiteralExpressionGenerate;function TemplateLiteralGenerate(e){const r=(0,i.TemplateLiteralParseExact)(e.pattern);return(0,s.IsTemplateLiteralExpressionFinite)(r)?[...TemplateLiteralExpressionGenerate(r)]:[]}r.TemplateLiteralGenerate=TemplateLiteralGenerate},26609:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(75930),r);i(n(85670),r);i(n(98094),r);i(n(75430),r);i(n(85855),r);i(n(27522),r);i(n(4181),r)},75430:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteralParseExact=r.TemplateLiteralParse=r.TemplateLiteralParserError=void 0;const s=n(26113);class TemplateLiteralParserError extends s.TypeBoxError{}r.TemplateLiteralParserError=TemplateLiteralParserError;function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,r,n){return e[r]===n&&e.charCodeAt(r-1)!==92}function IsOpenParen(e,r){return IsNonEscaped(e,r,"(")}function IsCloseParen(e,r){return IsNonEscaped(e,r,")")}function IsSeparator(e,r){return IsNonEscaped(e,r,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let r=0;for(let n=0;n0)s.push(TemplateLiteralParse(r));n=i+1}}const i=e.slice(n);if(i.length>0)s.push(TemplateLiteralParse(i));if(s.length===0)return{type:"const",const:""};if(s.length===1)return s[0];return{type:"or",expr:s}}function And(e){function Group(e,r){if(!IsOpenParen(e,r))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let s=r;s0)r.push(TemplateLiteralParse(o));n=i-1}}return r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"and",expr:r}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}r.TemplateLiteralParse=TemplateLiteralParse;function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}r.TemplateLiteralParseExact=TemplateLiteralParseExact},85855:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteralPattern=r.TemplateLiteralPatternError=void 0;const s=n(94354);const i=n(97034);const o=n(26113);const c=n(96994);class TemplateLiteralPatternError extends o.TypeBoxError{}r.TemplateLiteralPatternError=TemplateLiteralPatternError;function Escape(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Visit(e,r){return(0,c.IsTemplateLiteral)(e)?e.pattern.slice(1,e.pattern.length-1):(0,c.IsUnion)(e)?`(${e.anyOf.map((e=>Visit(e,r))).join("|")})`:(0,c.IsNumber)(e)?`${r}${s.PatternNumber}`:(0,c.IsInteger)(e)?`${r}${s.PatternNumber}`:(0,c.IsBigInt)(e)?`${r}${s.PatternNumber}`:(0,c.IsString)(e)?`${r}${s.PatternString}`:(0,c.IsLiteral)(e)?`${r}${Escape(e.const.toString())}`:(0,c.IsBoolean)(e)?`${r}${s.PatternBoolean}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[i.Kind]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>Visit(e,""))).join("")}$`}r.TemplateLiteralPattern=TemplateLiteralPattern},98094:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteralSyntax=void 0;const s=n(98076);const i=n(64515);const o=n(13278);const c=n(85544);const u=n(81688);const d=n(69100);const A=n(54025);function*FromUnion(e){const r=e.trim().replace(/"|'/g,"");return r==="boolean"?yield(0,i.Boolean)():r==="number"?yield(0,c.Number)():r==="bigint"?yield(0,o.BigInt)():r==="string"?yield(0,u.String)():yield(()=>{const e=r.split("|").map((e=>(0,s.Literal)(e.trim())));return e.length===0?(0,A.Never)():e.length===1?e[0]:(0,d.UnionEvaluated)(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const r=(0,s.Literal)("$");const n=FromSyntax(e.slice(1));return yield*[r,...n]}for(let r=2;r{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteral=void 0;const s=n(98094);const i=n(85855);const o=n(13415);const c=n(97034);function TemplateLiteral(e,r={}){const n=(0,o.IsString)(e)?(0,i.TemplateLiteralPattern)((0,s.TemplateLiteralSyntax)(e)):(0,i.TemplateLiteralPattern)(e);return{...r,[c.Kind]:"TemplateLiteral",type:"string",pattern:n}}r.TemplateLiteral=TemplateLiteral},27522:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TemplateLiteralToUnion=void 0;const s=n(69100);const i=n(98076);const o=n(85670);function TemplateLiteralToUnion(e){const r=(0,o.TemplateLiteralGenerate)(e);const n=r.map((e=>(0,i.Literal)(e)));return(0,s.UnionEvaluated)(n)}r.TemplateLiteralToUnion=TemplateLiteralToUnion},67575:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(79399),r)},79399:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Transform=r.TransformEncodeBuilder=r.TransformDecodeBuilder=void 0;const s=n(97034);const i=n(38100);const o=n(96994);class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}r.TransformDecodeBuilder=TransformDecodeBuilder;class TransformEncodeBuilder{constructor(e,r){this.schema=e;this.decode=r}EncodeTransform(e,r){const Encode=n=>r[s.TransformKind].Encode(e(n));const Decode=e=>this.decode(r[s.TransformKind].Decode(e));const n={Encode:Encode,Decode:Decode};return{...r,[s.TransformKind]:n}}EncodeSchema(e,r){const n={Decode:this.decode,Encode:e};return{...r,[s.TransformKind]:n}}Encode(e){const r=(0,i.CloneType)(this.schema);return(0,o.IsTransform)(r)?this.EncodeTransform(e,r):this.EncodeSchema(e,r)}}r.TransformEncodeBuilder=TransformEncodeBuilder;function Transform(e){return new TransformDecodeBuilder(e)}r.Transform=Transform},7521:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(65667),r)},65667:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Tuple=void 0;const s=n(38100);const i=n(97034);function Tuple(e,r={}){const[n,o,c]=[false,e.length,e.length];return e.length>0?{...r,[i.Kind]:"Tuple",type:"array",items:(0,s.CloneRest)(e),additionalItems:n,minItems:o,maxItems:c}:{...r,[i.Kind]:"Tuple",type:"array",minItems:o,maxItems:c}}r.Tuple=Tuple},68237:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Type=r.JavaScriptTypeBuilder=r.JsonTypeBuilder=void 0;var s=n(86959);Object.defineProperty(r,"JsonTypeBuilder",{enumerable:true,get:function(){return s.JsonTypeBuilder}});const i=n(17505);const o=n(18158);Object.defineProperty(r,"JavaScriptTypeBuilder",{enumerable:true,get:function(){return o.JavaScriptTypeBuilder}});const c=i;r.Type=c},18158:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.JavaScriptTypeBuilder=void 0;const s=n(86959);const i=n(68092);const o=n(85164);const c=n(13278);const u=n(16939);const d=n(58562);const A=n(49305);const h=n(29857);const g=n(26277);const m=n(35907);const y=n(30449);const E=n(70062);const _=n(26936);const b=n(32970);const I=n(2129);const v=n(45760);const C=n(96231);const w=n(81947);class JavaScriptTypeBuilder extends s.JsonTypeBuilder{AsyncIterator(e,r={}){return(0,i.AsyncIterator)(e,r)}Awaited(e,r={}){return(0,o.Awaited)(e,r)}BigInt(e={}){return(0,c.BigInt)(e)}ConstructorParameters(e,r={}){return(0,d.ConstructorParameters)(e,r)}Constructor(e,r,n){return(0,u.Constructor)(e,r,n)}Date(e={}){return(0,A.Date)(e)}Function(e,r,n){return(0,h.Function)(e,r,n)}InstanceType(e,r={}){return(0,g.InstanceType)(e,r)}Iterator(e,r={}){return(0,m.Iterator)(e,r)}Parameters(e,r={}){return(0,y.Parameters)(e,r)}Promise(e,r={}){return(0,E.Promise)(e,r)}RegExp(e,r={}){return(0,_.RegExp)(e,r)}ReturnType(e,r={}){return(0,b.ReturnType)(e,r)}Symbol(e){return(0,I.Symbol)(e)}Undefined(e={}){return(0,C.Undefined)(e)}Uint8Array(e={}){return(0,v.Uint8Array)(e)}Void(e={}){return(0,w.Void)(e)}}r.JavaScriptTypeBuilder=JavaScriptTypeBuilder},86959:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.JsonTypeBuilder=void 0;const s=n(36813);const i=n(17186);const o=n(64515);const c=n(80788);const u=n(19236);const d=n(911);const A=n(98056);const h=n(41153);const g=n(94850);const m=n(69682);const y=n(86918);const E=n(4949);const _=n(62746);const b=n(30568);const I=n(73373);const v=n(98076);const C=n(41094);const w=n(54025);const B=n(1078);const S=n(50468);const T=n(85544);const k=n(62094);const R=n(88932);const Q=n(38425);const P=n(53345);const O=n(40640);const D=n(40675);const F=n(78946);const M=n(30420);const x=n(33107);const U=n(80470);const N=n(42744);const L=n(83003);const G=n(23556);const j=n(81688);const V=n(26609);const q=n(67575);const H=n(7521);const W=n(69100);const K=n(51897);const J=n(23339);class JsonTypeBuilder{Strict(e){return(0,G.Strict)(e)}ReadonlyOptional(e){return(0,F.ReadonlyOptional)(e)}Readonly(e,r){return(0,D.Readonly)(e,r??true)}Optional(e,r){return(0,Q.Optional)(e,r??true)}Any(e={}){return(0,s.Any)(e)}Array(e,r={}){return(0,i.Array)(e,r)}Boolean(e={}){return(0,o.Boolean)(e)}Capitalize(e,r={}){return(0,b.Capitalize)(e,r)}Composite(e,r){return(0,c.Composite)(e,r)}Const(e,r={}){return(0,u.Const)(e,r)}Deref(e,r){return(0,d.Deref)(e,r)}Enum(e,r={}){return(0,A.Enum)(e,r)}Exclude(e,r,n={}){return(0,h.Exclude)(e,r,n)}Extends(e,r,n,s,i={}){return(0,g.Extends)(e,r,n,s,i)}Extract(e,r,n={}){return(0,m.Extract)(e,r,n)}Index(e,r,n={}){return(0,y.Index)(e,r,n)}Integer(e={}){return(0,E.Integer)(e)}Intersect(e,r={}){return(0,_.Intersect)(e,r)}KeyOf(e,r={}){return(0,I.KeyOf)(e,r)}Literal(e,r={}){return(0,v.Literal)(e,r)}Lowercase(e,r={}){return(0,b.Lowercase)(e,r)}Mapped(e,r,n={}){return(0,C.Mapped)(e,r,n)}Never(e={}){return(0,w.Never)(e)}Not(e,r){return(0,B.Not)(e,r)}Null(e={}){return(0,S.Null)(e)}Number(e={}){return(0,T.Number)(e)}Object(e,r={}){return(0,k.Object)(e,r)}Omit(e,r,n={}){return(0,R.Omit)(e,r,n)}Partial(e,r={}){return(0,P.Partial)(e,r)}Pick(e,r,n={}){return(0,O.Pick)(e,r,n)}Record(e,r,n={}){return(0,M.Record)(e,r,n)}Recursive(e,r={}){return(0,x.Recursive)(e,r)}Ref(e,r={}){return(0,U.Ref)(e,r)}Required(e,r={}){return(0,N.Required)(e,r)}Rest(e){return(0,L.Rest)(e)}String(e={}){return(0,j.String)(e)}TemplateLiteral(e,r={}){return(0,V.TemplateLiteral)(e,r)}Transform(e){return(0,q.Transform)(e)}Tuple(e,r={}){return(0,H.Tuple)(e,r)}Uncapitalize(e,r={}){return(0,b.Uncapitalize)(e,r)}Union(e,r={}){return(0,W.Union)(e,r)}Unknown(e={}){return(0,K.Unknown)(e)}Unsafe(e={}){return(0,J.Unsafe)(e)}Uppercase(e,r={}){return(0,b.Uppercase)(e,r)}}r.JsonTypeBuilder=JsonTypeBuilder},17505:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Strict=r.ReturnType=r.Rest=r.Required=r.RegExp=r.Ref=r.Recursive=r.Record=r.ReadonlyOptional=r.Readonly=r.Promise=r.Pick=r.Partial=r.Parameters=r.Optional=r.Omit=r.Object=r.Number=r.Null=r.Not=r.Never=r.Mapped=r.Literal=r.KeyOf=r.Iterator=r.Uppercase=r.Lowercase=r.Uncapitalize=r.Capitalize=r.Intersect=r.Integer=r.InstanceType=r.Index=r.Function=r.Extract=r.Extends=r.Exclude=r.Enum=r.Deref=r.Date=r.ConstructorParameters=r.Constructor=r.Const=r.Composite=r.Boolean=r.BigInt=r.Awaited=r.AsyncIterator=r.Array=r.Any=void 0;r.Void=r.Unsafe=r.Unknown=r.Union=r.Undefined=r.Uint8Array=r.Tuple=r.Transform=r.TemplateLiteral=r.Symbol=r.String=void 0;var s=n(36813);Object.defineProperty(r,"Any",{enumerable:true,get:function(){return s.Any}});var i=n(17186);Object.defineProperty(r,"Array",{enumerable:true,get:function(){return i.Array}});var o=n(68092);Object.defineProperty(r,"AsyncIterator",{enumerable:true,get:function(){return o.AsyncIterator}});var c=n(85164);Object.defineProperty(r,"Awaited",{enumerable:true,get:function(){return c.Awaited}});var u=n(13278);Object.defineProperty(r,"BigInt",{enumerable:true,get:function(){return u.BigInt}});var d=n(64515);Object.defineProperty(r,"Boolean",{enumerable:true,get:function(){return d.Boolean}});var A=n(80788);Object.defineProperty(r,"Composite",{enumerable:true,get:function(){return A.Composite}});var h=n(19236);Object.defineProperty(r,"Const",{enumerable:true,get:function(){return h.Const}});var g=n(16939);Object.defineProperty(r,"Constructor",{enumerable:true,get:function(){return g.Constructor}});var m=n(58562);Object.defineProperty(r,"ConstructorParameters",{enumerable:true,get:function(){return m.ConstructorParameters}});var y=n(49305);Object.defineProperty(r,"Date",{enumerable:true,get:function(){return y.Date}});var E=n(911);Object.defineProperty(r,"Deref",{enumerable:true,get:function(){return E.Deref}});var _=n(98056);Object.defineProperty(r,"Enum",{enumerable:true,get:function(){return _.Enum}});var b=n(41153);Object.defineProperty(r,"Exclude",{enumerable:true,get:function(){return b.Exclude}});var I=n(94850);Object.defineProperty(r,"Extends",{enumerable:true,get:function(){return I.Extends}});var v=n(69682);Object.defineProperty(r,"Extract",{enumerable:true,get:function(){return v.Extract}});var C=n(29857);Object.defineProperty(r,"Function",{enumerable:true,get:function(){return C.Function}});var w=n(86918);Object.defineProperty(r,"Index",{enumerable:true,get:function(){return w.Index}});var B=n(26277);Object.defineProperty(r,"InstanceType",{enumerable:true,get:function(){return B.InstanceType}});var S=n(4949);Object.defineProperty(r,"Integer",{enumerable:true,get:function(){return S.Integer}});var T=n(62746);Object.defineProperty(r,"Intersect",{enumerable:true,get:function(){return T.Intersect}});var k=n(30568);Object.defineProperty(r,"Capitalize",{enumerable:true,get:function(){return k.Capitalize}});Object.defineProperty(r,"Uncapitalize",{enumerable:true,get:function(){return k.Uncapitalize}});Object.defineProperty(r,"Lowercase",{enumerable:true,get:function(){return k.Lowercase}});Object.defineProperty(r,"Uppercase",{enumerable:true,get:function(){return k.Uppercase}});var R=n(35907);Object.defineProperty(r,"Iterator",{enumerable:true,get:function(){return R.Iterator}});var Q=n(73373);Object.defineProperty(r,"KeyOf",{enumerable:true,get:function(){return Q.KeyOf}});var P=n(98076);Object.defineProperty(r,"Literal",{enumerable:true,get:function(){return P.Literal}});var O=n(41094);Object.defineProperty(r,"Mapped",{enumerable:true,get:function(){return O.Mapped}});var D=n(54025);Object.defineProperty(r,"Never",{enumerable:true,get:function(){return D.Never}});var F=n(1078);Object.defineProperty(r,"Not",{enumerable:true,get:function(){return F.Not}});var M=n(50468);Object.defineProperty(r,"Null",{enumerable:true,get:function(){return M.Null}});var x=n(85544);Object.defineProperty(r,"Number",{enumerable:true,get:function(){return x.Number}});var U=n(62094);Object.defineProperty(r,"Object",{enumerable:true,get:function(){return U.Object}});var N=n(88932);Object.defineProperty(r,"Omit",{enumerable:true,get:function(){return N.Omit}});var L=n(38425);Object.defineProperty(r,"Optional",{enumerable:true,get:function(){return L.Optional}});var G=n(30449);Object.defineProperty(r,"Parameters",{enumerable:true,get:function(){return G.Parameters}});var j=n(53345);Object.defineProperty(r,"Partial",{enumerable:true,get:function(){return j.Partial}});var V=n(40640);Object.defineProperty(r,"Pick",{enumerable:true,get:function(){return V.Pick}});var q=n(70062);Object.defineProperty(r,"Promise",{enumerable:true,get:function(){return q.Promise}});var H=n(40675);Object.defineProperty(r,"Readonly",{enumerable:true,get:function(){return H.Readonly}});var W=n(78946);Object.defineProperty(r,"ReadonlyOptional",{enumerable:true,get:function(){return W.ReadonlyOptional}});var K=n(30420);Object.defineProperty(r,"Record",{enumerable:true,get:function(){return K.Record}});var J=n(33107);Object.defineProperty(r,"Recursive",{enumerable:true,get:function(){return J.Recursive}});var Y=n(80470);Object.defineProperty(r,"Ref",{enumerable:true,get:function(){return Y.Ref}});var z=n(26936);Object.defineProperty(r,"RegExp",{enumerable:true,get:function(){return z.RegExp}});var $=n(42744);Object.defineProperty(r,"Required",{enumerable:true,get:function(){return $.Required}});var Z=n(83003);Object.defineProperty(r,"Rest",{enumerable:true,get:function(){return Z.Rest}});var X=n(32970);Object.defineProperty(r,"ReturnType",{enumerable:true,get:function(){return X.ReturnType}});var ee=n(23556);Object.defineProperty(r,"Strict",{enumerable:true,get:function(){return ee.Strict}});var te=n(81688);Object.defineProperty(r,"String",{enumerable:true,get:function(){return te.String}});var re=n(2129);Object.defineProperty(r,"Symbol",{enumerable:true,get:function(){return re.Symbol}});var ne=n(26609);Object.defineProperty(r,"TemplateLiteral",{enumerable:true,get:function(){return ne.TemplateLiteral}});var se=n(67575);Object.defineProperty(r,"Transform",{enumerable:true,get:function(){return se.Transform}});var ie=n(7521);Object.defineProperty(r,"Tuple",{enumerable:true,get:function(){return ie.Tuple}});var oe=n(45760);Object.defineProperty(r,"Uint8Array",{enumerable:true,get:function(){return oe.Uint8Array}});var ae=n(96231);Object.defineProperty(r,"Undefined",{enumerable:true,get:function(){return ae.Undefined}});var ce=n(69100);Object.defineProperty(r,"Union",{enumerable:true,get:function(){return ce.Union}});var le=n(51897);Object.defineProperty(r,"Unknown",{enumerable:true,get:function(){return le.Unknown}});var ue=n(23339);Object.defineProperty(r,"Unsafe",{enumerable:true,get:function(){return ue.Unsafe}});var de=n(81947);Object.defineProperty(r,"Void",{enumerable:true,get:function(){return de.Void}})},45760:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(2039),r)},2039:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Uint8Array=void 0;const s=n(97034);function Uint8Array(e={}){return{...e,[s.Kind]:"Uint8Array",type:"Uint8Array"}}r.Uint8Array=Uint8Array},96231:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(20479),r)},20479:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Undefined=void 0;const s=n(97034);function Undefined(e={}){return{...e,[s.Kind]:"Undefined",type:"undefined"}}r.Undefined=Undefined},69100:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(24083),r);i(n(75396),r);i(n(28519),r)},98252:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.UnionCreate=void 0;const s=n(38100);const i=n(97034);function UnionCreate(e,r){return{...r,[i.Kind]:"Union",anyOf:(0,s.CloneRest)(e)}}r.UnionCreate=UnionCreate},24083:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.UnionEvaluated=void 0;const s=n(97034);const i=n(38100);const o=n(83889);const c=n(54025);const u=n(38425);const d=n(98252);const A=n(96994);function IsUnionOptional(e){return e.some((e=>(0,A.IsOptional)(e)))}function RemoveOptionalFromRest(e){return e.map((e=>(0,A.IsOptional)(e)?RemoveOptionalFromType(e):e))}function RemoveOptionalFromType(e){return(0,o.Discard)(e,[s.OptionalKind])}function ResolveUnion(e,r){return IsUnionOptional(e)?(0,u.Optional)((0,d.UnionCreate)(RemoveOptionalFromRest(e),r)):(0,d.UnionCreate)(RemoveOptionalFromRest(e),r)}function UnionEvaluated(e,r={}){return e.length===0?(0,c.Never)(r):e.length===1?(0,i.CloneType)(e[0],r):ResolveUnion(e,r)}r.UnionEvaluated=UnionEvaluated},75396:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});const s=n(97034)},28519:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Union=void 0;const s=n(54025);const i=n(38100);const o=n(98252);function Union(e,r={}){return e.length===0?(0,s.Never)(r):e.length===1?(0,i.CloneType)(e[0],r):(0,o.UnionCreate)(e,r)}r.Union=Union},51897:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(66303),r)},66303:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Unknown=void 0;const s=n(97034);function Unknown(e={}){return{...e,[s.Kind]:"Unknown"}}r.Unknown=Unknown},23339:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(1361),r)},1361:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Unsafe=void 0;const s=n(97034);function Unsafe(e={}){return{...e,[s.Kind]:e[s.Kind]??"Unsafe"}}r.Unsafe=Unsafe},81947:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(14093),r)},14093:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Void=void 0;const s=n(97034);function Void(e={}){return{...e,[s.Kind]:"Void",type:"void"}}r.Void=Void},85874:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Cast=r.ValueCastError=void 0;const s=n(17479);const i=n(26113);const o=n(97034);const c=n(18050);const u=n(33742);const d=n(21683);const A=n(40886);class ValueCastError extends i.TypeBoxError{constructor(e,r){super(r);this.schema=e}}r.ValueCastError=ValueCastError;function ScoreUnion(e,r,n){if(e[o.Kind]==="Object"&&typeof n==="object"&&!(0,s.IsNull)(n)){const s=e;const i=Object.getOwnPropertyNames(n);const c=Object.entries(s.properties);const[d,A]=[1/c.length,c.length];return c.reduce(((e,[s,c])=>{const h=c[o.Kind]==="Literal"&&c.const===n[s]?A:0;const g=(0,u.Check)(c,r,n[s])?d:0;const m=i.includes(s)?d:0;return e+(h+g+m)}),0)}else{return(0,u.Check)(e,r,n)?1:0}}function SelectUnion(e,r,n){const s=e.anyOf.map((e=>(0,A.Deref)(e,r)));let[i,o]=[s[0],0];for(const e of s){const s=ScoreUnion(e,r,n);if(s>o){i=e;o=s}}return i}function CastUnion(e,r,n){if("default"in e){return typeof n==="function"?e.default:(0,d.Clone)(e.default)}else{const s=SelectUnion(e,r,n);return Cast(s,r,n)}}function DefaultClone(e,r,n){return(0,u.Check)(e,r,n)?(0,d.Clone)(n):(0,c.Create)(e,r)}function Default(e,r,n){return(0,u.Check)(e,r,n)?n:(0,c.Create)(e,r)}function FromArray(e,r,n){if((0,u.Check)(e,r,n))return(0,d.Clone)(n);const i=(0,s.IsArray)(n)?(0,d.Clone)(n):(0,c.Create)(e,r);const o=(0,s.IsNumber)(e.minItems)&&i.lengthnull))]:i;const A=(0,s.IsNumber)(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o;const h=A.map((n=>Visit(e.items,r,n)));if(e.uniqueItems!==true)return h;const g=[...new Set(h)];if(!(0,u.Check)(e,r,g))throw new ValueCastError(e,"Array cast produced invalid data due to uniqueItems constraint");return g}function FromConstructor(e,r,n){if((0,u.Check)(e,r,n))return(0,c.Create)(e,r);const s=new Set(e.returns.required||[]);const result=function(){};for(const[i,o]of Object.entries(e.returns.properties)){if(!s.has(i)&&n.prototype[i]===undefined)continue;result.prototype[i]=Visit(o,r,n.prototype[i])}return result}function FromIntersect(e,r,n){const i=(0,c.Create)(e,r);const o=(0,s.IsStandardObject)(i)&&(0,s.IsStandardObject)(n)?{...i,...n}:n;return(0,u.Check)(e,r,o)?o:(0,c.Create)(e,r)}function FromNever(e,r,n){throw new ValueCastError(e,"Never types cannot be cast")}function FromObject(e,r,n){if((0,u.Check)(e,r,n))return n;if(n===null||typeof n!=="object")return(0,c.Create)(e,r);const s=new Set(e.required||[]);const i={};for(const[o,c]of Object.entries(e.properties)){if(!s.has(o)&&n[o]===undefined)continue;i[o]=Visit(c,r,n[o])}if(typeof e.additionalProperties==="object"){const s=Object.getOwnPropertyNames(e.properties);for(const o of Object.getOwnPropertyNames(n)){if(s.includes(o))continue;i[o]=Visit(e.additionalProperties,r,n[o])}}return i}function FromRecord(e,r,n){if((0,u.Check)(e,r,n))return(0,d.Clone)(n);if(n===null||typeof n!=="object"||Array.isArray(n)||n instanceof Date)return(0,c.Create)(e,r);const s=Object.getOwnPropertyNames(e.patternProperties)[0];const i=e.patternProperties[s];const o={};for(const[e,s]of Object.entries(n)){o[e]=Visit(i,r,s)}return o}function FromRef(e,r,n){return Visit((0,A.Deref)(e,r),r,n)}function FromThis(e,r,n){return Visit((0,A.Deref)(e,r),r,n)}function FromTuple(e,r,n){if((0,u.Check)(e,r,n))return(0,d.Clone)(n);if(!(0,s.IsArray)(n))return(0,c.Create)(e,r);if(e.items===undefined)return[];return e.items.map(((e,s)=>Visit(e,r,n[s])))}function FromUnion(e,r,n){return(0,u.Check)(e,r,n)?(0,d.Clone)(n):CastUnion(e,r,n)}function Visit(e,r,n){const i=(0,s.IsString)(e.$id)?[...r,e]:r;const c=e;switch(e[o.Kind]){case"Array":return FromArray(c,i,n);case"Constructor":return FromConstructor(c,i,n);case"Intersect":return FromIntersect(c,i,n);case"Never":return FromNever(c,i,n);case"Object":return FromObject(c,i,n);case"Record":return FromRecord(c,i,n);case"Ref":return FromRef(c,i,n);case"This":return FromThis(c,i,n);case"Tuple":return FromTuple(c,i,n);case"Union":return FromUnion(c,i,n);case"Date":case"Symbol":case"Uint8Array":return DefaultClone(e,r,n);default:return Default(c,i,n)}}function Cast(...e){return e.length===3?Visit(e[0],e[1],e[2]):Visit(e[0],[],e[1])}r.Cast=Cast},46097:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(85874),r)},85410:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Check=r.ValueCheckUnknownTypeError=void 0;const s=n(82129);const i=n(40886);const o=n(7210);const c=n(97034);const u=n(73373);const d=n(94850);const A=n(51786);const h=n(26113);const g=n(54025);const m=n(17479);const y=n(70384);class ValueCheckUnknownTypeError extends h.TypeBoxError{constructor(e){super(`Unknown type`);this.schema=e}}r.ValueCheckUnknownTypeError=ValueCheckUnknownTypeError;function IsAnyOrUnknown(e){return e[c.Kind]==="Any"||e[c.Kind]==="Unknown"}function IsDefined(e){return e!==undefined}function FromAny(e,r,n){return true}function FromArray(e,r,n){if(!(0,m.IsArray)(n))return false;if(IsDefined(e.minItems)&&!(n.length>=e.minItems)){return false}if(IsDefined(e.maxItems)&&!(n.length<=e.maxItems)){return false}if(!n.every((n=>Visit(e.items,r,n)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const r of n){const n=(0,o.Hash)(r);if(e.has(n)){return false}else{e.add(n)}}return true}()){return false}if(!(IsDefined(e.contains)||(0,m.IsNumber)(e.minContains)||(0,m.IsNumber)(e.maxContains))){return true}const s=IsDefined(e.contains)?e.contains:(0,g.Never)();const i=n.reduce(((e,n)=>Visit(s,r,n)?e+1:e),0);if(i===0){return false}if((0,m.IsNumber)(e.minContains)&&ie.maxContains){return false}return true}function FromAsyncIterator(e,r,n){return(0,m.IsAsyncIterator)(n)}function FromBigInt(e,r,n){if(!(0,m.IsBigInt)(n))return false;if(IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(n%e.multipleOf===BigInt(0))){return false}return true}function FromBoolean(e,r,n){return(0,m.IsBoolean)(n)}function FromConstructor(e,r,n){return Visit(e.returns,r,n.prototype)}function FromDate(e,r,n){if(!(0,m.IsDate)(n))return false;if(IsDefined(e.exclusiveMaximumTimestamp)&&!(n.getTime()e.exclusiveMinimumTimestamp)){return false}if(IsDefined(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)){return false}if(IsDefined(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)){return false}if(IsDefined(e.multipleOfTimestamp)&&!(n.getTime()%e.multipleOfTimestamp===0)){return false}return true}function FromFunction(e,r,n){return(0,m.IsFunction)(n)}function FromInteger(e,r,n){if(!(0,m.IsInteger)(n)){return false}if(IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){return false}return true}function FromIntersect(e,r,n){const s=e.allOf.every((e=>Visit(e,r,n)));if(e.unevaluatedProperties===false){const r=new RegExp((0,u.KeyOfPattern)(e));const i=Object.getOwnPropertyNames(n).every((e=>r.test(e)));return s&&i}else if((0,y.IsSchema)(e.unevaluatedProperties)){const i=new RegExp((0,u.KeyOfPattern)(e));const o=Object.getOwnPropertyNames(n).every((s=>i.test(s)||Visit(e.unevaluatedProperties,r,n[s])));return s&&o}else{return s}}function FromIterator(e,r,n){return(0,m.IsIterator)(n)}function FromLiteral(e,r,n){return n===e.const}function FromNever(e,r,n){return false}function FromNot(e,r,n){return!Visit(e.not,r,n)}function FromNull(e,r,n){return(0,m.IsNull)(n)}function FromNumber(e,r,n){if(!s.TypeSystemPolicy.IsNumberLike(n))return false;if(IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){return false}return true}function FromObject(e,r,n){if(!s.TypeSystemPolicy.IsObjectLike(n))return false;if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){return false}const i=Object.getOwnPropertyNames(e.properties);for(const o of i){const i=e.properties[o];if(e.required&&e.required.includes(o)){if(!Visit(i,r,n[o])){return false}if(((0,d.ExtendsUndefinedCheck)(i)||IsAnyOrUnknown(i))&&!(o in n)){return false}}else{if(s.TypeSystemPolicy.IsExactOptionalProperty(n,o)&&!Visit(i,r,n[o])){return false}}}if(e.additionalProperties===false){const r=Object.getOwnPropertyNames(n);if(e.required&&e.required.length===i.length&&r.length===i.length){return true}else{return r.every((e=>i.includes(e)))}}else if(typeof e.additionalProperties==="object"){const s=Object.getOwnPropertyNames(n);return s.every((s=>i.includes(s)||Visit(e.additionalProperties,r,n[s])))}else{return true}}function FromPromise(e,r,n){return(0,m.IsPromise)(n)}function FromRecord(e,r,n){if(!s.TypeSystemPolicy.IsRecordLike(n)){return false}if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){return false}const[i,o]=Object.entries(e.patternProperties)[0];const c=new RegExp(i);const u=Object.entries(n).every((([e,n])=>c.test(e)?Visit(o,r,n):true));const d=typeof e.additionalProperties==="object"?Object.entries(n).every((([n,s])=>!c.test(n)?Visit(e.additionalProperties,r,s):true)):true;const A=e.additionalProperties===false?Object.getOwnPropertyNames(n).every((e=>c.test(e))):true;return u&&d&&A}function FromRef(e,r,n){return Visit((0,i.Deref)(e,r),r,n)}function FromRegExp(e,r,n){const s=new RegExp(e.source,e.flags);if(IsDefined(e.minLength)){if(!(n.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(n.length<=e.maxLength))return false}return s.test(n)}function FromString(e,r,n){if(!(0,m.IsString)(n)){return false}if(IsDefined(e.minLength)){if(!(n.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(n.length<=e.maxLength))return false}if(IsDefined(e.pattern)){const r=new RegExp(e.pattern);if(!r.test(n))return false}if(IsDefined(e.format)){if(!A.FormatRegistry.Has(e.format))return false;const r=A.FormatRegistry.Get(e.format);return r(n)}return true}function FromSymbol(e,r,n){return(0,m.IsSymbol)(n)}function FromTemplateLiteral(e,r,n){return(0,m.IsString)(n)&&new RegExp(e.pattern).test(n)}function FromThis(e,r,n){return Visit((0,i.Deref)(e,r),r,n)}function FromTuple(e,r,n){if(!(0,m.IsArray)(n)){return false}if(e.items===undefined&&!(n.length===0)){return false}if(!(n.length===e.maxItems)){return false}if(!e.items){return true}for(let s=0;sVisit(e,r,n)))}function FromUint8Array(e,r,n){if(!(0,m.IsUint8Array)(n)){return false}if(IsDefined(e.maxByteLength)&&!(n.length<=e.maxByteLength)){return false}if(IsDefined(e.minByteLength)&&!(n.length>=e.minByteLength)){return false}return true}function FromUnknown(e,r,n){return true}function FromVoid(e,r,n){return s.TypeSystemPolicy.IsVoidLike(n)}function FromKind(e,r,n){if(!A.TypeRegistry.Has(e[c.Kind]))return false;const s=A.TypeRegistry.Get(e[c.Kind]);return s(e,n)}function Visit(e,r,n){const s=IsDefined(e.$id)?[...r,e]:r;const i=e;switch(i[c.Kind]){case"Any":return FromAny(i,s,n);case"Array":return FromArray(i,s,n);case"AsyncIterator":return FromAsyncIterator(i,s,n);case"BigInt":return FromBigInt(i,s,n);case"Boolean":return FromBoolean(i,s,n);case"Constructor":return FromConstructor(i,s,n);case"Date":return FromDate(i,s,n);case"Function":return FromFunction(i,s,n);case"Integer":return FromInteger(i,s,n);case"Intersect":return FromIntersect(i,s,n);case"Iterator":return FromIterator(i,s,n);case"Literal":return FromLiteral(i,s,n);case"Never":return FromNever(i,s,n);case"Not":return FromNot(i,s,n);case"Null":return FromNull(i,s,n);case"Number":return FromNumber(i,s,n);case"Object":return FromObject(i,s,n);case"Promise":return FromPromise(i,s,n);case"Record":return FromRecord(i,s,n);case"Ref":return FromRef(i,s,n);case"RegExp":return FromRegExp(i,s,n);case"String":return FromString(i,s,n);case"Symbol":return FromSymbol(i,s,n);case"TemplateLiteral":return FromTemplateLiteral(i,s,n);case"This":return FromThis(i,s,n);case"Tuple":return FromTuple(i,s,n);case"Undefined":return FromUndefined(i,s,n);case"Union":return FromUnion(i,s,n);case"Uint8Array":return FromUint8Array(i,s,n);case"Unknown":return FromUnknown(i,s,n);case"Void":return FromVoid(i,s,n);default:if(!A.TypeRegistry.Has(i[c.Kind]))throw new ValueCheckUnknownTypeError(i);return FromKind(i,s,n)}}function Check(...e){return e.length===3?Visit(e[0],e[1],e[2]):Visit(e[0],[],e[1])}r.Check=Check},33742:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(85410),r)},40338:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Clean=void 0;const s=n(73373);const i=n(33742);const o=n(21683);const c=n(40886);const u=n(97034);const d=n(17479);const A=n(70384);function IsCheckable(e){return(0,A.IsSchema)(e)&&e[u.Kind]!=="Unsafe"}function FromArray(e,r,n){if(!(0,d.IsArray)(n))return n;return n.map((n=>Visit(e.items,r,n)))}function FromIntersect(e,r,n){const c=e.unevaluatedProperties;const u=e.allOf.map((e=>Visit(e,r,(0,o.Clone)(n))));const h=u.reduce(((e,r)=>(0,d.IsObject)(r)?{...e,...r}:r),{});if(!(0,d.IsObject)(n)||!(0,d.IsObject)(h)||!(0,A.IsSchema)(c))return h;const g=(0,s.KeyOfPropertyKeys)(e);for(const e of Object.getOwnPropertyNames(n)){if(g.includes(e))continue;if((0,i.Check)(c,r,n[e])){h[e]=Visit(c,r,n[e])}}return h}function FromObject(e,r,n){if(!(0,d.IsObject)(n)||(0,d.IsArray)(n))return n;const s=e.additionalProperties;for(const o of Object.getOwnPropertyNames(n)){if(o in e.properties){n[o]=Visit(e.properties[o],r,n[o]);continue}if((0,A.IsSchema)(s)&&(0,i.Check)(s,r,n[o])){n[o]=Visit(s,r,n[o]);continue}delete n[o]}return n}function FromRecord(e,r,n){if(!(0,d.IsObject)(n))return n;const s=e.additionalProperties;const o=Object.getOwnPropertyNames(n);const[c,u]=Object.entries(e.patternProperties)[0];const h=new RegExp(c);for(const e of o){if(h.test(e)){n[e]=Visit(u,r,n[e]);continue}if((0,A.IsSchema)(s)&&(0,i.Check)(s,r,n[e])){n[e]=Visit(s,r,n[e]);continue}delete n[e]}return n}function FromRef(e,r,n){return Visit((0,c.Deref)(e,r),r,n)}function FromThis(e,r,n){return Visit((0,c.Deref)(e,r),r,n)}function FromTuple(e,r,n){if(!(0,d.IsArray)(n))return n;if((0,d.IsUndefined)(e.items))return[];const s=Math.min(n.length,e.items.length);for(let i=0;is?n.slice(0,s):n}function FromUnion(e,r,n){for(const s of e.anyOf){if(IsCheckable(s)&&(0,i.Check)(s,r,n)){return Visit(s,r,n)}}return n}function Visit(e,r,n){const s=(0,d.IsString)(e.$id)?[...r,e]:r;const i=e;switch(i[u.Kind]){case"Array":return FromArray(i,s,n);case"Intersect":return FromIntersect(i,s,n);case"Object":return FromObject(i,s,n);case"Record":return FromRecord(i,s,n);case"Ref":return FromRef(i,s,n);case"This":return FromThis(i,s,n);case"Tuple":return FromTuple(i,s,n);case"Union":return FromUnion(i,s,n);default:return n}}function Clean(...e){return e.length===3?Visit(e[0],e[1],e[2]):Visit(e[0],[],e[1])}r.Clean=Clean},6115:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(40338),r)},13366:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Clone=void 0;const s=n(17479);function ObjectType(e){const r={};for(const n of Object.getOwnPropertyNames(e)){r[n]=Clone(e[n])}for(const n of Object.getOwnPropertySymbols(e)){r[n]=Clone(e[n])}return r}function ArrayType(e){return e.map((e=>Clone(e)))}function TypedArrayType(e){return e.slice()}function DateType(e){return new Date(e.toISOString())}function ValueType(e){return e}function Clone(e){if((0,s.IsArray)(e))return ArrayType(e);if((0,s.IsDate)(e))return DateType(e);if((0,s.IsStandardObject)(e))return ObjectType(e);if((0,s.IsTypedArray)(e))return TypedArrayType(e);if((0,s.IsValueType)(e))return ValueType(e);throw new Error("ValueClone: Unable to clone value")}r.Clone=Clone},21683:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(13366),r)},68594:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Convert=void 0;const s=n(21683);const i=n(33742);const o=n(40886);const c=n(97034);const u=n(17479);function IsStringNumeric(e){return(0,u.IsString)(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function IsValueToString(e){return(0,u.IsBigInt)(e)||(0,u.IsBoolean)(e)||(0,u.IsNumber)(e)}function IsValueTrue(e){return e===true||(0,u.IsNumber)(e)&&e===1||(0,u.IsBigInt)(e)&&e===BigInt("1")||(0,u.IsString)(e)&&(e.toLowerCase()==="true"||e==="1")}function IsValueFalse(e){return e===false||(0,u.IsNumber)(e)&&(e===0||Object.is(e,-0))||(0,u.IsBigInt)(e)&&e===BigInt("0")||(0,u.IsString)(e)&&(e.toLowerCase()==="false"||e==="0"||e==="-0")}function IsTimeStringWithTimeZone(e){return(0,u.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function IsTimeStringWithoutTimeZone(e){return(0,u.IsString)(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function IsDateTimeStringWithTimeZone(e){return(0,u.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function IsDateTimeStringWithoutTimeZone(e){return(0,u.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function IsDateString(e){return(0,u.IsString)(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}function TryConvertLiteralString(e,r){const n=TryConvertString(e);return n===r?n:e}function TryConvertLiteralNumber(e,r){const n=TryConvertNumber(e);return n===r?n:e}function TryConvertLiteralBoolean(e,r){const n=TryConvertBoolean(e);return n===r?n:e}function TryConvertLiteral(e,r){return(0,u.IsString)(e.const)?TryConvertLiteralString(r,e.const):(0,u.IsNumber)(e.const)?TryConvertLiteralNumber(r,e.const):(0,u.IsBoolean)(e.const)?TryConvertLiteralBoolean(r,e.const):(0,s.Clone)(r)}function TryConvertBoolean(e){return IsValueTrue(e)?true:IsValueFalse(e)?false:e}function TryConvertBigInt(e){return IsStringNumeric(e)?BigInt(parseInt(e)):(0,u.IsNumber)(e)?BigInt(e|0):IsValueFalse(e)?BigInt(0):IsValueTrue(e)?BigInt(1):e}function TryConvertString(e){return IsValueToString(e)?e.toString():(0,u.IsSymbol)(e)&&e.description!==undefined?e.description.toString():e}function TryConvertNumber(e){return IsStringNumeric(e)?parseFloat(e):IsValueTrue(e)?1:IsValueFalse(e)?0:e}function TryConvertInteger(e){return IsStringNumeric(e)?parseInt(e):(0,u.IsNumber)(e)?e|0:IsValueTrue(e)?1:IsValueFalse(e)?0:e}function TryConvertNull(e){return(0,u.IsString)(e)&&e.toLowerCase()==="null"?null:e}function TryConvertUndefined(e){return(0,u.IsString)(e)&&e==="undefined"?undefined:e}function TryConvertDate(e){return(0,u.IsDate)(e)?e:(0,u.IsNumber)(e)?new Date(e):IsValueTrue(e)?new Date(1):IsValueFalse(e)?new Date(0):IsStringNumeric(e)?new Date(parseInt(e)):IsTimeStringWithoutTimeZone(e)?new Date(`1970-01-01T${e}.000Z`):IsTimeStringWithTimeZone(e)?new Date(`1970-01-01T${e}`):IsDateTimeStringWithoutTimeZone(e)?new Date(`${e}.000Z`):IsDateTimeStringWithTimeZone(e)?new Date(e):IsDateString(e)?new Date(`${e}T00:00:00.000Z`):e}function Default(e){return e}function FromArray(e,r,n){const s=(0,u.IsArray)(n)?n:[n];return s.map((n=>Visit(e.items,r,n)))}function FromBigInt(e,r,n){return TryConvertBigInt(n)}function FromBoolean(e,r,n){return TryConvertBoolean(n)}function FromDate(e,r,n){return TryConvertDate(n)}function FromInteger(e,r,n){return TryConvertInteger(n)}function FromIntersect(e,r,n){return e.allOf.reduce(((e,n)=>Visit(n,r,e)),n)}function FromLiteral(e,r,n){return TryConvertLiteral(e,n)}function FromNull(e,r,n){return TryConvertNull(n)}function FromNumber(e,r,n){return TryConvertNumber(n)}function FromObject(e,r,n){const s=(0,u.IsObject)(n);if(!s)return n;const i={};for(const s of Object.keys(n)){i[s]=(0,u.HasPropertyKey)(e.properties,s)?Visit(e.properties[s],r,n[s]):n[s]}return i}function FromRecord(e,r,n){const s=Object.getOwnPropertyNames(e.patternProperties)[0];const i=e.patternProperties[s];const o={};for(const[e,s]of Object.entries(n)){o[e]=Visit(i,r,s)}return o}function FromRef(e,r,n){return Visit((0,o.Deref)(e,r),r,n)}function FromString(e,r,n){return TryConvertString(n)}function FromSymbol(e,r,n){return(0,u.IsString)(n)||(0,u.IsNumber)(n)?Symbol(n):n}function FromThis(e,r,n){return Visit((0,o.Deref)(e,r),r,n)}function FromTuple(e,r,n){const s=(0,u.IsArray)(n)&&!(0,u.IsUndefined)(e.items);if(!s)return n;return n.map(((n,s)=>s{Object.defineProperty(r,"__esModule",{value:true});r.Create=r.ValueCreateError=void 0;const s=n(17479);const i=n(33742);const o=n(21683);const c=n(40886);const u=n(26609);const d=n(94354);const A=n(51786);const h=n(97034);const g=n(26113);class ValueCreateError extends g.TypeBoxError{constructor(e,r){super(r);this.schema=e}}r.ValueCreateError=ValueCreateError;function FromDefault(e){return typeof e==="function"?e:(0,o.Clone)(e)}function FromAny(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return{}}}function FromArray(e,r){if(e.uniqueItems===true&&!(0,s.HasPropertyKey)(e,"default")){throw new ValueCreateError(e,"Array with the uniqueItems constraint requires a default value")}else if("contains"in e&&!(0,s.HasPropertyKey)(e,"default")){throw new ValueCreateError(e,"Array with the contains constraint requires a default value")}else if("default"in e){return FromDefault(e.default)}else if(e.minItems!==undefined){return Array.from({length:e.minItems}).map((n=>Visit(e.items,r)))}else{return[]}}function FromAsyncIterator(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return async function*(){}()}}function FromBigInt(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return BigInt(0)}}function FromBoolean(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return false}}function FromConstructor(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{const n=Visit(e.returns,r);if(typeof n==="object"&&!Array.isArray(n)){return class{constructor(){for(const[e,r]of Object.entries(n)){const n=this;n[e]=r}}}}else{return class{}}}}function FromDate(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.minimumTimestamp!==undefined){return new Date(e.minimumTimestamp)}else{return new Date}}function FromFunction(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return()=>Visit(e.returns,r)}}function FromInteger(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.minimum!==undefined){return e.minimum}else{return 0}}function FromIntersect(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{const n=e.allOf.reduce(((e,n)=>{const s=Visit(n,r);return typeof s==="object"?{...e,...s}:s}),{});if(!(0,i.Check)(e,r,n))throw new ValueCreateError(e,"Intersect produced invalid value. Consider using a default value.");return n}}function FromIterator(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return function*(){}()}}function FromLiteral(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return e.const}}function FromNever(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"Never types cannot be created. Consider using a default value.")}}function FromNot(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"Not types must have a default value")}}function FromNull(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return null}}function FromNumber(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.minimum!==undefined){return e.minimum}else{return 0}}function FromObject(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{const n=new Set(e.required);const s={};for(const[i,o]of Object.entries(e.properties)){if(!n.has(i))continue;s[i]=Visit(o,r)}return s}}function FromPromise(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return Promise.resolve(Visit(e.item,r))}}function FromRecord(e,r){const[n,i]=Object.entries(e.patternProperties)[0];if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(!(n===d.PatternStringExact||n===d.PatternNumberExact)){const e=n.slice(1,n.length-1).split("|");const s={};for(const n of e)s[n]=Visit(i,r);return s}else{return{}}}function FromRef(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return Visit((0,c.Deref)(e,r),r)}}function FromRegExp(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"RegExp types cannot be created. Consider using a default value.")}}function FromString(e,r){if(e.pattern!==undefined){if(!(0,s.HasPropertyKey)(e,"default")){throw new ValueCreateError(e,"String types with patterns must specify a default value")}else{return FromDefault(e.default)}}else if(e.format!==undefined){if(!(0,s.HasPropertyKey)(e,"default")){throw new ValueCreateError(e,"String types with formats must specify a default value")}else{return FromDefault(e.default)}}else{if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.minLength!==undefined){return Array.from({length:e.minLength}).map((()=>" ")).join("")}else{return""}}}function FromSymbol(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if("value"in e){return Symbol.for(e.value)}else{return Symbol()}}function FromTemplateLiteral(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}if(!(0,u.IsTemplateLiteralFinite)(e))throw new ValueCreateError(e,"Can only create template literals that produce a finite variants. Consider using a default value.");const n=(0,u.TemplateLiteralGenerate)(e);return n[0]}function FromThis(e,r){if(y++>m)throw new ValueCreateError(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return Visit((0,c.Deref)(e,r),r)}}function FromTuple(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}if(e.items===undefined){return[]}else{return Array.from({length:e.minItems}).map(((n,s)=>Visit(e.items[s],r)))}}function FromUndefined(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return undefined}}function FromUnion(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.anyOf.length===0){throw new Error("ValueCreate.Union: Cannot create Union with zero variants")}else{return Visit(e.anyOf[0],r)}}function FromUint8Array(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else if(e.minByteLength!==undefined){return new Uint8Array(e.minByteLength)}else{return new Uint8Array(0)}}function FromUnknown(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return{}}}function FromVoid(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{return void 0}}function FromKind(e,r){if((0,s.HasPropertyKey)(e,"default")){return FromDefault(e.default)}else{throw new Error("User defined types must specify a default value")}}function Visit(e,r){const n=(0,s.IsString)(e.$id)?[...r,e]:r;const i=e;switch(i[h.Kind]){case"Any":return FromAny(i,n);case"Array":return FromArray(i,n);case"AsyncIterator":return FromAsyncIterator(i,n);case"BigInt":return FromBigInt(i,n);case"Boolean":return FromBoolean(i,n);case"Constructor":return FromConstructor(i,n);case"Date":return FromDate(i,n);case"Function":return FromFunction(i,n);case"Integer":return FromInteger(i,n);case"Intersect":return FromIntersect(i,n);case"Iterator":return FromIterator(i,n);case"Literal":return FromLiteral(i,n);case"Never":return FromNever(i,n);case"Not":return FromNot(i,n);case"Null":return FromNull(i,n);case"Number":return FromNumber(i,n);case"Object":return FromObject(i,n);case"Promise":return FromPromise(i,n);case"Record":return FromRecord(i,n);case"Ref":return FromRef(i,n);case"RegExp":return FromRegExp(i,n);case"String":return FromString(i,n);case"Symbol":return FromSymbol(i,n);case"TemplateLiteral":return FromTemplateLiteral(i,n);case"This":return FromThis(i,n);case"Tuple":return FromTuple(i,n);case"Undefined":return FromUndefined(i,n);case"Union":return FromUnion(i,n);case"Uint8Array":return FromUint8Array(i,n);case"Unknown":return FromUnknown(i,n);case"Void":return FromVoid(i,n);default:if(!A.TypeRegistry.Has(i[h.Kind]))throw new ValueCreateError(i,"Unknown type");return FromKind(i,n)}}const m=512;let y=0;function Create(...e){y=0;return e.length===2?Visit(e[0],e[1]):Visit(e[0],[])}r.Create=Create},18050:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(51744),r)},28766:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Default=void 0;const s=n(33742);const i=n(21683);const o=n(40886);const c=n(97034);const u=n(17479);const d=n(70384);function ValueOrDefault(e,r){return r===undefined&&"default"in e?(0,i.Clone)(e.default):r}function IsCheckable(e){return(0,d.IsSchema)(e)&&e[c.Kind]!=="Unsafe"}function IsDefaultSchema(e){return(0,d.IsSchema)(e)&&"default"in e}function FromArray(e,r,n){const s=ValueOrDefault(e,n);if(!(0,u.IsArray)(s))return s;for(let n=0;n{const i=Visit(n,r,s);return(0,u.IsObject)(i)?{...e,...i}:i}),{})}function FromObject(e,r,n){const s=ValueOrDefault(e,n);if(!(0,u.IsObject)(s))return s;const i=e.additionalProperties;const o=Object.getOwnPropertyNames(e.properties);for(const n of o){if(!IsDefaultSchema(e.properties[n]))continue;s[n]=Visit(e.properties[n],r,s[n])}if(!IsDefaultSchema(i))return s;for(const e of Object.getOwnPropertyNames(s)){if(o.includes(e))continue;s[e]=Visit(i,r,s[e])}return s}function FromRecord(e,r,n){const s=ValueOrDefault(e,n);if(!(0,u.IsObject)(s))return s;const i=e.additionalProperties;const[o,c]=Object.entries(e.patternProperties)[0];const d=new RegExp(o);for(const e of Object.getOwnPropertyNames(s)){if(!(d.test(e)&&IsDefaultSchema(c)))continue;s[e]=Visit(c,r,s[e])}if(!IsDefaultSchema(i))return s;for(const e of Object.getOwnPropertyNames(s)){if(d.test(e))continue;s[e]=Visit(i,r,s[e])}return s}function FromRef(e,r,n){return Visit((0,o.Deref)(e,r),r,ValueOrDefault(e,n))}function FromThis(e,r,n){return Visit((0,o.Deref)(e,r),r,n)}function FromTuple(e,r,n){const s=ValueOrDefault(e,n);if(!(0,u.IsArray)(s)||(0,u.IsUndefined)(e.items))return s;const[i,o]=[e.items,Math.max(e.items.length,s.length)];for(let e=0;e{Object.defineProperty(r,"__esModule",{value:true});r.Patch=r.Diff=r.ValueDeltaSymbolError=r.ValueDeltaError=r.Edit=r.Delete=r.Update=r.Insert=void 0;const s=n(17479);const i=n(23079);const o=n(21683);const c=n(26113);const u=n(98076);const d=n(62094);const A=n(81688);const h=n(51897);const g=n(69100);r.Insert=(0,d.Object)({type:(0,u.Literal)("insert"),path:(0,A.String)(),value:(0,h.Unknown)()});r.Update=(0,d.Object)({type:(0,u.Literal)("update"),path:(0,A.String)(),value:(0,h.Unknown)()});r.Delete=(0,d.Object)({type:(0,u.Literal)("delete"),path:(0,A.String)()});r.Edit=(0,g.Union)([r.Insert,r.Update,r.Delete]);class ValueDeltaError extends c.TypeBoxError{constructor(e,r){super(r);this.value=e}}r.ValueDeltaError=ValueDeltaError;class ValueDeltaSymbolError extends ValueDeltaError{constructor(e){super(e,"Cannot diff objects with symbol keys");this.value=e}}r.ValueDeltaSymbolError=ValueDeltaSymbolError;function CreateUpdate(e,r){return{type:"update",path:e,value:r}}function CreateInsert(e,r){return{type:"insert",path:e,value:r}}function CreateDelete(e){return{type:"delete",path:e}}function*ObjectType(e,r,n){if(!(0,s.IsStandardObject)(n))return yield CreateUpdate(e,n);const i=[...globalThis.Object.keys(r),...globalThis.Object.getOwnPropertySymbols(r)];const o=[...globalThis.Object.keys(n),...globalThis.Object.getOwnPropertySymbols(n)];for(const r of i){if((0,s.IsSymbol)(r))throw new ValueDeltaSymbolError(r);if((0,s.IsUndefined)(n[r])&&o.includes(r))yield CreateUpdate(`${e}/${globalThis.String(r)}`,undefined)}for(const i of o){if((0,s.IsUndefined)(r[i])||(0,s.IsUndefined)(n[i]))continue;if((0,s.IsSymbol)(i))throw new ValueDeltaSymbolError(i);yield*Visit(`${e}/${globalThis.String(i)}`,r[i],n[i])}for(const i of o){if((0,s.IsSymbol)(i))throw new ValueDeltaSymbolError(i);if((0,s.IsUndefined)(r[i]))yield CreateInsert(`${e}/${globalThis.String(i)}`,n[i])}for(const r of i.reverse()){if((0,s.IsSymbol)(r))throw new ValueDeltaSymbolError(r);if((0,s.IsUndefined)(n[r])&&!o.includes(r))yield CreateDelete(`${e}/${globalThis.String(r)}`)}}function*ArrayType(e,r,n){if(!(0,s.IsArray)(n))return yield CreateUpdate(e,n);for(let s=0;s=0;s--){if(s0&&e[0].path===""&&e[0].type==="update"}function IsIdentity(e){return e.length===0}function Patch(e,r){if(IsRootUpdate(r)){return(0,o.Clone)(r[0].value)}if(IsIdentity(r)){return(0,o.Clone)(e)}const n=(0,o.Clone)(e);for(const e of r){switch(e.type){case"insert":{i.ValuePointer.Set(n,e.path,e.value);break}case"update":{i.ValuePointer.Set(n,e.path,e.value);break}case"delete":{i.ValuePointer.Delete(n,e.path);break}}}return n}r.Patch=Patch},8124:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(67126),r)},85298:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Deref=r.TypeDereferenceError=void 0;const s=n(26113);const i=n(97034);class TypeDereferenceError extends s.TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$id}'`);this.schema=e}}r.TypeDereferenceError=TypeDereferenceError;function Resolve(e,r){const n=r.find((r=>r.$id===e.$ref));if(n===undefined)throw new TypeDereferenceError(e);return Deref(n,r)}function Deref(e,r){return e[i.Kind]==="This"||e[i.Kind]==="Ref"?Resolve(e,r):e}r.Deref=Deref},40886:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(85298),r)},60586:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Equal=void 0;const s=n(17479);function ObjectType(e,r){if(!(0,s.IsStandardObject)(r))return false;const n=[...Object.keys(e),...Object.getOwnPropertySymbols(e)];const i=[...Object.keys(r),...Object.getOwnPropertySymbols(r)];if(n.length!==i.length)return false;return n.every((n=>Equal(e[n],r[n])))}function DateType(e,r){return(0,s.IsDate)(r)&&e.getTime()===r.getTime()}function ArrayType(e,r){if(!(0,s.IsArray)(r)||e.length!==r.length)return false;return e.every(((e,n)=>Equal(e,r[n])))}function TypedArrayType(e,r){if(!(0,s.IsTypedArray)(r)||e.length!==r.length||Object.getPrototypeOf(e).constructor.name!==Object.getPrototypeOf(r).constructor.name)return false;return e.every(((e,n)=>Equal(e,r[n])))}function ValueType(e,r){return e===r}function Equal(e,r){if((0,s.IsStandardObject)(e))return ObjectType(e,r);if((0,s.IsDate)(e))return DateType(e,r);if((0,s.IsTypedArray)(e))return TypedArrayType(e,r);if((0,s.IsArray)(e))return ArrayType(e,r);if((0,s.IsValueType)(e))return ValueType(e,r);throw new Error("ValueEquals: Unable to compare value")}r.Equal=Equal},46186:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(60586),r)},1850:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.IsValueType=r.IsSymbol=r.IsFunction=r.IsString=r.IsBigInt=r.IsInteger=r.IsNumber=r.IsBoolean=r.IsNull=r.IsUndefined=r.IsArray=r.IsObject=r.HasPropertyKey=r.IsBigUint64Array=r.IsBigInt64Array=r.IsFloat64Array=r.IsFloat32Array=r.IsUint32Array=r.IsInt32Array=r.IsUint16Array=r.IsInt16Array=r.IsUint8ClampedArray=r.IsUint8Array=r.IsInt8Array=r.IsTypedArray=r.IsRegExp=r.IsSet=r.IsMap=r.IsDate=r.IsPromise=r.IsInstanceObject=r.IsStandardObject=r.IsIterator=r.IsAsyncIterator=void 0;function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}r.IsAsyncIterator=IsAsyncIterator;function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}r.IsIterator=IsIterator;function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}r.IsStandardObject=IsStandardObject;function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}r.IsInstanceObject=IsInstanceObject;function IsPromise(e){return e instanceof Promise}r.IsPromise=IsPromise;function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}r.IsDate=IsDate;function IsMap(e){return e instanceof globalThis.Map}r.IsMap=IsMap;function IsSet(e){return e instanceof globalThis.Set}r.IsSet=IsSet;function IsRegExp(e){return e instanceof globalThis.RegExp}r.IsRegExp=IsRegExp;function IsTypedArray(e){return ArrayBuffer.isView(e)}r.IsTypedArray=IsTypedArray;function IsInt8Array(e){return e instanceof globalThis.Int8Array}r.IsInt8Array=IsInt8Array;function IsUint8Array(e){return e instanceof globalThis.Uint8Array}r.IsUint8Array=IsUint8Array;function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}r.IsUint8ClampedArray=IsUint8ClampedArray;function IsInt16Array(e){return e instanceof globalThis.Int16Array}r.IsInt16Array=IsInt16Array;function IsUint16Array(e){return e instanceof globalThis.Uint16Array}r.IsUint16Array=IsUint16Array;function IsInt32Array(e){return e instanceof globalThis.Int32Array}r.IsInt32Array=IsInt32Array;function IsUint32Array(e){return e instanceof globalThis.Uint32Array}r.IsUint32Array=IsUint32Array;function IsFloat32Array(e){return e instanceof globalThis.Float32Array}r.IsFloat32Array=IsFloat32Array;function IsFloat64Array(e){return e instanceof globalThis.Float64Array}r.IsFloat64Array=IsFloat64Array;function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}r.IsBigInt64Array=IsBigInt64Array;function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}r.IsBigUint64Array=IsBigUint64Array;function HasPropertyKey(e,r){return r in e}r.HasPropertyKey=HasPropertyKey;function IsObject(e){return e!==null&&typeof e==="object"}r.IsObject=IsObject;function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}r.IsArray=IsArray;function IsUndefined(e){return e===undefined}r.IsUndefined=IsUndefined;function IsNull(e){return e===null}r.IsNull=IsNull;function IsBoolean(e){return typeof e==="boolean"}r.IsBoolean=IsBoolean;function IsNumber(e){return typeof e==="number"}r.IsNumber=IsNumber;function IsInteger(e){return Number.isInteger(e)}r.IsInteger=IsInteger;function IsBigInt(e){return typeof e==="bigint"}r.IsBigInt=IsBigInt;function IsString(e){return typeof e==="string"}r.IsString=IsString;function IsFunction(e){return typeof e==="function"}r.IsFunction=IsFunction;function IsSymbol(e){return typeof e==="symbol"}r.IsSymbol=IsSymbol;function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}r.IsValueType=IsValueType},17479:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(1850),r)},83760:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Hash=r.ValueHashError=void 0;const s=n(17479);const i=n(26113);class ValueHashError extends i.TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}r.ValueHashError=ValueHashError;var o;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(o||(o={}));let c=BigInt("14695981039346656037");const[u,d]=[BigInt("1099511628211"),BigInt("2")**BigInt("64")];const A=Array.from({length:256}).map(((e,r)=>BigInt(r)));const h=new Float64Array(1);const g=new DataView(h.buffer);const m=new Uint8Array(h.buffer);function*NumberToBytes(e){const r=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n>8*(r-1-n)&255}}function ArrayType(e){FNV1A64(o.Array);for(const r of e){Visit(r)}}function BooleanType(e){FNV1A64(o.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(o.BigInt);g.setBigInt64(0,e);for(const e of m){FNV1A64(e)}}function DateType(e){FNV1A64(o.Date);Visit(e.getTime())}function NullType(e){FNV1A64(o.Null)}function NumberType(e){FNV1A64(o.Number);g.setFloat64(0,e);for(const e of m){FNV1A64(e)}}function ObjectType(e){FNV1A64(o.Object);for(const r of globalThis.Object.getOwnPropertyNames(e).sort()){Visit(r);Visit(e[r])}}function StringType(e){FNV1A64(o.String);for(let r=0;r{Object.defineProperty(r,"__esModule",{value:true});r.Mutate=r.ValueMutateError=void 0;const s=n(17479);const i=n(23079);const o=n(21683);const c=n(26113);class ValueMutateError extends c.TypeBoxError{constructor(e){super(e)}}r.ValueMutateError=ValueMutateError;function ObjectType(e,r,n,c){if(!(0,s.IsStandardObject)(n)){i.ValuePointer.Set(e,r,(0,o.Clone)(c))}else{const s=Object.getOwnPropertyNames(n);const i=Object.getOwnPropertyNames(c);for(const e of s){if(!i.includes(e)){delete n[e]}}for(const e of i){if(!s.includes(e)){n[e]=null}}for(const s of i){Visit(e,`${r}/${s}`,n[s],c[s])}}}function ArrayType(e,r,n,c){if(!(0,s.IsArray)(n)){i.ValuePointer.Set(e,r,(0,o.Clone)(c))}else{for(let s=0;s{Object.defineProperty(r,"__esModule",{value:true});r.ValuePointer=void 0;r.ValuePointer=n(65630)},65630:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Get=r.Has=r.Delete=r.Set=r.Format=r.ValuePointerRootDeleteError=r.ValuePointerRootSetError=void 0;const s=n(26113);class ValuePointerRootSetError extends s.TypeBoxError{constructor(e,r,n){super("Cannot set root value");this.value=e;this.path=r;this.update=n}}r.ValuePointerRootSetError=ValuePointerRootSetError;class ValuePointerRootDeleteError extends s.TypeBoxError{constructor(e,r){super("Cannot delete root value");this.value=e;this.path=r}}r.ValuePointerRootDeleteError=ValuePointerRootDeleteError;function Escape(e){return e.indexOf("~")===-1?e:e.replace(/~1/g,"/").replace(/~0/g,"~")}function*Format(e){if(e==="")return;let[r,n]=[0,0];for(let s=0;s{Object.defineProperty(r,"__esModule",{value:true});r.TransformDecode=r.TransformDecodeError=r.TransformDecodeCheckError=void 0;const s=n(97034);const i=n(26113);const o=n(73373);const c=n(40886);const u=n(33742);const d=n(17479);const A=n(70384);class TransformDecodeCheckError extends i.TypeBoxError{constructor(e,r,n){super(`Unable to decode value as it does not match the expected schema`);this.schema=e;this.value=r;this.error=n}}r.TransformDecodeCheckError=TransformDecodeCheckError;class TransformDecodeError extends i.TypeBoxError{constructor(e,r,n,s){super(s instanceof Error?s.message:"Unknown error");this.schema=e;this.path=r;this.value=n;this.error=s}}r.TransformDecodeError=TransformDecodeError;function Default(e,r,n){try{return(0,A.IsTransform)(e)?e[s.TransformKind].Decode(n):n}catch(s){throw new TransformDecodeError(e,r,n,s)}}function FromArray(e,r,n,s){return(0,d.IsArray)(s)?Default(e,n,s.map(((s,i)=>Visit(e.items,r,`${n}/${i}`,s)))):Default(e,n,s)}function FromIntersect(e,r,n,s){if(!(0,d.IsStandardObject)(s)||(0,d.IsValueType)(s))return Default(e,n,s);const i=(0,o.KeyOfPropertyEntries)(e);const c=i.map((e=>e[0]));const u={...s};for(const[e,s]of i)if(e in u){u[e]=Visit(s,r,`${n}/${e}`,u[e])}if(!(0,A.IsTransform)(e.unevaluatedProperties)){return Default(e,n,u)}const h=Object.getOwnPropertyNames(u);const g=e.unevaluatedProperties;const m={...u};for(const e of h)if(!c.includes(e)){m[e]=Default(g,`${n}/${e}`,m[e])}return Default(e,n,m)}function FromNot(e,r,n,s){return Default(e,n,Visit(e.not,r,n,s))}function FromObject(e,r,n,s){if(!(0,d.IsStandardObject)(s))return Default(e,n,s);const i=(0,o.KeyOfPropertyKeys)(e);const c={...s};for(const s of i)if(s in c){c[s]=Visit(e.properties[s],r,`${n}/${s}`,c[s])}if(!(0,A.IsSchema)(e.additionalProperties)){return Default(e,n,c)}const u=Object.getOwnPropertyNames(c);const h=e.additionalProperties;const g={...c};for(const e of u)if(!i.includes(e)){g[e]=Default(h,`${n}/${e}`,g[e])}return Default(e,n,g)}function FromRecord(e,r,n,s){if(!(0,d.IsStandardObject)(s))return Default(e,n,s);const i=Object.getOwnPropertyNames(e.patternProperties)[0];const o=new RegExp(i);const c={...s};for(const u of Object.getOwnPropertyNames(s))if(o.test(u)){c[u]=Visit(e.patternProperties[i],r,`${n}/${u}`,c[u])}if(!(0,A.IsSchema)(e.additionalProperties)){return Default(e,n,c)}const u=Object.getOwnPropertyNames(c);const h=e.additionalProperties;const g={...c};for(const e of u)if(!o.test(e)){g[e]=Default(h,`${n}/${e}`,g[e])}return Default(e,n,g)}function FromRef(e,r,n,s){const i=(0,c.Deref)(e,r);return Default(e,n,Visit(i,r,n,s))}function FromThis(e,r,n,s){const i=(0,c.Deref)(e,r);return Default(e,n,Visit(i,r,n,s))}function FromTuple(e,r,n,s){return(0,d.IsArray)(s)&&(0,d.IsArray)(e.items)?Default(e,n,e.items.map(((e,i)=>Visit(e,r,`${n}/${i}`,s[i])))):Default(e,n,s)}function FromUnion(e,r,n,s){for(const i of e.anyOf){if(!(0,u.Check)(i,r,s))continue;const o=Visit(i,r,n,s);return Default(e,n,o)}return Default(e,n,s)}function Visit(e,r,n,i){const o=typeof e.$id==="string"?[...r,e]:r;const c=e;switch(e[s.Kind]){case"Array":return FromArray(c,o,n,i);case"Intersect":return FromIntersect(c,o,n,i);case"Not":return FromNot(c,o,n,i);case"Object":return FromObject(c,o,n,i);case"Record":return FromRecord(c,o,n,i);case"Ref":return FromRef(c,o,n,i);case"Symbol":return Default(c,n,i);case"This":return FromThis(c,o,n,i);case"Tuple":return FromTuple(c,o,n,i);case"Union":return FromUnion(c,o,n,i);default:return Default(c,n,i)}}function TransformDecode(e,r,n){return Visit(e,r,"",n)}r.TransformDecode=TransformDecode},33598:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TransformEncode=r.TransformEncodeError=r.TransformEncodeCheckError=void 0;const s=n(97034);const i=n(26113);const o=n(73373);const c=n(40886);const u=n(33742);const d=n(17479);const A=n(70384);class TransformEncodeCheckError extends i.TypeBoxError{constructor(e,r,n){super(`The encoded value does not match the expected schema`);this.schema=e;this.value=r;this.error=n}}r.TransformEncodeCheckError=TransformEncodeCheckError;class TransformEncodeError extends i.TypeBoxError{constructor(e,r,n,s){super(`${s instanceof Error?s.message:"Unknown error"}`);this.schema=e;this.path=r;this.value=n;this.error=s}}r.TransformEncodeError=TransformEncodeError;function Default(e,r,n){try{return(0,A.IsTransform)(e)?e[s.TransformKind].Encode(n):n}catch(s){throw new TransformEncodeError(e,r,n,s)}}function FromArray(e,r,n,s){const i=Default(e,n,s);return(0,d.IsArray)(i)?i.map(((s,i)=>Visit(e.items,r,`${n}/${i}`,s))):i}function FromIntersect(e,r,n,s){const i=Default(e,n,s);if(!(0,d.IsStandardObject)(s)||(0,d.IsValueType)(s))return i;const c=(0,o.KeyOfPropertyEntries)(e);const u=c.map((e=>e[0]));const h={...i};for(const[e,s]of c)if(e in h){h[e]=Visit(s,r,`${n}/${e}`,h[e])}if(!(0,A.IsTransform)(e.unevaluatedProperties)){return Default(e,n,h)}const g=Object.getOwnPropertyNames(h);const m=e.unevaluatedProperties;const y={...h};for(const e of g)if(!u.includes(e)){y[e]=Default(m,`${n}/${e}`,y[e])}return y}function FromNot(e,r,n,s){return Default(e.not,n,Default(e,n,s))}function FromObject(e,r,n,s){const i=Default(e,n,s);if(!(0,d.IsStandardObject)(i))return i;const c=(0,o.KeyOfPropertyKeys)(e);const u={...i};for(const s of c)if(s in u){u[s]=Visit(e.properties[s],r,`${n}/${s}`,u[s])}if(!(0,A.IsSchema)(e.additionalProperties)){return u}const h=Object.getOwnPropertyNames(u);const g=e.additionalProperties;const m={...u};for(const e of h)if(!c.includes(e)){m[e]=Default(g,`${n}/${e}`,m[e])}return m}function FromRecord(e,r,n,s){const i=Default(e,n,s);if(!(0,d.IsStandardObject)(s))return i;const o=Object.getOwnPropertyNames(e.patternProperties)[0];const c=new RegExp(o);const u={...i};for(const i of Object.getOwnPropertyNames(s))if(c.test(i)){u[i]=Visit(e.patternProperties[o],r,`${n}/${i}`,u[i])}if(!(0,A.IsSchema)(e.additionalProperties)){return Default(e,n,u)}const h=Object.getOwnPropertyNames(u);const g=e.additionalProperties;const m={...u};for(const e of h)if(!c.test(e)){m[e]=Default(g,`${n}/${e}`,m[e])}return m}function FromRef(e,r,n,s){const i=(0,c.Deref)(e,r);const o=Visit(i,r,n,s);return Default(e,n,o)}function FromThis(e,r,n,s){const i=(0,c.Deref)(e,r);const o=Visit(i,r,n,s);return Default(e,n,o)}function FromTuple(e,r,n,s){const i=Default(e,n,s);return(0,d.IsArray)(e.items)?e.items.map(((e,s)=>Visit(e,r,`${n}/${s}`,i[s]))):[]}function FromUnion(e,r,n,s){for(const i of e.anyOf){if(!(0,u.Check)(i,r,s))continue;const o=Visit(i,r,n,s);return Default(e,n,o)}for(const i of e.anyOf){const o=Visit(i,r,n,s);if(!(0,u.Check)(e,r,o))continue;return Default(e,n,o)}return Default(e,n,s)}function Visit(e,r,n,i){const o=typeof e.$id==="string"?[...r,e]:r;const c=e;switch(e[s.Kind]){case"Array":return FromArray(c,o,n,i);case"Intersect":return FromIntersect(c,o,n,i);case"Not":return FromNot(c,o,n,i);case"Object":return FromObject(c,o,n,i);case"Record":return FromRecord(c,o,n,i);case"Ref":return FromRef(c,o,n,i);case"This":return FromThis(c,o,n,i);case"Tuple":return FromTuple(c,o,n,i);case"Union":return FromUnion(c,o,n,i);default:return Default(c,n,i)}}function TransformEncode(e,r,n){return Visit(e,r,"",n)}r.TransformEncode=TransformEncode},51542:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.HasTransform=void 0;const s=n(40886);const i=n(97034);const o=n(70384);const c=n(17479);function FromArray(e,r){return(0,o.IsTransform)(e)||Visit(e.items,r)}function FromAsyncIterator(e,r){return(0,o.IsTransform)(e)||Visit(e.items,r)}function FromConstructor(e,r){return(0,o.IsTransform)(e)||Visit(e.returns,r)||e.parameters.some((e=>Visit(e,r)))}function FromFunction(e,r){return(0,o.IsTransform)(e)||Visit(e.returns,r)||e.parameters.some((e=>Visit(e,r)))}function FromIntersect(e,r){return(0,o.IsTransform)(e)||(0,o.IsTransform)(e.unevaluatedProperties)||e.allOf.some((e=>Visit(e,r)))}function FromIterator(e,r){return(0,o.IsTransform)(e)||Visit(e.items,r)}function FromNot(e,r){return(0,o.IsTransform)(e)||Visit(e.not,r)}function FromObject(e,r){return(0,o.IsTransform)(e)||Object.values(e.properties).some((e=>Visit(e,r)))||(0,o.IsSchema)(e.additionalProperties)&&Visit(e.additionalProperties,r)}function FromPromise(e,r){return(0,o.IsTransform)(e)||Visit(e.item,r)}function FromRecord(e,r){const n=Object.getOwnPropertyNames(e.patternProperties)[0];const s=e.patternProperties[n];return(0,o.IsTransform)(e)||Visit(s,r)||(0,o.IsSchema)(e.additionalProperties)&&(0,o.IsTransform)(e.additionalProperties)}function FromRef(e,r){if((0,o.IsTransform)(e))return true;return Visit((0,s.Deref)(e,r),r)}function FromThis(e,r){if((0,o.IsTransform)(e))return true;return Visit((0,s.Deref)(e,r),r)}function FromTuple(e,r){return(0,o.IsTransform)(e)||!(0,c.IsUndefined)(e.items)&&e.items.some((e=>Visit(e,r)))}function FromUnion(e,r){return(0,o.IsTransform)(e)||e.anyOf.some((e=>Visit(e,r)))}function Visit(e,r){const n=(0,c.IsString)(e.$id)?[...r,e]:r;const s=e;if(e.$id&&u.has(e.$id))return false;if(e.$id)u.add(e.$id);switch(e[i.Kind]){case"Array":return FromArray(s,n);case"AsyncIterator":return FromAsyncIterator(s,n);case"Constructor":return FromConstructor(s,n);case"Function":return FromFunction(s,n);case"Intersect":return FromIntersect(s,n);case"Iterator":return FromIterator(s,n);case"Not":return FromNot(s,n);case"Object":return FromObject(s,n);case"Promise":return FromPromise(s,n);case"Record":return FromRecord(s,n);case"Ref":return FromRef(s,n);case"This":return FromThis(s,n);case"Tuple":return FromTuple(s,n);case"Union":return FromUnion(s,n);default:return(0,o.IsTransform)(e)}}const u=new Set;function HasTransform(e,r){u.clear();return Visit(e,r)}r.HasTransform=HasTransform},50038:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(37354),r);i(n(33598),r);i(n(51542),r)},22079:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Value=void 0;r.Value=n(50854)},50854:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Mutate=r.Patch=r.Hash=r.Diff=r.Equal=r.Errors=r.Encode=r.Default=r.Decode=r.Clone=r.Convert=r.Clean=r.Check=r.Create=r.Cast=void 0;const s=n(50038);const i=n(36068);const o=n(7210);const c=n(46186);const u=n(46097);const d=n(21683);const A=n(41241);const h=n(18050);const g=n(6115);const m=n(33742);const y=n(97659);const E=n(8124);const _=n(65507);function Cast(...e){return u.Cast.apply(u.Cast,e)}r.Cast=Cast;function Create(...e){return h.Create.apply(h.Create,e)}r.Create=Create;function Check(...e){return m.Check.apply(m.Check,e)}r.Check=Check;function Clean(...e){return g.Clean.apply(g.Clean,e)}r.Clean=Clean;function Convert(...e){return A.Convert.apply(A.Convert,e)}r.Convert=Convert;function Clone(e){return(0,d.Clone)(e)}r.Clone=Clone;function Decode(...e){const[r,n,i]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!Check(r,n,i))throw new s.TransformDecodeCheckError(r,i,Errors(r,n,i).First());return(0,s.HasTransform)(r,n)?(0,s.TransformDecode)(r,n,i):i}r.Decode=Decode;function Default(...e){return y.Default.apply(y.Default,e)}r.Default=Default;function Encode(...e){const[r,n,i]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];const o=(0,s.HasTransform)(r,n)?(0,s.TransformEncode)(r,n,i):i;if(!Check(r,n,o))throw new s.TransformEncodeCheckError(r,o,Errors(r,n,o).First());return o}r.Encode=Encode;function Errors(...e){return _.Errors.apply(_.Errors,e)}r.Errors=Errors;function Equal(e,r){return(0,c.Equal)(e,r)}r.Equal=Equal;function Diff(e,r){return(0,E.Diff)(e,r)}r.Diff=Diff;function Hash(e){return(0,o.Hash)(e)}r.Hash=Hash;function Patch(e,r){return(0,E.Patch)(e,r)}r.Patch=Patch;function Mutate(e,r){(0,i.Mutate)(e,r)}r.Mutate=Mutate},68789:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(52165));const o=i.default;r["default"]=o},62495:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(16623));const o=i.default;r["default"]=o},52165:function(e,r,n){var s=this&&this.__rest||function(e,r){var n={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0)n[s]=e[s];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,s=Object.getOwnPropertySymbols(e);i0){y.forEach((e=>{const r=parseInt(e.split(";")[0].split("=")[1].substring(0,1));const n=JSON.parse(e.split(";")[1].split("=")[1]);c[`${n}Page`]=r}));c.total=parseInt(m)}return{data:Object.assign(Object.assign({},g),c),error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{users:[]},error:e}}throw e}}async getUserById(e){try{return await(0,i._request)(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:i._userResponse})}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null},error:e}}throw e}}async updateUserById(e,r){try{return await(0,i._request)(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:r,headers:this.headers,xform:i._userResponse})}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null},error:e}}throw e}}async deleteUser(e,r=false){try{return await(0,i._request)(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:r},xform:i._userResponse})}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null},error:e}}throw e}}async _listFactors(e){try{const{data:r,error:n}=await(0,i._request)(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:r,error:n}}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async _deleteFactor(e){try{const r=await(0,i._request)(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers});return{data:r,error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}}r["default"]=GoTrueAdminApi},16623:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(52165));const o=n(26705);const c=n(73981);const u=n(92356);const d=n(30601);const A=n(21735);const h=n(80512);const g=n(41920);const m=n(28932);(0,h.polyfillGlobalThis)();const y={url:o.GOTRUE_URL,storageKey:o.STORAGE_KEY,autoRefreshToken:true,persistSession:true,detectSessionInUrl:true,headers:o.DEFAULT_HEADERS,flowType:"implicit",debug:false,hasCustomAuthorizationHeader:false};const E=30*1e3;const _=3;async function lockNoOp(e,r,n){return await n()}class GoTrueClient{constructor(e){var r,n;this.memoryStorage=null;this.stateChangeEmitters=new Map;this.autoRefreshTicker=null;this.visibilityChangedCallback=null;this.refreshingDeferred=null;this.initializePromise=null;this.detectSessionInUrl=true;this.hasCustomAuthorizationHeader=false;this.suppressGetSessionWarning=false;this.lockAcquired=false;this.pendingInLock=[];this.broadcastChannel=null;this.logger=console.log;this.instanceID=GoTrueClient.nextInstanceID;GoTrueClient.nextInstanceID+=1;if(this.instanceID>0&&(0,d.isBrowser)()){console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.")}const s=Object.assign(Object.assign({},y),e);this.logDebugMessages=!!s.debug;if(typeof s.debug==="function"){this.logger=s.debug}this.persistSession=s.persistSession;this.storageKey=s.storageKey;this.autoRefreshToken=s.autoRefreshToken;this.admin=new i.default({url:s.url,headers:s.headers,fetch:s.fetch});this.url=s.url;this.headers=s.headers;this.fetch=(0,d.resolveFetch)(s.fetch);this.lock=s.lock||lockNoOp;this.detectSessionInUrl=s.detectSessionInUrl;this.flowType=s.flowType;this.hasCustomAuthorizationHeader=s.hasCustomAuthorizationHeader;if(s.lock){this.lock=s.lock}else if((0,d.isBrowser)()&&((r=globalThis===null||globalThis===void 0?void 0:globalThis.navigator)===null||r===void 0?void 0:r.locks)){this.lock=m.navigatorLock}else{this.lock=lockNoOp}this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)};if(this.persistSession){if(s.storage){this.storage=s.storage}else{if((0,d.supportsLocalStorage)()){this.storage=A.localStorageAdapter}else{this.memoryStorage={};this.storage=(0,A.memoryLocalStorageAdapter)(this.memoryStorage)}}}else{this.memoryStorage={};this.storage=(0,A.memoryLocalStorageAdapter)(this.memoryStorage)}if((0,d.isBrowser)()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(e){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",e)}(n=this.broadcastChannel)===null||n===void 0?void 0:n.addEventListener("message",(async e=>{this._debug("received broadcast notification from other tab or client",e);await this._notifyAllSubscribers(e.data.event,e.data.session,false)}))}this.initialize()}_debug(...e){if(this.logDebugMessages){this.logger(`GoTrueClient@${this.instanceID} (${g.version}) ${(new Date).toISOString()}`,...e)}return this}async initialize(){if(this.initializePromise){return await this.initializePromise}this.initializePromise=(async()=>await this._acquireLock(-1,(async()=>await this._initialize())))();return await this.initializePromise}async _initialize(){try{const e=(0,d.isBrowser)()?await this._isPKCEFlow():false;this._debug("#_initialize()","begin","is PKCE flow",e);if(e||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:r,error:n}=await this._getSessionFromURL(e);if(n){this._debug("#_initialize()","error detecting session from URL",n);if((n===null||n===void 0?void 0:n.code)==="identity_already_exists"){return{error:n}}await this._removeSession();return{error:n}}const{session:s,redirectType:i}=r;this._debug("#_initialize()","detected session in URL",s,"redirect type",i);await this._saveSession(s);setTimeout((async()=>{if(i==="recovery"){await this._notifyAllSubscribers("PASSWORD_RECOVERY",s)}else{await this._notifyAllSubscribers("SIGNED_IN",s)}}),0);return{error:null}}await this._recoverAndRefresh();return{error:null}}catch(e){if((0,c.isAuthError)(e)){return{error:e}}return{error:new c.AuthUnknownError("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange();this._debug("#_initialize()","end")}}async signInAnonymously(e){var r,n,s;try{const i=await(0,u._request)(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(n=(r=e===null||e===void 0?void 0:e.options)===null||r===void 0?void 0:r.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:(s=e===null||e===void 0?void 0:e.options)===null||s===void 0?void 0:s.captchaToken}},xform:u._sessionResponse});const{data:o,error:c}=i;if(c||!o){return{data:{user:null,session:null},error:c}}const d=o.session;const A=o.user;if(o.session){await this._saveSession(o.session);await this._notifyAllSubscribers("SIGNED_IN",d)}return{data:{user:A,session:d},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async signUp(e){var r,n,s;try{let i;if("email"in e){const{email:n,password:s,options:o}=e;let c=null;let A=null;if(this.flowType==="pkce"){[c,A]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey)}i=await(0,u._request)(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:o===null||o===void 0?void 0:o.emailRedirectTo,body:{email:n,password:s,data:(r=o===null||o===void 0?void 0:o.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:o===null||o===void 0?void 0:o.captchaToken},code_challenge:c,code_challenge_method:A},xform:u._sessionResponse})}else if("phone"in e){const{phone:r,password:o,options:c}=e;i=await(0,u._request)(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:r,password:o,data:(n=c===null||c===void 0?void 0:c.data)!==null&&n!==void 0?n:{},channel:(s=c===null||c===void 0?void 0:c.channel)!==null&&s!==void 0?s:"sms",gotrue_meta_security:{captcha_token:c===null||c===void 0?void 0:c.captchaToken}},xform:u._sessionResponse})}else{throw new c.AuthInvalidCredentialsError("You must provide either an email or phone number and a password")}const{data:o,error:A}=i;if(A||!o){return{data:{user:null,session:null},error:A}}const h=o.session;const g=o.user;if(o.session){await this._saveSession(o.session);await this._notifyAllSubscribers("SIGNED_IN",h)}return{data:{user:g,session:h},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async signInWithPassword(e){try{let r;if("email"in e){const{email:n,password:s,options:i}=e;r=await(0,u._request)(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:n,password:s,gotrue_meta_security:{captcha_token:i===null||i===void 0?void 0:i.captchaToken}},xform:u._sessionResponsePassword})}else if("phone"in e){const{phone:n,password:s,options:i}=e;r=await(0,u._request)(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:n,password:s,gotrue_meta_security:{captcha_token:i===null||i===void 0?void 0:i.captchaToken}},xform:u._sessionResponsePassword})}else{throw new c.AuthInvalidCredentialsError("You must provide either an email or phone number and a password")}const{data:n,error:s}=r;if(s){return{data:{user:null,session:null},error:s}}else if(!n||!n.session||!n.user){return{data:{user:null,session:null},error:new c.AuthInvalidTokenResponseError}}if(n.session){await this._saveSession(n.session);await this._notifyAllSubscribers("SIGNED_IN",n.session)}return{data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:s}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async signInWithOAuth(e){var r,n,s,i;return await this._handleProviderSignIn(e.provider,{redirectTo:(r=e.options)===null||r===void 0?void 0:r.redirectTo,scopes:(n=e.options)===null||n===void 0?void 0:n.scopes,queryParams:(s=e.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(i=e.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(e){await this.initializePromise;return this._acquireLock(-1,(async()=>this._exchangeCodeForSession(e)))}async _exchangeCodeForSession(e){const r=await(0,d.getItemAsync)(this.storage,`${this.storageKey}-code-verifier`);const[n,s]=(r!==null&&r!==void 0?r:"").split("/");try{const{data:r,error:i}=await(0,u._request)(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:n},xform:u._sessionResponse});await(0,d.removeItemAsync)(this.storage,`${this.storageKey}-code-verifier`);if(i){throw i}if(!r||!r.session||!r.user){return{data:{user:null,session:null,redirectType:null},error:new c.AuthInvalidTokenResponseError}}if(r.session){await this._saveSession(r.session);await this._notifyAllSubscribers("SIGNED_IN",r.session)}return{data:Object.assign(Object.assign({},r),{redirectType:s!==null&&s!==void 0?s:null}),error:i}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null,redirectType:null},error:e}}throw e}}async signInWithIdToken(e){try{const{options:r,provider:n,token:s,access_token:i,nonce:o}=e;const d=await(0,u._request)(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:n,id_token:s,access_token:i,nonce:o,gotrue_meta_security:{captcha_token:r===null||r===void 0?void 0:r.captchaToken}},xform:u._sessionResponse});const{data:A,error:h}=d;if(h){return{data:{user:null,session:null},error:h}}else if(!A||!A.session||!A.user){return{data:{user:null,session:null},error:new c.AuthInvalidTokenResponseError}}if(A.session){await this._saveSession(A.session);await this._notifyAllSubscribers("SIGNED_IN",A.session)}return{data:A,error:h}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async signInWithOtp(e){var r,n,s,i,o;try{if("email"in e){const{email:s,options:i}=e;let o=null;let c=null;if(this.flowType==="pkce"){[o,c]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey)}const{error:A}=await(0,u._request)(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:s,data:(r=i===null||i===void 0?void 0:i.data)!==null&&r!==void 0?r:{},create_user:(n=i===null||i===void 0?void 0:i.shouldCreateUser)!==null&&n!==void 0?n:true,gotrue_meta_security:{captcha_token:i===null||i===void 0?void 0:i.captchaToken},code_challenge:o,code_challenge_method:c},redirectTo:i===null||i===void 0?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:A}}if("phone"in e){const{phone:r,options:n}=e;const{data:c,error:d}=await(0,u._request)(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:r,data:(s=n===null||n===void 0?void 0:n.data)!==null&&s!==void 0?s:{},create_user:(i=n===null||n===void 0?void 0:n.shouldCreateUser)!==null&&i!==void 0?i:true,gotrue_meta_security:{captcha_token:n===null||n===void 0?void 0:n.captchaToken},channel:(o=n===null||n===void 0?void 0:n.channel)!==null&&o!==void 0?o:"sms"}});return{data:{user:null,session:null,messageId:c===null||c===void 0?void 0:c.message_id},error:d}}throw new c.AuthInvalidCredentialsError("You must provide either an email or phone number.")}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async verifyOtp(e){var r,n;try{let s=undefined;let i=undefined;if("options"in e){s=(r=e.options)===null||r===void 0?void 0:r.redirectTo;i=(n=e.options)===null||n===void 0?void 0:n.captchaToken}const{data:o,error:c}=await(0,u._request)(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:i}}),redirectTo:s,xform:u._sessionResponse});if(c){throw c}if(!o){throw new Error("An error occurred on token verification.")}const d=o.session;const A=o.user;if(d===null||d===void 0?void 0:d.access_token){await this._saveSession(d);await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",d)}return{data:{user:A,session:d},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async signInWithSSO(e){var r,n,s;try{let i=null;let o=null;if(this.flowType==="pkce"){[i,o]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey)}return await(0,u._request)(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:(n=(r=e.options)===null||r===void 0?void 0:r.redirectTo)!==null&&n!==void 0?n:undefined}),((s=e===null||e===void 0?void 0:e.options)===null||s===void 0?void 0:s.captchaToken)?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:true,code_challenge:i,code_challenge_method:o}),headers:this.headers,xform:u._ssoResponse})}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async reauthenticate(){await this.initializePromise;return await this._acquireLock(-1,(async()=>await this._reauthenticate()))}async _reauthenticate(){try{return await this._useSession((async e=>{const{data:{session:r},error:n}=e;if(n)throw n;if(!r)throw new c.AuthSessionMissingError;const{error:s}=await(0,u._request)(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:r.access_token});return{data:{user:null,session:null},error:s}}))}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async resend(e){try{const r=`${this.url}/resend`;if("email"in e){const{email:n,type:s,options:i}=e;const{error:o}=await(0,u._request)(this.fetch,"POST",r,{headers:this.headers,body:{email:n,type:s,gotrue_meta_security:{captcha_token:i===null||i===void 0?void 0:i.captchaToken}},redirectTo:i===null||i===void 0?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:o}}else if("phone"in e){const{phone:n,type:s,options:i}=e;const{data:o,error:c}=await(0,u._request)(this.fetch,"POST",r,{headers:this.headers,body:{phone:n,type:s,gotrue_meta_security:{captcha_token:i===null||i===void 0?void 0:i.captchaToken}}});return{data:{user:null,session:null,messageId:o===null||o===void 0?void 0:o.message_id},error:c}}throw new c.AuthInvalidCredentialsError("You must provide either an email or phone number and a type")}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async getSession(){await this.initializePromise;const e=await this._acquireLock(-1,(async()=>this._useSession((async e=>e))));return e}async _acquireLock(e,r){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve();const n=(async()=>{await e;return await r()})();this.pendingInLock.push((async()=>{try{await n}catch(e){}})());return n}return await this.lock(`lock:${this.storageKey}`,e,(async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=true;const e=r();this.pendingInLock.push((async()=>{try{await e}catch(e){}})());await e;while(this.pendingInLock.length){const e=[...this.pendingInLock];await Promise.all(e);this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey);this.lockAcquired=false}}))}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const r=await this.__loadSession();return await e(r)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin");if(!this.lockAcquired){this._debug("#__loadSession()","used outside of an acquired lock!",(new Error).stack)}try{let e=null;const r=await(0,d.getItemAsync)(this.storage,this.storageKey);this._debug("#getSession()","session from storage",r);if(r!==null){if(this._isValidSession(r)){e=r}else{this._debug("#getSession()","session from storage is not valid");await this._removeSession()}}if(!e){return{data:{session:null},error:null}}const n=e.expires_at?e.expires_at<=Date.now()/1e3:false;this._debug("#__loadSession()",`session has${n?"":" not"} expired`,"expires_at",e.expires_at);if(!n){if(this.storage.isServer){let r=this.suppressGetSessionWarning;const n=new Proxy(e,{get:(e,n,s)=>{if(!r&&n==="user"){console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server.");r=true;this.suppressGetSessionWarning=true}return Reflect.get(e,n,s)}});e=n}return{data:{session:e},error:null}}const{session:s,error:i}=await this._callRefreshToken(e.refresh_token);if(i){return{data:{session:null},error:i}}return{data:{session:s},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){if(e){return await this._getUser(e)}await this.initializePromise;const r=await this._acquireLock(-1,(async()=>await this._getUser()));return r}async _getUser(e){try{if(e){return await(0,u._request)(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:u._userResponse})}return await this._useSession((async e=>{var r,n,s;const{data:i,error:o}=e;if(o){throw o}if(!((r=i.session)===null||r===void 0?void 0:r.access_token)&&!this.hasCustomAuthorizationHeader){return{data:{user:null},error:new c.AuthSessionMissingError}}return await(0,u._request)(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(s=(n=i.session)===null||n===void 0?void 0:n.access_token)!==null&&s!==void 0?s:undefined,xform:u._userResponse})}))}catch(e){if((0,c.isAuthError)(e)){if((0,c.isAuthSessionMissingError)(e)){await this._removeSession();await(0,d.removeItemAsync)(this.storage,`${this.storageKey}-code-verifier`)}return{data:{user:null},error:e}}throw e}}async updateUser(e,r={}){await this.initializePromise;return await this._acquireLock(-1,(async()=>await this._updateUser(e,r)))}async _updateUser(e,r={}){try{return await this._useSession((async n=>{const{data:s,error:i}=n;if(i){throw i}if(!s.session){throw new c.AuthSessionMissingError}const o=s.session;let A=null;let h=null;if(this.flowType==="pkce"&&e.email!=null){[A,h]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey)}const{data:g,error:m}=await(0,u._request)(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:r===null||r===void 0?void 0:r.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:A,code_challenge_method:h}),jwt:o.access_token,xform:u._userResponse});if(m)throw m;o.user=g.user;await this._saveSession(o);await this._notifyAllSubscribers("USER_UPDATED",o);return{data:{user:o.user},error:null}}))}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null},error:e}}throw e}}_decodeJWT(e){return(0,d.decodeJWTPayload)(e)}async setSession(e){await this.initializePromise;return await this._acquireLock(-1,(async()=>await this._setSession(e)))}async _setSession(e){try{if(!e.access_token||!e.refresh_token){throw new c.AuthSessionMissingError}const r=Date.now()/1e3;let n=r;let s=true;let i=null;const o=(0,d.decodeJWTPayload)(e.access_token);if(o.exp){n=o.exp;s=n<=r}if(s){const{session:r,error:n}=await this._callRefreshToken(e.refresh_token);if(n){return{data:{user:null,session:null},error:n}}if(!r){return{data:{user:null,session:null},error:null}}i=r}else{const{data:s,error:o}=await this._getUser(e.access_token);if(o){throw o}i={access_token:e.access_token,refresh_token:e.refresh_token,user:s.user,token_type:"bearer",expires_in:n-r,expires_at:n};await this._saveSession(i);await this._notifyAllSubscribers("SIGNED_IN",i)}return{data:{user:i.user,session:i},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{session:null,user:null},error:e}}throw e}}async refreshSession(e){await this.initializePromise;return await this._acquireLock(-1,(async()=>await this._refreshSession(e)))}async _refreshSession(e){try{return await this._useSession((async r=>{var n;if(!e){const{data:s,error:i}=r;if(i){throw i}e=(n=s.session)!==null&&n!==void 0?n:undefined}if(!(e===null||e===void 0?void 0:e.refresh_token)){throw new c.AuthSessionMissingError}const{session:s,error:i}=await this._callRefreshToken(e.refresh_token);if(i){return{data:{user:null,session:null},error:i}}if(!s){return{data:{user:null,session:null},error:null}}return{data:{user:s.user,session:s},error:null}}))}catch(e){if((0,c.isAuthError)(e)){return{data:{user:null,session:null},error:e}}throw e}}async _getSessionFromURL(e){try{if(!(0,d.isBrowser)())throw new c.AuthImplicitGrantRedirectError("No browser detected.");if(this.flowType==="implicit"&&!this._isImplicitGrantFlow()){throw new c.AuthImplicitGrantRedirectError("Not a valid implicit grant flow url.")}else if(this.flowType=="pkce"&&!e){throw new c.AuthPKCEGrantCodeExchangeError("Not a valid PKCE flow url.")}const r=(0,d.parseParametersFromURL)(window.location.href);if(e){if(!r.code)throw new c.AuthPKCEGrantCodeExchangeError("No code detected.");const{data:e,error:n}=await this._exchangeCodeForSession(r.code);if(n)throw n;const s=new URL(window.location.href);s.searchParams.delete("code");window.history.replaceState(window.history.state,"",s.toString());return{data:{session:e.session,redirectType:null},error:null}}if(r.error||r.error_description||r.error_code){throw new c.AuthImplicitGrantRedirectError(r.error_description||"Error in URL with unspecified error_description",{error:r.error||"unspecified_error",code:r.error_code||"unspecified_code"})}const{provider_token:n,provider_refresh_token:s,access_token:i,refresh_token:o,expires_in:u,expires_at:A,token_type:h}=r;if(!i||!u||!o||!h){throw new c.AuthImplicitGrantRedirectError("No session defined in URL")}const g=Math.round(Date.now()/1e3);const m=parseInt(u);let y=g+m;if(A){y=parseInt(A)}const _=y-g;if(_*1e3<=E){console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${_}s, should have been closer to ${m}s`)}const b=y-m;if(g-b>=120){console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",b,y,g)}else if(g-b<0){console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",b,y,g)}const{data:I,error:v}=await this._getUser(i);if(v)throw v;const C={provider_token:n,provider_refresh_token:s,access_token:i,expires_in:m,expires_at:y,refresh_token:o,token_type:h,user:I.user};window.location.hash="";this._debug("#_getSessionFromURL()","clearing window.location.hash");return{data:{session:C,redirectType:r.type},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:{session:null,redirectType:null},error:e}}throw e}}_isImplicitGrantFlow(){const e=(0,d.parseParametersFromURL)(window.location.href);return!!((0,d.isBrowser)()&&(e.access_token||e.error_description))}async _isPKCEFlow(){const e=(0,d.parseParametersFromURL)(window.location.href);const r=await(0,d.getItemAsync)(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&r)}async signOut(e={scope:"global"}){await this.initializePromise;return await this._acquireLock(-1,(async()=>await this._signOut(e)))}async _signOut({scope:e}={scope:"global"}){return await this._useSession((async r=>{var n;const{data:s,error:i}=r;if(i){return{error:i}}const o=(n=s.session)===null||n===void 0?void 0:n.access_token;if(o){const{error:r}=await this.admin.signOut(o,e);if(r){if(!((0,c.isAuthApiError)(r)&&(r.status===404||r.status===401||r.status===403))){return{error:r}}}}if(e!=="others"){await this._removeSession();await(0,d.removeItemAsync)(this.storage,`${this.storageKey}-code-verifier`)}return{error:null}}))}onAuthStateChange(e){const r=(0,d.uuid)();const n={id:r,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",r);this.stateChangeEmitters.delete(r)}};this._debug("#onAuthStateChange()","registered callback with id",r);this.stateChangeEmitters.set(r,n);(async()=>{await this.initializePromise;await this._acquireLock(-1,(async()=>{this._emitInitialSession(r)}))})();return{data:{subscription:n}}}async _emitInitialSession(e){return await this._useSession((async r=>{var n,s;try{const{data:{session:s},error:i}=r;if(i)throw i;await((n=this.stateChangeEmitters.get(e))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",s));this._debug("INITIAL_SESSION","callback id",e,"session",s)}catch(r){await((s=this.stateChangeEmitters.get(e))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",null));this._debug("INITIAL_SESSION","callback id",e,"error",r);console.error(r)}}))}async resetPasswordForEmail(e,r={}){let n=null;let s=null;if(this.flowType==="pkce"){[n,s]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey,true)}try{return await(0,u._request)(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:n,code_challenge_method:s,gotrue_meta_security:{captcha_token:r.captchaToken}},headers:this.headers,redirectTo:r.redirectTo})}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async getUserIdentities(){var e;try{const{data:r,error:n}=await this.getUser();if(n)throw n;return{data:{identities:(e=r.user.identities)!==null&&e!==void 0?e:[]},error:null}}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async linkIdentity(e){var r;try{const{data:n,error:s}=await this._useSession((async r=>{var n,s,i,o,c;const{data:d,error:A}=r;if(A)throw A;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(n=e.options)===null||n===void 0?void 0:n.redirectTo,scopes:(s=e.options)===null||s===void 0?void 0:s.scopes,queryParams:(i=e.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:true});return await(0,u._request)(this.fetch,"GET",h,{headers:this.headers,jwt:(c=(o=d.session)===null||o===void 0?void 0:o.access_token)!==null&&c!==void 0?c:undefined})}));if(s)throw s;if((0,d.isBrowser)()&&!((r=e.options)===null||r===void 0?void 0:r.skipBrowserRedirect)){window.location.assign(n===null||n===void 0?void 0:n.url)}return{data:{provider:e.provider,url:n===null||n===void 0?void 0:n.url},error:null}}catch(r){if((0,c.isAuthError)(r)){return{data:{provider:e.provider,url:null},error:r}}throw r}}async unlinkIdentity(e){try{return await this._useSession((async r=>{var n,s;const{data:i,error:o}=r;if(o){throw o}return await(0,u._request)(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(s=(n=i.session)===null||n===void 0?void 0:n.access_token)!==null&&s!==void 0?s:undefined})}))}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async _refreshAccessToken(e){const r=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(r,"begin");try{const n=Date.now();return await(0,d.retryable)((async n=>{if(n>0){await(0,d.sleep)(200*Math.pow(2,n-1))}this._debug(r,"refreshing attempt",n);return await(0,u._request)(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:u._sessionResponse})}),((e,r)=>{const s=200*Math.pow(2,e);return r&&(0,c.isAuthRetryableFetchError)(r)&&Date.now()+s-n{try{await n.callback(e,r)}catch(e){s.push(e)}}));await Promise.all(i);if(s.length>0){for(let e=0;ethis._autoRefreshTokenTick()),E);this.autoRefreshTicker=e;if(e&&typeof e==="object"&&typeof e.unref==="function"){e.unref()}else if(typeof Deno!=="undefined"&&typeof Deno.unrefTimer==="function"){Deno.unrefTimer(e)}setTimeout((async()=>{await this.initializePromise;await this._autoRefreshTokenTick()}),0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null;if(e){clearInterval(e)}}async startAutoRefresh(){this._removeVisibilityChangedCallback();await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback();await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,(async()=>{try{const e=Date.now();try{return await this._useSession((async r=>{const{data:{session:n}}=r;if(!n||!n.refresh_token||!n.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((n.expires_at*1e3-e)/E);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${E}ms, refresh threshold is ${_} ticks`);if(s<=_){await this._callRefreshToken(n.refresh_token)}}))}catch(e){console.error("Auto refresh tick failed with error. This is likely a transient error.",e)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}))}catch(e){if(e.isAcquireTimeout||e instanceof m.LockAcquireTimeoutError){this._debug("auto refresh token tick lock not available")}else{throw e}}}async _handleVisibilityChange(){this._debug("#_handleVisibilityChange()");if(!(0,d.isBrowser)()||!(window===null||window===void 0?void 0:window.addEventListener)){if(this.autoRefreshToken){this.startAutoRefresh()}return false}try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(false);window===null||window===void 0?void 0:window.addEventListener("visibilitychange",this.visibilityChangedCallback);await this._onVisibilityChanged(true)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){const r=`#_onVisibilityChanged(${e})`;this._debug(r,"visibilityState",document.visibilityState);if(document.visibilityState==="visible"){if(this.autoRefreshToken){this._startAutoRefresh()}if(!e){await this.initializePromise;await this._acquireLock(-1,(async()=>{if(document.visibilityState!=="visible"){this._debug(r,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))}}else if(document.visibilityState==="hidden"){if(this.autoRefreshToken){this._stopAutoRefresh()}}}async _getUrlForProvider(e,r,n){const s=[`provider=${encodeURIComponent(r)}`];if(n===null||n===void 0?void 0:n.redirectTo){s.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`)}if(n===null||n===void 0?void 0:n.scopes){s.push(`scopes=${encodeURIComponent(n.scopes)}`)}if(this.flowType==="pkce"){const[e,r]=await(0,d.getCodeChallengeAndMethod)(this.storage,this.storageKey);const n=new URLSearchParams({code_challenge:`${encodeURIComponent(e)}`,code_challenge_method:`${encodeURIComponent(r)}`});s.push(n.toString())}if(n===null||n===void 0?void 0:n.queryParams){const e=new URLSearchParams(n.queryParams);s.push(e.toString())}if(n===null||n===void 0?void 0:n.skipBrowserRedirect){s.push(`skip_http_redirect=${n.skipBrowserRedirect}`)}return`${e}?${s.join("&")}`}async _unenroll(e){try{return await this._useSession((async r=>{var n;const{data:s,error:i}=r;if(i){return{data:null,error:i}}return await(0,u._request)(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:(n=s===null||s===void 0?void 0:s.session)===null||n===void 0?void 0:n.access_token})}))}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async _enroll(e){try{return await this._useSession((async r=>{var n,s;const{data:i,error:o}=r;if(o){return{data:null,error:o}}const c=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType==="phone"?{phone:e.phone}:{issuer:e.issuer});const{data:d,error:A}=await(0,u._request)(this.fetch,"POST",`${this.url}/factors`,{body:c,headers:this.headers,jwt:(n=i===null||i===void 0?void 0:i.session)===null||n===void 0?void 0:n.access_token});if(A){return{data:null,error:A}}if(e.factorType==="totp"&&((s=d===null||d===void 0?void 0:d.totp)===null||s===void 0?void 0:s.qr_code)){d.totp.qr_code=`data:image/svg+xml;utf-8,${d.totp.qr_code}`}return{data:d,error:null}}))}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}async _verify(e){return this._acquireLock(-1,(async()=>{try{return await this._useSession((async r=>{var n;const{data:s,error:i}=r;if(i){return{data:null,error:i}}const{data:o,error:c}=await(0,u._request)(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:(n=s===null||s===void 0?void 0:s.session)===null||n===void 0?void 0:n.access_token});if(c){return{data:null,error:c}}await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+o.expires_in},o));await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",o);return{data:o,error:c}}))}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}))}async _challenge(e){return this._acquireLock(-1,(async()=>{try{return await this._useSession((async r=>{var n;const{data:s,error:i}=r;if(i){return{data:null,error:i}}return await(0,u._request)(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{body:{channel:e.channel},headers:this.headers,jwt:(n=s===null||s===void 0?void 0:s.session)===null||n===void 0?void 0:n.access_token})}))}catch(e){if((0,c.isAuthError)(e)){return{data:null,error:e}}throw e}}))}async _challengeAndVerify(e){const{data:r,error:n}=await this._challenge({factorId:e.factorId});if(n){return{data:null,error:n}}return await this._verify({factorId:e.factorId,challengeId:r.id,code:e.code})}async _listFactors(){const{data:{user:e},error:r}=await this.getUser();if(r){return{data:null,error:r}}const n=(e===null||e===void 0?void 0:e.factors)||[];const s=n.filter((e=>e.factor_type==="totp"&&e.status==="verified"));const i=n.filter((e=>e.factor_type==="phone"&&e.status==="verified"));return{data:{all:n,totp:s,phone:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,(async()=>await this._useSession((async e=>{var r,n;const{data:{session:s},error:i}=e;if(i){return{data:null,error:i}}if(!s){return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null}}const o=this._decodeJWT(s.access_token);let c=null;if(o.aal){c=o.aal}let u=c;const d=(n=(r=s.user.factors)===null||r===void 0?void 0:r.filter((e=>e.status==="verified")))!==null&&n!==void 0?n:[];if(d.length>0){u="aal2"}const A=o.amr||[];return{data:{currentLevel:c,nextLevel:u,currentAuthenticationMethods:A},error:null}}))))}}r["default"]=GoTrueClient;GoTrueClient.nextInstanceID=0},31904:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.lockInternals=r.NavigatorLockAcquireTimeoutError=r.navigatorLock=r.AuthClient=r.AuthAdminApi=r.GoTrueClient=r.GoTrueAdminApi=void 0;const c=o(n(52165));r.GoTrueAdminApi=c.default;const u=o(n(16623));r.GoTrueClient=u.default;const d=o(n(68789));r.AuthAdminApi=d.default;const A=o(n(62495));r.AuthClient=A.default;i(n(53737),r);i(n(73981),r);var h=n(28932);Object.defineProperty(r,"navigatorLock",{enumerable:true,get:function(){return h.navigatorLock}});Object.defineProperty(r,"NavigatorLockAcquireTimeoutError",{enumerable:true,get:function(){return h.NavigatorLockAcquireTimeoutError}});Object.defineProperty(r,"lockInternals",{enumerable:true,get:function(){return h.internals}})},26705:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.API_VERSIONS=r.API_VERSION_HEADER_NAME=r.NETWORK_FAILURE=r.EXPIRY_MARGIN=r.DEFAULT_HEADERS=r.AUDIENCE=r.STORAGE_KEY=r.GOTRUE_URL=void 0;const s=n(41920);r.GOTRUE_URL="http://localhost:9999";r.STORAGE_KEY="supabase.auth.token";r.AUDIENCE="";r.DEFAULT_HEADERS={"X-Client-Info":`gotrue-js/${s.version}`};r.EXPIRY_MARGIN=10;r.NETWORK_FAILURE={MAX_RETRIES:10,RETRY_INTERVAL:2};r.API_VERSION_HEADER_NAME="X-Supabase-Api-Version";r.API_VERSIONS={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}}},73981:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isAuthWeakPasswordError=r.AuthWeakPasswordError=r.isAuthRetryableFetchError=r.AuthRetryableFetchError=r.AuthPKCEGrantCodeExchangeError=r.AuthImplicitGrantRedirectError=r.AuthInvalidCredentialsError=r.AuthInvalidTokenResponseError=r.isAuthSessionMissingError=r.AuthSessionMissingError=r.CustomAuthError=r.AuthUnknownError=r.isAuthApiError=r.AuthApiError=r.isAuthError=r.AuthError=void 0;class AuthError extends Error{constructor(e,r,n){super(e);this.__isAuthError=true;this.name="AuthError";this.status=r;this.code=n}}r.AuthError=AuthError;function isAuthError(e){return typeof e==="object"&&e!==null&&"__isAuthError"in e}r.isAuthError=isAuthError;class AuthApiError extends AuthError{constructor(e,r,n){super(e,r,n);this.name="AuthApiError";this.status=r;this.code=n}}r.AuthApiError=AuthApiError;function isAuthApiError(e){return isAuthError(e)&&e.name==="AuthApiError"}r.isAuthApiError=isAuthApiError;class AuthUnknownError extends AuthError{constructor(e,r){super(e);this.name="AuthUnknownError";this.originalError=r}}r.AuthUnknownError=AuthUnknownError;class CustomAuthError extends AuthError{constructor(e,r,n,s){super(e,n,s);this.name=r;this.status=n}}r.CustomAuthError=CustomAuthError;class AuthSessionMissingError extends CustomAuthError{constructor(){super("Auth session missing!","AuthSessionMissingError",400,undefined)}}r.AuthSessionMissingError=AuthSessionMissingError;function isAuthSessionMissingError(e){return isAuthError(e)&&e.name==="AuthSessionMissingError"}r.isAuthSessionMissingError=isAuthSessionMissingError;class AuthInvalidTokenResponseError extends CustomAuthError{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,undefined)}}r.AuthInvalidTokenResponseError=AuthInvalidTokenResponseError;class AuthInvalidCredentialsError extends CustomAuthError{constructor(e){super(e,"AuthInvalidCredentialsError",400,undefined)}}r.AuthInvalidCredentialsError=AuthInvalidCredentialsError;class AuthImplicitGrantRedirectError extends CustomAuthError{constructor(e,r=null){super(e,"AuthImplicitGrantRedirectError",500,undefined);this.details=null;this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}r.AuthImplicitGrantRedirectError=AuthImplicitGrantRedirectError;class AuthPKCEGrantCodeExchangeError extends CustomAuthError{constructor(e,r=null){super(e,"AuthPKCEGrantCodeExchangeError",500,undefined);this.details=null;this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}r.AuthPKCEGrantCodeExchangeError=AuthPKCEGrantCodeExchangeError;class AuthRetryableFetchError extends CustomAuthError{constructor(e,r){super(e,"AuthRetryableFetchError",r,undefined)}}r.AuthRetryableFetchError=AuthRetryableFetchError;function isAuthRetryableFetchError(e){return isAuthError(e)&&e.name==="AuthRetryableFetchError"}r.isAuthRetryableFetchError=isAuthRetryableFetchError;class AuthWeakPasswordError extends CustomAuthError{constructor(e,r,n){super(e,"AuthWeakPasswordError",r,"weak_password");this.reasons=n}}r.AuthWeakPasswordError=AuthWeakPasswordError;function isAuthWeakPasswordError(e){return isAuthError(e)&&e.name==="AuthWeakPasswordError"}r.isAuthWeakPasswordError=isAuthWeakPasswordError},92356:function(e,r,n){var s=this&&this.__rest||function(e,r){var n={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0)n[s]=e[s];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,s=Object.getOwnPropertySymbols(e);ie.msg||e.message||e.error_description||e.error||JSON.stringify(e);const u=[502,503,504];async function handleError(e){var r;if(!(0,o.looksLikeFetchResponse)(e)){throw new c.AuthRetryableFetchError(_getErrorMessage(e),0)}if(u.includes(e.status)){throw new c.AuthRetryableFetchError(_getErrorMessage(e),e.status)}let n;try{n=await e.json()}catch(e){throw new c.AuthUnknownError(_getErrorMessage(e),e)}let s=undefined;const d=(0,o.parseResponseAPIVersion)(e);if(d&&d.getTime()>=i.API_VERSIONS["2024-01-01"].timestamp&&typeof n==="object"&&n&&typeof n.code==="string"){s=n.code}else if(typeof n==="object"&&n&&typeof n.error_code==="string"){s=n.error_code}if(!s){if(typeof n==="object"&&n&&typeof n.weak_password==="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce(((e,r)=>e&&typeof r==="string"),true)){throw new c.AuthWeakPasswordError(_getErrorMessage(n),e.status,n.weak_password.reasons)}}else if(s==="weak_password"){throw new c.AuthWeakPasswordError(_getErrorMessage(n),e.status,((r=n.weak_password)===null||r===void 0?void 0:r.reasons)||[])}else if(s==="session_not_found"){throw new c.AuthSessionMissingError}throw new c.AuthApiError(_getErrorMessage(n),e.status||500,s)}r.handleError=handleError;const _getRequestParams=(e,r,n,s)=>{const i={method:e,headers:(r===null||r===void 0?void 0:r.headers)||{}};if(e==="GET"){return i}i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},r===null||r===void 0?void 0:r.headers);i.body=JSON.stringify(s);return Object.assign(Object.assign({},i),n)};async function _request(e,r,n,s){var o;const c=Object.assign({},s===null||s===void 0?void 0:s.headers);if(!c[i.API_VERSION_HEADER_NAME]){c[i.API_VERSION_HEADER_NAME]=i.API_VERSIONS["2024-01-01"].name}if(s===null||s===void 0?void 0:s.jwt){c["Authorization"]=`Bearer ${s.jwt}`}const u=(o=s===null||s===void 0?void 0:s.query)!==null&&o!==void 0?o:{};if(s===null||s===void 0?void 0:s.redirectTo){u["redirect_to"]=s.redirectTo}const d=Object.keys(u).length?"?"+new URLSearchParams(u).toString():"";const A=await _handleRequest(e,r,n+d,{headers:c,noResolveJson:s===null||s===void 0?void 0:s.noResolveJson},{},s===null||s===void 0?void 0:s.body);return(s===null||s===void 0?void 0:s.xform)?s===null||s===void 0?void 0:s.xform(A):{data:Object.assign({},A),error:null}}r._request=_request;async function _handleRequest(e,r,n,s,i,o){const u=_getRequestParams(r,s,i,o);let d;try{d=await e(n,Object.assign({},u))}catch(e){console.error(e);throw new c.AuthRetryableFetchError(_getErrorMessage(e),0)}if(!d.ok){await handleError(d)}if(s===null||s===void 0?void 0:s.noResolveJson){return d}try{return await d.json()}catch(e){await handleError(e)}}function _sessionResponse(e){var r;let n=null;if(hasSession(e)){n=Object.assign({},e);if(!e.expires_at){n.expires_at=(0,o.expiresAt)(e.expires_in)}}const s=(r=e.user)!==null&&r!==void 0?r:e;return{data:{session:n,user:s},error:null}}r._sessionResponse=_sessionResponse;function _sessionResponsePassword(e){const r=_sessionResponse(e);if(!r.error&&e.weak_password&&typeof e.weak_password==="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message==="string"&&e.weak_password.reasons.reduce(((e,r)=>e&&typeof r==="string"),true)){r.data.weak_password=e.weak_password}return r}r._sessionResponsePassword=_sessionResponsePassword;function _userResponse(e){var r;const n=(r=e.user)!==null&&r!==void 0?r:e;return{data:{user:n},error:null}}r._userResponse=_userResponse;function _ssoResponse(e){return{data:e,error:null}}r._ssoResponse=_ssoResponse;function _generateLinkResponse(e){const{action_link:r,email_otp:n,hashed_token:i,redirect_to:o,verification_type:c}=e,u=s(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]);const d={action_link:r,email_otp:n,hashed_token:i,redirect_to:o,verification_type:c};const A=Object.assign({},u);return{data:{properties:d,user:A},error:null}}r._generateLinkResponse=_generateLinkResponse;function _noResolveJsonResponse(e){return e}r._noResolveJsonResponse=_noResolveJsonResponse;function hasSession(e){return e.access_token&&e.refresh_token&&e.expires_in}},30601:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.parseResponseAPIVersion=r.getCodeChallengeAndMethod=r.generatePKCEChallenge=r.generatePKCEVerifier=r.retryable=r.sleep=r.decodeJWTPayload=r.Deferred=r.decodeBase64URL=r.removeItemAsync=r.getItemAsync=r.setItemAsync=r.looksLikeFetchResponse=r.resolveFetch=r.parseParametersFromURL=r.supportsLocalStorage=r.isBrowser=r.uuid=r.expiresAt=void 0;const c=n(26705);function expiresAt(e){const r=Math.round(Date.now()/1e3);return r+e}r.expiresAt=expiresAt;function uuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const r=Math.random()*16|0,n=e=="x"?r:r&3|8;return n.toString(16)}))}r.uuid=uuid;const isBrowser=()=>typeof document!=="undefined";r.isBrowser=isBrowser;const u={tested:false,writable:false};const supportsLocalStorage=()=>{if(!(0,r.isBrowser)()){return false}try{if(typeof globalThis.localStorage!=="object"){return false}}catch(e){return false}if(u.tested){return u.writable}const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e);globalThis.localStorage.removeItem(e);u.tested=true;u.writable=true}catch(e){u.tested=true;u.writable=false}return u.writable};r.supportsLocalStorage=supportsLocalStorage;function parseParametersFromURL(e){const r={};const n=new URL(e);if(n.hash&&n.hash[0]==="#"){try{const e=new URLSearchParams(n.hash.substring(1));e.forEach(((e,n)=>{r[n]=e}))}catch(e){}}n.searchParams.forEach(((e,n)=>{r[n]=e}));return r}r.parseParametersFromURL=parseParametersFromURL;const resolveFetch=e=>{let r;if(e){r=e}else if(typeof fetch==="undefined"){r=(...e)=>Promise.resolve().then((()=>o(n(83318)))).then((({default:r})=>r(...e)))}else{r=fetch}return(...e)=>r(...e)};r.resolveFetch=resolveFetch;const looksLikeFetchResponse=e=>typeof e==="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json==="function";r.looksLikeFetchResponse=looksLikeFetchResponse;const setItemAsync=async(e,r,n)=>{await e.setItem(r,JSON.stringify(n))};r.setItemAsync=setItemAsync;const getItemAsync=async(e,r)=>{const n=await e.getItem(r);if(!n){return null}try{return JSON.parse(n)}catch(e){return n}};r.getItemAsync=getItemAsync;const removeItemAsync=async(e,r)=>{await e.removeItem(r)};r.removeItemAsync=removeItemAsync;function decodeBase64URL(e){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="";let s,i,o;let c,u,d,A;let h=0;e=e.replace("-","+").replace("_","/");while(h>4;i=(u&15)<<4|d>>2;o=(d&3)<<6|A;n=n+String.fromCharCode(s);if(d!=64&&i!=0){n=n+String.fromCharCode(i)}if(A!=64&&o!=0){n=n+String.fromCharCode(o)}}return n}r.decodeBase64URL=decodeBase64URL;class Deferred{constructor(){this.promise=new Deferred.promiseConstructor(((e,r)=>{this.resolve=e;this.reject=r}))}}r.Deferred=Deferred;Deferred.promiseConstructor=Promise;function decodeJWTPayload(e){const r=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i;const n=e.split(".");if(n.length!==3){throw new Error("JWT is not valid: not a JWT structure")}if(!r.test(n[1])){throw new Error("JWT is not valid: payload is not in base64url format")}const s=n[1];return JSON.parse(decodeBase64URL(s))}r.decodeJWTPayload=decodeJWTPayload;async function sleep(e){return await new Promise((r=>{setTimeout((()=>r(null)),e)}))}r.sleep=sleep;function retryable(e,r){const n=new Promise(((n,s)=>{(async()=>{for(let i=0;iString.fromCharCode(e))).join("")}function base64urlencode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function generatePKCEChallenge(e){const r=typeof crypto!=="undefined"&&typeof crypto.subtle!=="undefined"&&typeof TextEncoder!=="undefined";if(!r){console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.");return e}const n=await sha256(e);return base64urlencode(n)}r.generatePKCEChallenge=generatePKCEChallenge;async function getCodeChallengeAndMethod(e,n,s=false){const i=generatePKCEVerifier();let o=i;if(s){o+="/PASSWORD_RECOVERY"}await(0,r.setItemAsync)(e,`${n}-code-verifier`,o);const c=await generatePKCEChallenge(i);const u=i===c?"plain":"s256";return[c,u]}r.getCodeChallengeAndMethod=getCodeChallengeAndMethod;const d=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function parseResponseAPIVersion(e){const r=e.headers.get(c.API_VERSION_HEADER_NAME);if(!r){return null}if(!r.match(d)){return null}try{const e=new Date(`${r}T00:00:00.0Z`);return e}catch(e){return null}}r.parseResponseAPIVersion=parseResponseAPIVersion},21735:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.memoryLocalStorageAdapter=r.localStorageAdapter=void 0;const s=n(30601);r.localStorageAdapter={getItem:e=>{if(!(0,s.supportsLocalStorage)()){return null}return globalThis.localStorage.getItem(e)},setItem:(e,r)=>{if(!(0,s.supportsLocalStorage)()){return}globalThis.localStorage.setItem(e,r)},removeItem:e=>{if(!(0,s.supportsLocalStorage)()){return}globalThis.localStorage.removeItem(e)}};function memoryLocalStorageAdapter(e={}){return{getItem:r=>e[r]||null,setItem:(r,n)=>{e[r]=n},removeItem:r=>{delete e[r]}}}r.memoryLocalStorageAdapter=memoryLocalStorageAdapter},28932:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.navigatorLock=r.NavigatorLockAcquireTimeoutError=r.LockAcquireTimeoutError=r.internals=void 0;const s=n(30601);r.internals={debug:!!(globalThis&&(0,s.supportsLocalStorage)()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class LockAcquireTimeoutError extends Error{constructor(e){super(e);this.isAcquireTimeout=true}}r.LockAcquireTimeoutError=LockAcquireTimeoutError;class NavigatorLockAcquireTimeoutError extends LockAcquireTimeoutError{}r.NavigatorLockAcquireTimeoutError=NavigatorLockAcquireTimeoutError;async function navigatorLock(e,n,s){if(r.internals.debug){console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,n)}const i=new globalThis.AbortController;if(n>0){setTimeout((()=>{i.abort();if(r.internals.debug){console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)}}),n)}return await globalThis.navigator.locks.request(e,n===0?{mode:"exclusive",ifAvailable:true}:{mode:"exclusive",signal:i.signal},(async i=>{if(i){if(r.internals.debug){console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name)}try{return await s()}finally{if(r.internals.debug){console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}}else{if(n===0){if(r.internals.debug){console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e)}throw new NavigatorLockAcquireTimeoutError(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`)}else{if(r.internals.debug){try{const e=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(e,null," "))}catch(e){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",e)}}console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request");return await s()}}}))}r.navigatorLock=navigatorLock},80512:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.polyfillGlobalThis=void 0;function polyfillGlobalThis(){if(typeof globalThis==="object")return;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:true});__magic__.globalThis=__magic__;delete Object.prototype.__magic__}catch(e){if(typeof self!=="undefined"){self.globalThis=self}}}r.polyfillGlobalThis=polyfillGlobalThis},53737:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true})},41920:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="2.65.1"},39149:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.FunctionsClient=void 0;const i=n(44495);const o=n(70842);class FunctionsClient{constructor(e,{headers:r={},customFetch:n,region:s=o.FunctionRegion.Any}={}){this.url=e;this.headers=r;this.region=s;this.fetch=(0,i.resolveFetch)(n)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e,r={}){var n;return s(this,void 0,void 0,(function*(){try{const{headers:s,method:i,body:c}=r;let u={};let{region:d}=r;if(!d){d=this.region}if(d&&d!=="any"){u["x-region"]=d}let A;if(c&&(s&&!Object.prototype.hasOwnProperty.call(s,"Content-Type")||!s)){if(typeof Blob!=="undefined"&&c instanceof Blob||c instanceof ArrayBuffer){u["Content-Type"]="application/octet-stream";A=c}else if(typeof c==="string"){u["Content-Type"]="text/plain";A=c}else if(typeof FormData!=="undefined"&&c instanceof FormData){A=c}else{u["Content-Type"]="application/json";A=JSON.stringify(c)}}const h=yield this.fetch(`${this.url}/${e}`,{method:i||"POST",headers:Object.assign(Object.assign(Object.assign({},u),this.headers),s),body:A}).catch((e=>{throw new o.FunctionsFetchError(e)}));const g=h.headers.get("x-relay-error");if(g&&g==="true"){throw new o.FunctionsRelayError(h)}if(!h.ok){throw new o.FunctionsHttpError(h)}let m=((n=h.headers.get("Content-Type"))!==null&&n!==void 0?n:"text/plain").split(";")[0].trim();let y;if(m==="application/json"){y=yield h.json()}else if(m==="application/octet-stream"){y=yield h.blob()}else if(m==="text/event-stream"){y=h}else if(m==="multipart/form-data"){y=yield h.formData()}else{y=yield h.text()}return{data:y,error:null}}catch(e){return{data:null,error:e}}}))}}r.FunctionsClient=FunctionsClient},44495:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.resolveFetch=void 0;const resolveFetch=e=>{let r;if(e){r=e}else if(typeof fetch==="undefined"){r=(...e)=>Promise.resolve().then((()=>o(n(83318)))).then((({default:r})=>r(...e)))}else{r=fetch}return(...e)=>r(...e)};r.resolveFetch=resolveFetch},70459:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.FunctionRegion=r.FunctionsRelayError=r.FunctionsHttpError=r.FunctionsFetchError=r.FunctionsError=r.FunctionsClient=void 0;var s=n(39149);Object.defineProperty(r,"FunctionsClient",{enumerable:true,get:function(){return s.FunctionsClient}});var i=n(70842);Object.defineProperty(r,"FunctionsError",{enumerable:true,get:function(){return i.FunctionsError}});Object.defineProperty(r,"FunctionsFetchError",{enumerable:true,get:function(){return i.FunctionsFetchError}});Object.defineProperty(r,"FunctionsHttpError",{enumerable:true,get:function(){return i.FunctionsHttpError}});Object.defineProperty(r,"FunctionsRelayError",{enumerable:true,get:function(){return i.FunctionsRelayError}});Object.defineProperty(r,"FunctionRegion",{enumerable:true,get:function(){return i.FunctionRegion}})},70842:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.FunctionRegion=r.FunctionsHttpError=r.FunctionsRelayError=r.FunctionsFetchError=r.FunctionsError=void 0;class FunctionsError extends Error{constructor(e,r="FunctionsError",n){super(e);this.name=r;this.context=n}}r.FunctionsError=FunctionsError;class FunctionsFetchError extends FunctionsError{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}r.FunctionsFetchError=FunctionsFetchError;class FunctionsRelayError extends FunctionsError{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}r.FunctionsRelayError=FunctionsRelayError;class FunctionsHttpError extends FunctionsError{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}r.FunctionsHttpError=FunctionsHttpError;var n;(function(e){e["Any"]="any";e["ApNortheast1"]="ap-northeast-1";e["ApNortheast2"]="ap-northeast-2";e["ApSouth1"]="ap-south-1";e["ApSoutheast1"]="ap-southeast-1";e["ApSoutheast2"]="ap-southeast-2";e["CaCentral1"]="ca-central-1";e["EuCentral1"]="eu-central-1";e["EuWest1"]="eu-west-1";e["EuWest2"]="eu-west-2";e["EuWest3"]="eu-west-3";e["SaEast1"]="sa-east-1";e["UsEast1"]="us-east-1";e["UsWest1"]="us-west-1";e["UsWest2"]="us-west-2"})(n=r.FunctionRegion||(r.FunctionRegion={}))},83318:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=_interopDefault(n(2203));var i=_interopDefault(n(58611));var o=_interopDefault(n(87016));var c=_interopDefault(n(62686));var u=_interopDefault(n(65692));var d=_interopDefault(n(43106));const A=s.Readable;const h=Symbol("buffer");const g=Symbol("type");class Blob{constructor(){this[g]="";const e=arguments[0];const r=arguments[1];const n=[];let s=0;if(e){const r=e;const i=Number(r.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},i=n.size;let o=i===undefined?0:i;var c=n.timeout;let u=c===undefined?0:c;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e));else if(Buffer.isBuffer(e));else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof s);else{e=Buffer.from(String(e))}this[y]={body:e,disturbed:false,error:null};this.size=o;this.timeout=u;if(e instanceof s){e.on("error",(function(e){const n=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[y].error=n}))}}Body.prototype={get body(){return this[y].body},get bodyUsed(){return this[y].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(r){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[h]:r})}))},json(){var e=this;return consumeBody.call(this).then((function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(e){return e.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then((function(r){return convertBody(r,e.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const r of Object.getOwnPropertyNames(Body.prototype)){if(!(r in e)){const n=Object.getOwnPropertyDescriptor(Body.prototype,r);Object.defineProperty(e,r,n)}}};function consumeBody(){var e=this;if(this[y].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[y].disturbed=true;if(this[y].error){return Body.Promise.reject(this[y].error)}let r=this.body;if(r===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(r)){r=r.stream()}if(Buffer.isBuffer(r)){return Body.Promise.resolve(r)}if(!(r instanceof s)){return Body.Promise.resolve(Buffer.alloc(0))}let n=[];let i=0;let o=false;return new Body.Promise((function(s,c){let u;if(e.timeout){u=setTimeout((function(){o=true;c(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)}r.on("error",(function(r){if(r.name==="AbortError"){o=true;c(r)}else{c(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${r.message}`,"system",r))}}));r.on("data",(function(r){if(o||r===null){return}if(e.size&&i+r.length>e.size){o=true;c(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=r.length;n.push(r)}));r.on("end",(function(){if(o){return}clearTimeout(u);try{s(Buffer.concat(n,i))}catch(r){c(new FetchError(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}}))}))}function convertBody(e,r){{throw new Error("The package `encoding` must be installed to use the textConverted() function")}const n=r.get("content-type");let s="utf-8";let i,o;if(n){i=/charset=([^;]*)/i.exec(n)}o=e.slice(0,1024).toString();if(!i&&o){i=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[I]=Object.create(null);if(e instanceof Headers){const r=e.raw();const n=Object.keys(r);for(const e of n){for(const n of r[e]){this.append(e,n)}}return}if(e==null);else if(typeof e==="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!=="function"){throw new TypeError("Header pairs must be iterable")}const n=[];for(const r of e){if(typeof r!=="object"||typeof r[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}n.push(Array.from(r))}for(const e of n){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const r of Object.keys(e)){const n=e[r];this.append(r,n)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const r=find(this[I],e);if(r===undefined){return null}return this[I][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let n=getHeaders(this);let s=0;while(s1&&arguments[1]!==undefined?arguments[1]:"key+value";const n=Object.keys(e[I]).sort();return n.map(r==="key"?function(e){return e.toLowerCase()}:r==="value"?function(r){return e[I][r].join(", ")}:function(r){return[r.toLowerCase(),e[I][r].join(", ")]})}const v=Symbol("internal");function createHeadersIterator(e,r){const n=Object.create(C);n[v]={target:e,kind:r,index:0};return n}const C=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==C){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[v];const r=e.target,n=e.kind,s=e.index;const i=getHeaders(r,n);const o=i.length;if(s>=o){return{value:undefined,done:true}}this[v].index=s+1;return{value:i[s],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(C,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const r=Object.assign({__proto__:null},e[I]);const n=find(e[I],"Host");if(n!==undefined){r[n]=r[n][0]}return r}function createHeadersLenient(e){const r=new Headers;for(const n of Object.keys(e)){if(_.test(n)){continue}if(Array.isArray(e[n])){for(const s of e[n]){if(b.test(s)){continue}if(r[I][n]===undefined){r[I][n]=[s]}else{r[I][n].push(s)}}}else if(!b.test(e[n])){r[I][n]=[e[n]]}}return r}const w=Symbol("Response internals");const B=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,r);const n=r.status||200;const s=new Headers(r.headers);if(e!=null&&!s.has("Content-Type")){const r=extractContentType(e);if(r){s.append("Content-Type",r)}}this[w]={url:r.url,status:n,statusText:r.statusText||B[n],headers:s,counter:r.counter}}get url(){return this[w].url||""}get status(){return this[w].status}get ok(){return this[w].status>=200&&this[w].status<300}get redirected(){return this[w].counter>0}get statusText(){return this[w].statusText}get headers(){return this[w].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const S=Symbol("Request internals");const T=o.URL||c.URL;const k=o.parse;const R=o.format;function parseURL(e){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)){e=new T(e).toString()}return k(e)}const Q="destroy"in s.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[S]==="object"}function isAbortSignal(e){const r=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(r&&r.constructor.name==="AbortSignal")}class Request{constructor(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n;if(!isRequest(e)){if(e&&e.href){n=parseURL(e.href)}else{n=parseURL(`${e}`)}e={}}else{n=parseURL(e.url)}let s=r.method||e.method||"GET";s=s.toUpperCase();if((r.body!=null||isRequest(e)&&e.body!==null)&&(s==="GET"||s==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=r.body!=null?r.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const o=new Headers(r.headers||e.headers||{});if(i!=null&&!o.has("Content-Type")){const e=extractContentType(i);if(e){o.append("Content-Type",e)}}let c=isRequest(e)?e.signal:null;if("signal"in r)c=r.signal;if(c!=null&&!isAbortSignal(c)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[S]={method:s,redirect:r.redirect||e.redirect||"follow",headers:o,parsedURL:n,signal:c};this.follow=r.follow!==undefined?r.follow:e.follow!==undefined?e.follow:20;this.compress=r.compress!==undefined?r.compress:e.compress!==undefined?e.compress:true;this.counter=r.counter||e.counter||0;this.agent=r.agent||e.agent}get method(){return this[S].method}get url(){return R(this[S].parsedURL)}get headers(){return this[S].headers}get redirect(){return this[S].redirect}get signal(){return this[S].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const r=e[S].parsedURL;const n=new Headers(e[S].headers);if(!n.has("Accept")){n.set("Accept","*/*")}if(!r.protocol||!r.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(r.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof s.Readable&&!Q){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const r=getTotalBytes(e);if(typeof r==="number"){i=String(r)}}if(i){n.set("Content-Length",i)}if(!n.has("User-Agent")){n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!n.has("Accept-Encoding")){n.set("Accept-Encoding","gzip,deflate")}let o=e.agent;if(typeof o==="function"){o=o(r)}if(!n.has("Connection")&&!o){n.set("Connection","close")}return Object.assign({},r,{method:e.method,headers:exportNodeCompatibleHeaders(n),agent:o})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const P=o.URL||c.URL;const O=s.PassThrough;const D=function isDomainOrSubdomain(e,r){const n=new P(r).hostname;const s=new P(e).hostname;return n===s||n[n.length-s.length-1]==="."&&n.endsWith(s)};const F=function isSameProtocol(e,r){const n=new P(r).protocol;const s=new P(e).protocol;return n===s};function fetch(e,r){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise((function(n,o){const c=new Request(e,r);const A=getNodeRequestOptions(c);const h=(A.protocol==="https:"?u:i).request;const g=c.signal;let m=null;const y=function abort(){let e=new AbortError("The user aborted a request.");o(e);if(c.body&&c.body instanceof s.Readable){destroyStream(c.body,e)}if(!m||!m.body)return;m.body.emit("error",e)};if(g&&g.aborted){y();return}const E=function abortAndFinalize(){y();finalize()};const _=h(A);let b;if(g){g.addEventListener("abort",E)}function finalize(){_.abort();if(g)g.removeEventListener("abort",E);clearTimeout(b)}if(c.timeout){_.once("socket",(function(e){b=setTimeout((function(){o(new FetchError(`network timeout at: ${c.url}`,"request-timeout"));finalize()}),c.timeout)}))}_.on("error",(function(e){o(new FetchError(`request to ${c.url} failed, reason: ${e.message}`,"system",e));if(m&&m.body){destroyStream(m.body,e)}finalize()}));fixResponseChunkedTransferBadEnding(_,(function(e){if(g&&g.aborted){return}if(m&&m.body){destroyStream(m.body,e)}}));if(parseInt(process.version.substring(1))<14){_.on("socket",(function(e){e.addListener("close",(function(r){const n=e.listenerCount("data")>0;if(m&&n&&!r&&!(g&&g.aborted)){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";m.body.emit("error",e)}}))}))}_.on("response",(function(e){clearTimeout(b);const r=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const s=r.get("Location");let i=null;try{i=s===null?null:new P(s,c.url).toString()}catch(e){if(c.redirect!=="manual"){o(new FetchError(`uri requested responds with an invalid redirect URL: ${s}`,"invalid-redirect"));finalize();return}}switch(c.redirect){case"error":o(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${c.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{r.set("Location",i)}catch(e){o(e)}}break;case"follow":if(i===null){break}if(c.counter>=c.follow){o(new FetchError(`maximum redirect reached at: ${c.url}`,"max-redirect"));finalize();return}const s={headers:new Headers(c.headers),follow:c.follow,counter:c.counter+1,agent:c.agent,compress:c.compress,method:c.method,body:c.body,signal:c.signal,timeout:c.timeout,size:c.size};if(!D(c.url,i)||!F(c.url,i)){for(const e of["authorization","www-authenticate","cookie","cookie2"]){s.headers.delete(e)}}if(e.statusCode!==303&&c.body&&getTotalBytes(c)===null){o(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&c.method==="POST"){s.method="GET";s.body=undefined;s.headers.delete("content-length")}n(fetch(new Request(i,s)));finalize();return}}e.once("end",(function(){if(g)g.removeEventListener("abort",E)}));let s=e.pipe(new O);const i={url:c.url,status:e.statusCode,statusText:e.statusMessage,headers:r,size:c.size,timeout:c.timeout,counter:c.counter};const u=r.get("Content-Encoding");if(!c.compress||c.method==="HEAD"||u===null||e.statusCode===204||e.statusCode===304){m=new Response(s,i);n(m);return}const A={flush:d.Z_SYNC_FLUSH,finishFlush:d.Z_SYNC_FLUSH};if(u=="gzip"||u=="x-gzip"){s=s.pipe(d.createGunzip(A));m=new Response(s,i);n(m);return}if(u=="deflate"||u=="x-deflate"){const r=e.pipe(new O);r.once("data",(function(e){if((e[0]&15)===8){s=s.pipe(d.createInflate())}else{s=s.pipe(d.createInflateRaw())}m=new Response(s,i);n(m)}));r.on("end",(function(){if(!m){m=new Response(s,i);n(m)}}));return}if(u=="br"&&typeof d.createBrotliDecompress==="function"){s=s.pipe(d.createBrotliDecompress());m=new Response(s,i);n(m);return}m=new Response(s,i);n(m)}));writeToStream(_,c)}))}function fixResponseChunkedTransferBadEnding(e,r){let n;e.on("socket",(function(e){n=e}));e.on("response",(function(e){const s=e.headers;if(s["transfer-encoding"]==="chunked"&&!s["content-length"]){e.once("close",(function(e){const s=n&&n.listenerCount("data")>0;if(s&&!e){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";r(e)}}))}}))}function destroyStream(e,r){if(e.destroy){e.destroy(r)}else{e.emit("error",r);e.end()}}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=r=fetch;Object.defineProperty(r,"__esModule",{value:true});r["default"]=r;r.Headers=Headers;r.Request=Request;r.Response=Response;r.FetchError=FetchError},88850:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(83318));const o=s(n(57631));class PostgrestBuilder{constructor(e){this.shouldThrowOnError=false;this.method=e.method;this.url=e.url;this.headers=e.headers;this.schema=e.schema;this.body=e.body;this.shouldThrowOnError=e.shouldThrowOnError;this.signal=e.signal;this.isMaybeSingle=e.isMaybeSingle;if(e.fetch){this.fetch=e.fetch}else if(typeof fetch==="undefined"){this.fetch=i.default}else{this.fetch=fetch}}throwOnError(){this.shouldThrowOnError=true;return this}setHeader(e,r){this.headers=Object.assign({},this.headers);this.headers[e]=r;return this}then(e,r){if(this.schema===undefined){}else if(["GET","HEAD"].includes(this.method)){this.headers["Accept-Profile"]=this.schema}else{this.headers["Content-Profile"]=this.schema}if(this.method!=="GET"&&this.method!=="HEAD"){this.headers["Content-Type"]="application/json"}const n=this.fetch;let s=n(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then((async e=>{var r,n,s;let i=null;let c=null;let u=null;let d=e.status;let A=e.statusText;if(e.ok){if(this.method!=="HEAD"){const r=await e.text();if(r===""){}else if(this.headers["Accept"]==="text/csv"){c=r}else if(this.headers["Accept"]&&this.headers["Accept"].includes("application/vnd.pgrst.plan+text")){c=r}else{c=JSON.parse(r)}}const s=(r=this.headers["Prefer"])===null||r===void 0?void 0:r.match(/count=(exact|planned|estimated)/);const o=(n=e.headers.get("content-range"))===null||n===void 0?void 0:n.split("/");if(s&&o&&o.length>1){u=parseInt(o[1])}if(this.isMaybeSingle&&this.method==="GET"&&Array.isArray(c)){if(c.length>1){i={code:"PGRST116",details:`Results contain ${c.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"};c=null;u=null;d=406;A="Not Acceptable"}else if(c.length===1){c=c[0]}else{c=null}}}else{const r=await e.text();try{i=JSON.parse(r);if(Array.isArray(i)&&e.status===404){c=[];i=null;d=200;A="OK"}}catch(n){if(e.status===404&&r===""){d=204;A="No Content"}else{i={message:r}}}if(i&&this.isMaybeSingle&&((s=i===null||i===void 0?void 0:i.details)===null||s===void 0?void 0:s.includes("0 rows"))){i=null;d=200;A="OK"}if(i&&this.shouldThrowOnError){throw new o.default(i)}}const h={error:i,data:c,count:u,status:d,statusText:A};return h}));if(!this.shouldThrowOnError){s=s.catch((e=>{var r,n,s;return{error:{message:`${(r=e===null||e===void 0?void 0:e.name)!==null&&r!==void 0?r:"FetchError"}: ${e===null||e===void 0?void 0:e.message}`,details:`${(n=e===null||e===void 0?void 0:e.stack)!==null&&n!==void 0?n:""}`,hint:"",code:`${(s=e===null||e===void 0?void 0:e.code)!==null&&s!==void 0?s:""}`},data:null,count:null,status:0,statusText:""}}))}return s.then(e,r)}}r["default"]=PostgrestBuilder},20526:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(74846));const o=s(n(88868));const c=n(73541);class PostgrestClient{constructor(e,{headers:r={},schema:n,fetch:s}={}){this.url=e;this.headers=Object.assign(Object.assign({},c.DEFAULT_HEADERS),r);this.schemaName=n;this.fetch=s}from(e){const r=new URL(`${this.url}/${e}`);return new i.default(r,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new PostgrestClient(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e,r={},{head:n=false,get:s=false,count:i}={}){let c;const u=new URL(`${this.url}/rpc/${e}`);let d;if(n||s){c=n?"HEAD":"GET";Object.entries(r).filter((([e,r])=>r!==undefined)).map((([e,r])=>[e,Array.isArray(r)?`{${r.join(",")}}`:`${r}`])).forEach((([e,r])=>{u.searchParams.append(e,r)}))}else{c="POST";d=r}const A=Object.assign({},this.headers);if(i){A["Prefer"]=`count=${i}`}return new o.default({method:c,url:u,headers:A,schema:this.schemaName,body:d,fetch:this.fetch,allowEmpty:false})}}r["default"]=PostgrestClient},57631:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});class PostgrestError extends Error{constructor(e){super(e.message);this.name="PostgrestError";this.details=e.details;this.hint=e.hint;this.code=e.code}}r["default"]=PostgrestError},88868:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(62122));class PostgrestFilterBuilder extends i.default{eq(e,r){this.url.searchParams.append(e,`eq.${r}`);return this}neq(e,r){this.url.searchParams.append(e,`neq.${r}`);return this}gt(e,r){this.url.searchParams.append(e,`gt.${r}`);return this}gte(e,r){this.url.searchParams.append(e,`gte.${r}`);return this}lt(e,r){this.url.searchParams.append(e,`lt.${r}`);return this}lte(e,r){this.url.searchParams.append(e,`lte.${r}`);return this}like(e,r){this.url.searchParams.append(e,`like.${r}`);return this}likeAllOf(e,r){this.url.searchParams.append(e,`like(all).{${r.join(",")}}`);return this}likeAnyOf(e,r){this.url.searchParams.append(e,`like(any).{${r.join(",")}}`);return this}ilike(e,r){this.url.searchParams.append(e,`ilike.${r}`);return this}ilikeAllOf(e,r){this.url.searchParams.append(e,`ilike(all).{${r.join(",")}}`);return this}ilikeAnyOf(e,r){this.url.searchParams.append(e,`ilike(any).{${r.join(",")}}`);return this}is(e,r){this.url.searchParams.append(e,`is.${r}`);return this}in(e,r){const n=Array.from(new Set(r)).map((e=>{if(typeof e==="string"&&new RegExp("[,()]").test(e))return`"${e}"`;else return`${e}`})).join(",");this.url.searchParams.append(e,`in.(${n})`);return this}contains(e,r){if(typeof r==="string"){this.url.searchParams.append(e,`cs.${r}`)}else if(Array.isArray(r)){this.url.searchParams.append(e,`cs.{${r.join(",")}}`)}else{this.url.searchParams.append(e,`cs.${JSON.stringify(r)}`)}return this}containedBy(e,r){if(typeof r==="string"){this.url.searchParams.append(e,`cd.${r}`)}else if(Array.isArray(r)){this.url.searchParams.append(e,`cd.{${r.join(",")}}`)}else{this.url.searchParams.append(e,`cd.${JSON.stringify(r)}`)}return this}rangeGt(e,r){this.url.searchParams.append(e,`sr.${r}`);return this}rangeGte(e,r){this.url.searchParams.append(e,`nxl.${r}`);return this}rangeLt(e,r){this.url.searchParams.append(e,`sl.${r}`);return this}rangeLte(e,r){this.url.searchParams.append(e,`nxr.${r}`);return this}rangeAdjacent(e,r){this.url.searchParams.append(e,`adj.${r}`);return this}overlaps(e,r){if(typeof r==="string"){this.url.searchParams.append(e,`ov.${r}`)}else{this.url.searchParams.append(e,`ov.{${r.join(",")}}`)}return this}textSearch(e,r,{config:n,type:s}={}){let i="";if(s==="plain"){i="pl"}else if(s==="phrase"){i="ph"}else if(s==="websearch"){i="w"}const o=n===undefined?"":`(${n})`;this.url.searchParams.append(e,`${i}fts${o}.${r}`);return this}match(e){Object.entries(e).forEach((([e,r])=>{this.url.searchParams.append(e,`eq.${r}`)}));return this}not(e,r,n){this.url.searchParams.append(e,`not.${r}.${n}`);return this}or(e,{foreignTable:r,referencedTable:n=r}={}){const s=n?`${n}.or`:"or";this.url.searchParams.append(s,`(${e})`);return this}filter(e,r,n){this.url.searchParams.append(e,`${r}.${n}`);return this}}r["default"]=PostgrestFilterBuilder},74846:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(88868));class PostgrestQueryBuilder{constructor(e,{headers:r={},schema:n,fetch:s}){this.url=e;this.headers=r;this.schema=n;this.fetch=s}select(e,{head:r=false,count:n}={}){const s=r?"HEAD":"GET";let o=false;const c=(e!==null&&e!==void 0?e:"*").split("").map((e=>{if(/\s/.test(e)&&!o){return""}if(e==='"'){o=!o}return e})).join("");this.url.searchParams.set("select",c);if(n){this.headers["Prefer"]=`count=${n}`}return new i.default({method:s,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:false})}insert(e,{count:r,defaultToNull:n=true}={}){const s="POST";const o=[];if(this.headers["Prefer"]){o.push(this.headers["Prefer"])}if(r){o.push(`count=${r}`)}if(!n){o.push("missing=default")}this.headers["Prefer"]=o.join(",");if(Array.isArray(e)){const r=e.reduce(((e,r)=>e.concat(Object.keys(r))),[]);if(r.length>0){const e=[...new Set(r)].map((e=>`"${e}"`));this.url.searchParams.set("columns",e.join(","))}}return new i.default({method:s,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:false})}upsert(e,{onConflict:r,ignoreDuplicates:n=false,count:s,defaultToNull:o=true}={}){const c="POST";const u=[`resolution=${n?"ignore":"merge"}-duplicates`];if(r!==undefined)this.url.searchParams.set("on_conflict",r);if(this.headers["Prefer"]){u.push(this.headers["Prefer"])}if(s){u.push(`count=${s}`)}if(!o){u.push("missing=default")}this.headers["Prefer"]=u.join(",");if(Array.isArray(e)){const r=e.reduce(((e,r)=>e.concat(Object.keys(r))),[]);if(r.length>0){const e=[...new Set(r)].map((e=>`"${e}"`));this.url.searchParams.set("columns",e.join(","))}}return new i.default({method:c,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:false})}update(e,{count:r}={}){const n="PATCH";const s=[];if(this.headers["Prefer"]){s.push(this.headers["Prefer"])}if(r){s.push(`count=${r}`)}this.headers["Prefer"]=s.join(",");return new i.default({method:n,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:false})}delete({count:e}={}){const r="DELETE";const n=[];if(e){n.push(`count=${e}`)}if(this.headers["Prefer"]){n.unshift(this.headers["Prefer"])}this.headers["Prefer"]=n.join(",");return new i.default({method:r,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:false})}}r["default"]=PostgrestQueryBuilder},62122:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const i=s(n(88850));class PostgrestTransformBuilder extends i.default{select(e){let r=false;const n=(e!==null&&e!==void 0?e:"*").split("").map((e=>{if(/\s/.test(e)&&!r){return""}if(e==='"'){r=!r}return e})).join("");this.url.searchParams.set("select",n);if(this.headers["Prefer"]){this.headers["Prefer"]+=","}this.headers["Prefer"]+="return=representation";return this}order(e,{ascending:r=true,nullsFirst:n,foreignTable:s,referencedTable:i=s}={}){const o=i?`${i}.order`:"order";const c=this.url.searchParams.get(o);this.url.searchParams.set(o,`${c?`${c},`:""}${e}.${r?"asc":"desc"}${n===undefined?"":n?".nullsfirst":".nullslast"}`);return this}limit(e,{foreignTable:r,referencedTable:n=r}={}){const s=typeof n==="undefined"?"limit":`${n}.limit`;this.url.searchParams.set(s,`${e}`);return this}range(e,r,{foreignTable:n,referencedTable:s=n}={}){const i=typeof s==="undefined"?"offset":`${s}.offset`;const o=typeof s==="undefined"?"limit":`${s}.limit`;this.url.searchParams.set(i,`${e}`);this.url.searchParams.set(o,`${r-e+1}`);return this}abortSignal(e){this.signal=e;return this}single(){this.headers["Accept"]="application/vnd.pgrst.object+json";return this}maybeSingle(){if(this.method==="GET"){this.headers["Accept"]="application/json"}else{this.headers["Accept"]="application/vnd.pgrst.object+json"}this.isMaybeSingle=true;return this}csv(){this.headers["Accept"]="text/csv";return this}geojson(){this.headers["Accept"]="application/geo+json";return this}explain({analyze:e=false,verbose:r=false,settings:n=false,buffers:s=false,wal:i=false,format:o="text"}={}){var c;const u=[e?"analyze":null,r?"verbose":null,n?"settings":null,s?"buffers":null,i?"wal":null].filter(Boolean).join("|");const d=(c=this.headers["Accept"])!==null&&c!==void 0?c:"application/json";this.headers["Accept"]=`application/vnd.pgrst.plan+${o}; for="${d}"; options=${u};`;if(o==="json")return this;else return this}rollback(){var e;if(((e=this.headers["Prefer"])!==null&&e!==void 0?e:"").trim().length>0){this.headers["Prefer"]+=",tx=rollback"}else{this.headers["Prefer"]="tx=rollback"}return this}returns(){return this}}r["default"]=PostgrestTransformBuilder},73541:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.DEFAULT_HEADERS=void 0;const s=n(41404);r.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${s.version}`}},93360:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.PostgrestError=r.PostgrestBuilder=r.PostgrestTransformBuilder=r.PostgrestFilterBuilder=r.PostgrestQueryBuilder=r.PostgrestClient=void 0;const i=s(n(20526));r.PostgrestClient=i.default;const o=s(n(74846));r.PostgrestQueryBuilder=o.default;const c=s(n(88868));r.PostgrestFilterBuilder=c.default;const u=s(n(62122));r.PostgrestTransformBuilder=u.default;const d=s(n(88850));r.PostgrestBuilder=d.default;const A=s(n(57631));r.PostgrestError=A.default;r["default"]={PostgrestClient:i.default,PostgrestQueryBuilder:o.default,PostgrestFilterBuilder:c.default,PostgrestTransformBuilder:u.default,PostgrestBuilder:d.default,PostgrestError:A.default}},41404:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="0.0.0-automated"},38093:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.REALTIME_CHANNEL_STATES=r.REALTIME_SUBSCRIBE_STATES=r.REALTIME_LISTEN_TYPES=r.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT=void 0;const u=n(29680);const d=c(n(49333));const A=c(n(99920));const h=c(n(98493));const g=o(n(93429));const m=n(93429);var y;(function(e){e["ALL"]="*";e["INSERT"]="INSERT";e["UPDATE"]="UPDATE";e["DELETE"]="DELETE"})(y=r.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT||(r.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT={}));var E;(function(e){e["BROADCAST"]="broadcast";e["PRESENCE"]="presence";e["POSTGRES_CHANGES"]="postgres_changes";e["SYSTEM"]="system"})(E=r.REALTIME_LISTEN_TYPES||(r.REALTIME_LISTEN_TYPES={}));var _;(function(e){e["SUBSCRIBED"]="SUBSCRIBED";e["TIMED_OUT"]="TIMED_OUT";e["CLOSED"]="CLOSED";e["CHANNEL_ERROR"]="CHANNEL_ERROR"})(_=r.REALTIME_SUBSCRIBE_STATES||(r.REALTIME_SUBSCRIBE_STATES={}));r.REALTIME_CHANNEL_STATES=u.CHANNEL_STATES;class RealtimeChannel{constructor(e,r={config:{}},n){this.topic=e;this.params=r;this.socket=n;this.bindings={};this.state=u.CHANNEL_STATES.closed;this.joinedOnce=false;this.pushBuffer=[];this.subTopic=e.replace(/^realtime:/i,"");this.params.config=Object.assign({broadcast:{ack:false,self:false},presence:{key:""},private:false},r.config);this.timeout=this.socket.timeout;this.joinPush=new d.default(this,u.CHANNEL_EVENTS.join,this.params,this.timeout);this.rejoinTimer=new A.default((()=>this._rejoinUntilConnected()),this.socket.reconnectAfterMs);this.joinPush.receive("ok",(()=>{this.state=u.CHANNEL_STATES.joined;this.rejoinTimer.reset();this.pushBuffer.forEach((e=>e.send()));this.pushBuffer=[]}));this._onClose((()=>{this.rejoinTimer.reset();this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`);this.state=u.CHANNEL_STATES.closed;this.socket._remove(this)}));this._onError((e=>{if(this._isLeaving()||this._isClosed()){return}this.socket.log("channel",`error ${this.topic}`,e);this.state=u.CHANNEL_STATES.errored;this.rejoinTimer.scheduleTimeout()}));this.joinPush.receive("timeout",(()=>{if(!this._isJoining()){return}this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout);this.state=u.CHANNEL_STATES.errored;this.rejoinTimer.scheduleTimeout()}));this._on(u.CHANNEL_EVENTS.reply,{},((e,r)=>{this._trigger(this._replyEventName(r),e)}));this.presence=new h.default(this);this.broadcastEndpointURL=(0,m.httpEndpointURL)(this.socket.endPoint)+"/api/broadcast";this.private=this.params.config.private||false}subscribe(e,r=this.timeout){var n,s;if(!this.socket.isConnected()){this.socket.connect()}if(this.joinedOnce){throw`tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance`}else{const{config:{broadcast:i,presence:o,private:c}}=this.params;this._onError((r=>e&&e("CHANNEL_ERROR",r)));this._onClose((()=>e&&e("CLOSED")));const u={};const d={broadcast:i,presence:o,postgres_changes:(s=(n=this.bindings.postgres_changes)===null||n===void 0?void 0:n.map((e=>e.filter)))!==null&&s!==void 0?s:[],private:c};if(this.socket.accessToken){u.access_token=this.socket.accessToken}this.updateJoinPayload(Object.assign({config:d},u));this.joinedOnce=true;this._rejoin(r);this.joinPush.receive("ok",(({postgres_changes:r})=>{var n;this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken);if(r===undefined){e&&e("SUBSCRIBED");return}else{const s=this.bindings.postgres_changes;const i=(n=s===null||s===void 0?void 0:s.length)!==null&&n!==void 0?n:0;const o=[];for(let n=0;n{e&&e("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(r).join(", ")||"error")));return})).receive("timeout",(()=>{e&&e("TIMED_OUT");return}))}return this}presenceState(){return this.presence.state}async track(e,r={}){return await this.send({type:"presence",event:"track",payload:e},r.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,r,n){return this._on(e,r,n)}async send(e,r={}){var n,s;if(!this._canPush()&&e.type==="broadcast"){const{event:i,payload:o}=e;const c={method:"POST",headers:{Authorization:this.socket.accessToken?`Bearer ${this.socket.accessToken}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:o,private:this.private}]})};try{const e=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(n=r.timeout)!==null&&n!==void 0?n:this.timeout);await((s=e.body)===null||s===void 0?void 0:s.cancel());return e.ok?"ok":"error"}catch(e){if(e.name==="AbortError"){return"timed out"}else{return"error"}}}else{return new Promise((n=>{var s,i,o;const c=this._push(e.type,e,r.timeout||this.timeout);if(e.type==="broadcast"&&!((o=(i=(s=this.params)===null||s===void 0?void 0:s.config)===null||i===void 0?void 0:i.broadcast)===null||o===void 0?void 0:o.ack)){n("ok")}c.receive("ok",(()=>n("ok")));c.receive("error",(()=>n("error")));c.receive("timeout",(()=>n("timed out")))}))}}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=u.CHANNEL_STATES.leaving;const onClose=()=>{this.socket.log("channel",`leave ${this.topic}`);this._trigger(u.CHANNEL_EVENTS.close,"leave",this._joinRef())};this.rejoinTimer.reset();this.joinPush.destroy();return new Promise((r=>{const n=new d.default(this,u.CHANNEL_EVENTS.leave,{},e);n.receive("ok",(()=>{onClose();r("ok")})).receive("timeout",(()=>{onClose();r("timed out")})).receive("error",(()=>{r("error")}));n.send();if(!this._canPush()){n.trigger("ok",{})}}))}async _fetchWithTimeout(e,r,n){const s=new AbortController;const i=setTimeout((()=>s.abort()),n);const o=await this.socket.fetch(e,Object.assign(Object.assign({},r),{signal:s.signal}));clearTimeout(i);return o}_push(e,r,n=this.timeout){if(!this.joinedOnce){throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`}let s=new d.default(this,e,r,n);if(this._canPush()){s.send()}else{s.startTimeout();this.pushBuffer.push(s)}return s}_onMessage(e,r,n){return r}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,r,n){var s,i;const o=e.toLocaleLowerCase();const{close:c,error:d,leave:A,join:h}=u.CHANNEL_EVENTS;const g=[c,d,A,h];if(n&&g.indexOf(o)>=0&&n!==this._joinRef()){return}let m=this._onMessage(o,r,n);if(r&&!m){throw"channel onMessage callbacks must return the payload, modified or unmodified"}if(["insert","update","delete"].includes(o)){(s=this.bindings.postgres_changes)===null||s===void 0?void 0:s.filter((e=>{var r,n,s;return((r=e.filter)===null||r===void 0?void 0:r.event)==="*"||((s=(n=e.filter)===null||n===void 0?void 0:n.event)===null||s===void 0?void 0:s.toLocaleLowerCase())===o})).map((e=>e.callback(m,n)))}else{(i=this.bindings[o])===null||i===void 0?void 0:i.filter((e=>{var n,s,i,c,u,d;if(["broadcast","presence","postgres_changes"].includes(o)){if("id"in e){const o=e.id;const c=(n=e.filter)===null||n===void 0?void 0:n.event;return o&&((s=r.ids)===null||s===void 0?void 0:s.includes(o))&&(c==="*"||(c===null||c===void 0?void 0:c.toLocaleLowerCase())===((i=r.data)===null||i===void 0?void 0:i.type.toLocaleLowerCase()))}else{const n=(u=(c=e===null||e===void 0?void 0:e.filter)===null||c===void 0?void 0:c.event)===null||u===void 0?void 0:u.toLocaleLowerCase();return n==="*"||n===((d=r===null||r===void 0?void 0:r.event)===null||d===void 0?void 0:d.toLocaleLowerCase())}}else{return e.type.toLocaleLowerCase()===o}})).map((e=>{if(typeof m==="object"&&"ids"in m){const e=m.data;const{schema:r,table:n,commit_timestamp:s,type:i,errors:o}=e;const c={schema:r,table:n,commit_timestamp:s,eventType:i,new:{},old:{},errors:o};m=Object.assign(Object.assign({},c),this._getPayloadRecords(e))}e.callback(m,n)}))}}_isClosed(){return this.state===u.CHANNEL_STATES.closed}_isJoined(){return this.state===u.CHANNEL_STATES.joined}_isJoining(){return this.state===u.CHANNEL_STATES.joining}_isLeaving(){return this.state===u.CHANNEL_STATES.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,r,n){const s=e.toLocaleLowerCase();const i={type:s,filter:r,callback:n};if(this.bindings[s]){this.bindings[s].push(i)}else{this.bindings[s]=[i]}return this}_off(e,r){const n=e.toLocaleLowerCase();this.bindings[n]=this.bindings[n].filter((e=>{var s;return!(((s=e.type)===null||s===void 0?void 0:s.toLocaleLowerCase())===n&&RealtimeChannel.isEqual(e.filter,r))}));return this}static isEqual(e,r){if(Object.keys(e).length!==Object.keys(r).length){return false}for(const n in e){if(e[n]!==r[n]){return false}}return true}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout();if(this.socket.isConnected()){this._rejoin()}}_onClose(e){this._on(u.CHANNEL_EVENTS.close,{},e)}_onError(e){this._on(u.CHANNEL_EVENTS.error,{},(r=>e(r)))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){if(this._isLeaving()){return}this.socket._leaveOpenTopic(this.topic);this.state=u.CHANNEL_STATES.joining;this.joinPush.resend(e)}_getPayloadRecords(e){const r={new:{},old:{}};if(e.type==="INSERT"||e.type==="UPDATE"){r.new=g.convertChangeData(e.columns,e.record)}if(e.type==="UPDATE"||e.type==="DELETE"){r.old=g.convertChangeData(e.columns,e.old_record)}return r}}r["default"]=RealtimeChannel},73955:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});const u=n(29680);const d=c(n(72049));const A=c(n(99920));const h=n(93429);const g=c(n(38093));const noop=()=>{};const m=typeof WebSocket!=="undefined";const y=`\n addEventListener("message", (e) => {\n if (e.data.event === "start") {\n setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);\n }\n });`;class RealtimeClient{constructor(e,r){var s;this.accessToken=null;this.apiKey=null;this.channels=[];this.endPoint="";this.httpEndpoint="";this.headers=u.DEFAULT_HEADERS;this.params={};this.timeout=u.DEFAULT_TIMEOUT;this.heartbeatIntervalMs=3e4;this.heartbeatTimer=undefined;this.pendingHeartbeatRef=null;this.ref=0;this.logger=noop;this.conn=null;this.sendBuffer=[];this.serializer=new d.default;this.stateChangeCallbacks={open:[],close:[],error:[],message:[]};this._resolveFetch=e=>{let r;if(e){r=e}else if(typeof fetch==="undefined"){r=(...e)=>Promise.resolve().then((()=>o(n(83318)))).then((({default:r})=>r(...e)))}else{r=fetch}return(...e)=>r(...e)};this.endPoint=`${e}/${u.TRANSPORTS.websocket}`;this.httpEndpoint=(0,h.httpEndpointURL)(e);if(r===null||r===void 0?void 0:r.transport){this.transport=r.transport}else{this.transport=null}if(r===null||r===void 0?void 0:r.params)this.params=r.params;if(r===null||r===void 0?void 0:r.headers)this.headers=Object.assign(Object.assign({},this.headers),r.headers);if(r===null||r===void 0?void 0:r.timeout)this.timeout=r.timeout;if(r===null||r===void 0?void 0:r.logger)this.logger=r.logger;if(r===null||r===void 0?void 0:r.heartbeatIntervalMs)this.heartbeatIntervalMs=r.heartbeatIntervalMs;const i=(s=r===null||r===void 0?void 0:r.params)===null||s===void 0?void 0:s.apikey;if(i){this.accessToken=i;this.apiKey=i}this.reconnectAfterMs=(r===null||r===void 0?void 0:r.reconnectAfterMs)?r.reconnectAfterMs:e=>[1e3,2e3,5e3,1e4][e-1]||1e4;this.encode=(r===null||r===void 0?void 0:r.encode)?r.encode:(e,r)=>r(JSON.stringify(e));this.decode=(r===null||r===void 0?void 0:r.decode)?r.decode:this.serializer.decode.bind(this.serializer);this.reconnectTimer=new A.default((async()=>{this.disconnect();this.connect()}),this.reconnectAfterMs);this.fetch=this._resolveFetch(r===null||r===void 0?void 0:r.fetch);if(r===null||r===void 0?void 0:r.worker){if(typeof window!=="undefined"&&!window.Worker){throw new Error("Web Worker is not supported")}this.worker=(r===null||r===void 0?void 0:r.worker)||false;this.workerUrl=r===null||r===void 0?void 0:r.workerUrl}}connect(){if(this.conn){return}if(this.transport){this.conn=new this.transport(this._endPointURL(),undefined,{headers:this.headers});return}if(m){this.conn=new WebSocket(this._endPointURL());this.setupConnection();return}this.conn=new WSWebSocketDummy(this._endPointURL(),undefined,{close:()=>{this.conn=null}});Promise.resolve().then((()=>o(n(11354)))).then((({default:e})=>{this.conn=new e(this._endPointURL(),undefined,{headers:this.headers});this.setupConnection()}))}disconnect(e,r){if(this.conn){this.conn.onclose=function(){};if(e){this.conn.close(e,r!==null&&r!==void 0?r:"")}else{this.conn.close()}this.conn=null;this.heartbeatTimer&&clearInterval(this.heartbeatTimer);this.reconnectTimer.reset()}}getChannels(){return this.channels}async removeChannel(e){const r=await e.unsubscribe();if(this.channels.length===0){this.disconnect()}return r}async removeAllChannels(){const e=await Promise.all(this.channels.map((e=>e.unsubscribe())));this.disconnect();return e}log(e,r,n){this.logger(e,r,n)}connectionState(){switch(this.conn&&this.conn.readyState){case u.SOCKET_STATES.connecting:return u.CONNECTION_STATE.Connecting;case u.SOCKET_STATES.open:return u.CONNECTION_STATE.Open;case u.SOCKET_STATES.closing:return u.CONNECTION_STATE.Closing;default:return u.CONNECTION_STATE.Closed}}isConnected(){return this.connectionState()===u.CONNECTION_STATE.Open}channel(e,r={config:{}}){const n=new g.default(`realtime:${e}`,r,this);this.channels.push(n);return n}push(e){const{topic:r,event:n,payload:s,ref:i}=e;const callback=()=>{this.encode(e,(e=>{var r;(r=this.conn)===null||r===void 0?void 0:r.send(e)}))};this.log("push",`${r} ${n} (${i})`,s);if(this.isConnected()){callback()}else{this.sendBuffer.push(callback)}}setAuth(e){this.accessToken=e;this.channels.forEach((r=>{e&&r.updateJoinPayload({access_token:e});if(r.joinedOnce&&r._isJoined()){r._push(u.CHANNEL_EVENTS.access_token,{access_token:e})}}))}_makeRef(){let e=this.ref+1;if(e===this.ref){this.ref=0}else{this.ref=e}return this.ref.toString()}_leaveOpenTopic(e){let r=this.channels.find((r=>r.topic===e&&(r._isJoined()||r._isJoining())));if(r){this.log("transport",`leaving duplicate topic "${e}"`);r.unsubscribe()}}_remove(e){this.channels=this.channels.filter((r=>r._joinRef()!==e._joinRef()))}setupConnection(){if(this.conn){this.conn.binaryType="arraybuffer";this.conn.onopen=()=>this._onConnOpen();this.conn.onerror=e=>this._onConnError(e);this.conn.onmessage=e=>this._onConnMessage(e);this.conn.onclose=e=>this._onConnClose(e)}}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:u.VSN}))}_onConnMessage(e){this.decode(e.data,(e=>{let{topic:r,event:n,payload:s,ref:i}=e;if(i&&i===this.pendingHeartbeatRef||n===(s===null||s===void 0?void 0:s.type)){this.pendingHeartbeatRef=null}this.log("receive",`${s.status||""} ${r} ${n} ${i&&"("+i+")"||""}`,s);this.channels.filter((e=>e._isMember(r))).forEach((e=>e._trigger(n,s,i)));this.stateChangeCallbacks.message.forEach((r=>r(e)))}))}async _onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`);this._flushSendBuffer();this.reconnectTimer.reset();if(!this.worker){this.heartbeatTimer&&clearInterval(this.heartbeatTimer);this.heartbeatTimer=setInterval((()=>this._sendHeartbeat()),this.heartbeatIntervalMs)}else{if(this.workerUrl){this.log("worker",`starting worker for from ${this.workerUrl}`)}else{this.log("worker",`starting default worker`)}const e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e);this.workerRef.onerror=e=>{this.log("worker","worker error",e.message);this.workerRef.terminate()};this.workerRef.onmessage=e=>{if(e.data.event==="keepAlive"){this._sendHeartbeat()}};this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}this.stateChangeCallbacks.open.forEach((e=>e()))}_onConnClose(e){this.log("transport","close",e);this._triggerChanError();this.heartbeatTimer&&clearInterval(this.heartbeatTimer);this.reconnectTimer.scheduleTimeout();this.stateChangeCallbacks.close.forEach((r=>r(e)))}_onConnError(e){this.log("transport",e.message);this._triggerChanError();this.stateChangeCallbacks.error.forEach((r=>r(e)))}_triggerChanError(){this.channels.forEach((e=>e._trigger(u.CHANNEL_EVENTS.error)))}_appendParams(e,r){if(Object.keys(r).length===0){return e}const n=e.match(/\?/)?"&":"?";const s=new URLSearchParams(r);return`${e}${n}${s}`}_flushSendBuffer(){if(this.isConnected()&&this.sendBuffer.length>0){this.sendBuffer.forEach((e=>e()));this.sendBuffer=[]}}_sendHeartbeat(){var e;if(!this.isConnected()){return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null;this.log("transport","heartbeat timeout. Attempting to re-establish connection");(e=this.conn)===null||e===void 0?void 0:e.close(u.WS_CLOSE_NORMAL,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});this.setAuth(this.accessToken)}_workerObjectUrl(e){let r;if(e){r=e}else{const e=new Blob([y],{type:"application/javascript"});r=URL.createObjectURL(e)}return r}}r["default"]=RealtimeClient;class WSWebSocketDummy{constructor(e,r,n){this.binaryType="arraybuffer";this.onclose=()=>{};this.onerror=()=>{};this.onmessage=()=>{};this.onopen=()=>{};this.readyState=u.SOCKET_STATES.connecting;this.send=()=>{};this.url=null;this.url=e;this.close=n.close}}},98493:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.REALTIME_PRESENCE_LISTEN_EVENTS=void 0;var n;(function(e){e["SYNC"]="sync";e["JOIN"]="join";e["LEAVE"]="leave"})(n=r.REALTIME_PRESENCE_LISTEN_EVENTS||(r.REALTIME_PRESENCE_LISTEN_EVENTS={}));class RealtimePresence{constructor(e,r){this.channel=e;this.state={};this.pendingDiffs=[];this.joinRef=null;this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const n=(r===null||r===void 0?void 0:r.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(n.state,{},(e=>{const{onJoin:r,onLeave:n,onSync:s}=this.caller;this.joinRef=this.channel._joinRef();this.state=RealtimePresence.syncState(this.state,e,r,n);this.pendingDiffs.forEach((e=>{this.state=RealtimePresence.syncDiff(this.state,e,r,n)}));this.pendingDiffs=[];s()}));this.channel._on(n.diff,{},(e=>{const{onJoin:r,onLeave:n,onSync:s}=this.caller;if(this.inPendingSyncState()){this.pendingDiffs.push(e)}else{this.state=RealtimePresence.syncDiff(this.state,e,r,n);s()}}));this.onJoin(((e,r,n)=>{this.channel._trigger("presence",{event:"join",key:e,currentPresences:r,newPresences:n})}));this.onLeave(((e,r,n)=>{this.channel._trigger("presence",{event:"leave",key:e,currentPresences:r,leftPresences:n})}));this.onSync((()=>{this.channel._trigger("presence",{event:"sync"})}))}static syncState(e,r,n,s){const i=this.cloneDeep(e);const o=this.transformState(r);const c={};const u={};this.map(i,((e,r)=>{if(!o[e]){u[e]=r}}));this.map(o,((e,r)=>{const n=i[e];if(n){const s=r.map((e=>e.presence_ref));const i=n.map((e=>e.presence_ref));const o=r.filter((e=>i.indexOf(e.presence_ref)<0));const d=n.filter((e=>s.indexOf(e.presence_ref)<0));if(o.length>0){c[e]=o}if(d.length>0){u[e]=d}}else{c[e]=r}}));return this.syncDiff(i,{joins:c,leaves:u},n,s)}static syncDiff(e,r,n,s){const{joins:i,leaves:o}={joins:this.transformState(r.joins),leaves:this.transformState(r.leaves)};if(!n){n=()=>{}}if(!s){s=()=>{}}this.map(i,((r,s)=>{var i;const o=(i=e[r])!==null&&i!==void 0?i:[];e[r]=this.cloneDeep(s);if(o.length>0){const n=e[r].map((e=>e.presence_ref));const s=o.filter((e=>n.indexOf(e.presence_ref)<0));e[r].unshift(...s)}n(r,o,s)}));this.map(o,((r,n)=>{let i=e[r];if(!i)return;const o=n.map((e=>e.presence_ref));i=i.filter((e=>o.indexOf(e.presence_ref)<0));e[r]=i;s(r,i,n);if(i.length===0)delete e[r]}));return e}static map(e,r){return Object.getOwnPropertyNames(e).map((n=>r(n,e[n])))}static transformState(e){e=this.cloneDeep(e);return Object.getOwnPropertyNames(e).reduce(((r,n)=>{const s=e[n];if("metas"in s){r[n]=s.metas.map((e=>{e["presence_ref"]=e["phx_ref"];delete e["phx_ref"];delete e["phx_ref_prev"];return e}))}else{r[n]=s}return r}),{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}r["default"]=RealtimePresence},36209:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.REALTIME_CHANNEL_STATES=r.REALTIME_SUBSCRIBE_STATES=r.REALTIME_PRESENCE_LISTEN_EVENTS=r.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT=r.REALTIME_LISTEN_TYPES=r.RealtimeClient=r.RealtimeChannel=r.RealtimePresence=void 0;const u=c(n(73955));r.RealtimeClient=u.default;const d=o(n(38093));r.RealtimeChannel=d.default;Object.defineProperty(r,"REALTIME_LISTEN_TYPES",{enumerable:true,get:function(){return d.REALTIME_LISTEN_TYPES}});Object.defineProperty(r,"REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",{enumerable:true,get:function(){return d.REALTIME_POSTGRES_CHANGES_LISTEN_EVENT}});Object.defineProperty(r,"REALTIME_SUBSCRIBE_STATES",{enumerable:true,get:function(){return d.REALTIME_SUBSCRIBE_STATES}});Object.defineProperty(r,"REALTIME_CHANNEL_STATES",{enumerable:true,get:function(){return d.REALTIME_CHANNEL_STATES}});const A=o(n(98493));r.RealtimePresence=A.default;Object.defineProperty(r,"REALTIME_PRESENCE_LISTEN_EVENTS",{enumerable:true,get:function(){return A.REALTIME_PRESENCE_LISTEN_EVENTS}})},29680:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.CONNECTION_STATE=r.TRANSPORTS=r.CHANNEL_EVENTS=r.CHANNEL_STATES=r.SOCKET_STATES=r.WS_CLOSE_NORMAL=r.DEFAULT_TIMEOUT=r.VSN=r.DEFAULT_HEADERS=void 0;const s=n(38889);r.DEFAULT_HEADERS={"X-Client-Info":`realtime-js/${s.version}`};r.VSN="1.0.0";r.DEFAULT_TIMEOUT=1e4;r.WS_CLOSE_NORMAL=1e3;var i;(function(e){e[e["connecting"]=0]="connecting";e[e["open"]=1]="open";e[e["closing"]=2]="closing";e[e["closed"]=3]="closed"})(i=r.SOCKET_STATES||(r.SOCKET_STATES={}));var o;(function(e){e["closed"]="closed";e["errored"]="errored";e["joined"]="joined";e["joining"]="joining";e["leaving"]="leaving"})(o=r.CHANNEL_STATES||(r.CHANNEL_STATES={}));var c;(function(e){e["close"]="phx_close";e["error"]="phx_error";e["join"]="phx_join";e["reply"]="phx_reply";e["leave"]="phx_leave";e["access_token"]="access_token"})(c=r.CHANNEL_EVENTS||(r.CHANNEL_EVENTS={}));var u;(function(e){e["websocket"]="websocket"})(u=r.TRANSPORTS||(r.TRANSPORTS={}));var d;(function(e){e["Connecting"]="connecting";e["Open"]="open";e["Closing"]="closing";e["Closed"]="closed"})(d=r.CONNECTION_STATE||(r.CONNECTION_STATE={}))},49333:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});const s=n(29680);class Push{constructor(e,r,n={},i=s.DEFAULT_TIMEOUT){this.channel=e;this.event=r;this.payload=n;this.timeout=i;this.sent=false;this.timeoutTimer=undefined;this.ref="";this.receivedResp=null;this.recHooks=[];this.refEvent=null}resend(e){this.timeout=e;this._cancelRefEvent();this.ref="";this.refEvent=null;this.receivedResp=null;this.sent=false;this.send()}send(){if(this._hasReceived("timeout")){return}this.startTimeout();this.sent=true;this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()})}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,r){var n;if(this._hasReceived(e)){r((n=this.receivedResp)===null||n===void 0?void 0:n.response)}this.recHooks.push({status:e,callback:r});return this}startTimeout(){if(this.timeoutTimer){return}this.ref=this.channel.socket._makeRef();this.refEvent=this.channel._replyEventName(this.ref);const callback=e=>{this._cancelRefEvent();this._cancelTimeout();this.receivedResp=e;this._matchReceive(e)};this.channel._on(this.refEvent,{},callback);this.timeoutTimer=setTimeout((()=>{this.trigger("timeout",{})}),this.timeout)}trigger(e,r){if(this.refEvent)this.channel._trigger(this.refEvent,{status:e,response:r})}destroy(){this._cancelRefEvent();this._cancelTimeout()}_cancelRefEvent(){if(!this.refEvent){return}this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer);this.timeoutTimer=undefined}_matchReceive({status:e,response:r}){this.recHooks.filter((r=>r.status===e)).forEach((e=>e.callback(r)))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}r["default"]=Push},72049:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});class Serializer{constructor(){this.HEADER_LENGTH=1}decode(e,r){if(e.constructor===ArrayBuffer){return r(this._binaryDecode(e))}if(typeof e==="string"){return r(JSON.parse(e))}return r({})}_binaryDecode(e){const r=new DataView(e);const n=new TextDecoder;return this._decodeBroadcast(e,r,n)}_decodeBroadcast(e,r,n){const s=r.getUint8(1);const i=r.getUint8(2);let o=this.HEADER_LENGTH+2;const c=n.decode(e.slice(o,o+s));o=o+s;const u=n.decode(e.slice(o,o+i));o=o+i;const d=JSON.parse(n.decode(e.slice(o,e.byteLength)));return{ref:null,topic:c,event:u,payload:d}}}r["default"]=Serializer},99920:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});class Timer{constructor(e,r){this.callback=e;this.timerCalc=r;this.timer=undefined;this.tries=0;this.callback=e;this.timerCalc=r}reset(){this.tries=0;clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer);this.timer=setTimeout((()=>{this.tries=this.tries+1;this.callback()}),this.timerCalc(this.tries+1))}}r["default"]=Timer},93429:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.httpEndpointURL=r.toTimestampString=r.toArray=r.toJson=r.toNumber=r.toBoolean=r.convertCell=r.convertColumn=r.convertChangeData=r.PostgresTypes=void 0;var n;(function(e){e["abstime"]="abstime";e["bool"]="bool";e["date"]="date";e["daterange"]="daterange";e["float4"]="float4";e["float8"]="float8";e["int2"]="int2";e["int4"]="int4";e["int4range"]="int4range";e["int8"]="int8";e["int8range"]="int8range";e["json"]="json";e["jsonb"]="jsonb";e["money"]="money";e["numeric"]="numeric";e["oid"]="oid";e["reltime"]="reltime";e["text"]="text";e["time"]="time";e["timestamp"]="timestamp";e["timestamptz"]="timestamptz";e["timetz"]="timetz";e["tsrange"]="tsrange";e["tstzrange"]="tstzrange"})(n=r.PostgresTypes||(r.PostgresTypes={}));const convertChangeData=(e,n,s={})=>{var i;const o=(i=s.skipTypes)!==null&&i!==void 0?i:[];return Object.keys(n).reduce(((s,i)=>{s[i]=(0,r.convertColumn)(i,e,n,o);return s}),{})};r.convertChangeData=convertChangeData;const convertColumn=(e,n,s,i)=>{const o=n.find((r=>r.name===e));const c=o===null||o===void 0?void 0:o.type;const u=s[e];if(c&&!i.includes(c)){return(0,r.convertCell)(c,u)}return noop(u)};r.convertColumn=convertColumn;const convertCell=(e,s)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return(0,r.toArray)(s,n)}switch(e){case n.bool:return(0,r.toBoolean)(s);case n.float4:case n.float8:case n.int2:case n.int4:case n.int8:case n.numeric:case n.oid:return(0,r.toNumber)(s);case n.json:case n.jsonb:return(0,r.toJson)(s);case n.timestamp:return(0,r.toTimestampString)(s);case n.abstime:case n.date:case n.daterange:case n.int4range:case n.int8range:case n.money:case n.reltime:case n.text:case n.time:case n.timestamptz:case n.timetz:case n.tsrange:case n.tstzrange:return noop(s);default:return noop(s)}};r.convertCell=convertCell;const noop=e=>e;const toBoolean=e=>{switch(e){case"t":return true;case"f":return false;default:return e}};r.toBoolean=toBoolean;const toNumber=e=>{if(typeof e==="string"){const r=parseFloat(e);if(!Number.isNaN(r)){return r}}return e};r.toNumber=toNumber;const toJson=e=>{if(typeof e==="string"){try{return JSON.parse(e)}catch(r){console.log(`JSON parse error: ${r}`);return e}}return e};r.toJson=toJson;const toArray=(e,n)=>{if(typeof e!=="string"){return e}const s=e.length-1;const i=e[s];const o=e[0];if(o==="{"&&i==="}"){let i;const o=e.slice(1,s);try{i=JSON.parse("["+o+"]")}catch(e){i=o?o.split(","):[]}return i.map((e=>(0,r.convertCell)(n,e)))}return e};r.toArray=toArray;const toTimestampString=e=>{if(typeof e==="string"){return e.replace(" ","T")}return e};r.toTimestampString=toTimestampString;const httpEndpointURL=e=>{let r=e;r=r.replace(/^ws/i,"http");r=r.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,"");return r.replace(/\/+$/,"")};r.httpEndpointURL=httpEndpointURL},38889:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="2.10.7"},31373:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.StorageClient=void 0;const i=s(n(15384));const o=s(n(64788));class StorageClient extends o.default{constructor(e,r={},n){super(e,r,n)}from(e){return new i.default(this.url,this.headers,e,this.fetch)}}r.StorageClient=StorageClient},71595:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.StorageClient=void 0;var o=n(31373);Object.defineProperty(r,"StorageClient",{enumerable:true,get:function(){return o.StorageClient}});i(n(58362),r);i(n(9012),r)},28990:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.DEFAULT_HEADERS=void 0;const s=n(7827);r.DEFAULT_HEADERS={"X-Client-Info":`storage-js/${s.version}`}},9012:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.StorageUnknownError=r.StorageApiError=r.isStorageError=r.StorageError=void 0;class StorageError extends Error{constructor(e){super(e);this.__isStorageError=true;this.name="StorageError"}}r.StorageError=StorageError;function isStorageError(e){return typeof e==="object"&&e!==null&&"__isStorageError"in e}r.isStorageError=isStorageError;class StorageApiError extends StorageError{constructor(e,r){super(e);this.name="StorageApiError";this.status=r}toJSON(){return{name:this.name,message:this.message,status:this.status}}}r.StorageApiError=StorageApiError;class StorageUnknownError extends StorageError{constructor(e,r){super(e);this.name="StorageUnknownError";this.originalError=r}}r.StorageUnknownError=StorageUnknownError},43183:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.remove=r.head=r.put=r.post=r.get=void 0;const i=n(9012);const o=n(58954);const _getErrorMessage=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e);const handleError=(e,r,n)=>s(void 0,void 0,void 0,(function*(){const s=yield(0,o.resolveResponse)();if(e instanceof s&&!(n===null||n===void 0?void 0:n.noResolveJson)){e.json().then((n=>{r(new i.StorageApiError(_getErrorMessage(n),e.status||500))})).catch((e=>{r(new i.StorageUnknownError(_getErrorMessage(e),e))}))}else{r(new i.StorageUnknownError(_getErrorMessage(e),e))}}));const _getRequestParams=(e,r,n,s)=>{const i={method:e,headers:(r===null||r===void 0?void 0:r.headers)||{}};if(e==="GET"){return i}i.headers=Object.assign({"Content-Type":"application/json"},r===null||r===void 0?void 0:r.headers);if(s){i.body=JSON.stringify(s)}return Object.assign(Object.assign({},i),n)};function _handleRequest(e,r,n,i,o,c){return s(this,void 0,void 0,(function*(){return new Promise(((s,u)=>{e(n,_getRequestParams(r,i,o,c)).then((e=>{if(!e.ok)throw e;if(i===null||i===void 0?void 0:i.noResolveJson)return e;return e.json()})).then((e=>s(e))).catch((e=>handleError(e,u,i)))}))}))}function get(e,r,n,i){return s(this,void 0,void 0,(function*(){return _handleRequest(e,"GET",r,n,i)}))}r.get=get;function post(e,r,n,i,o){return s(this,void 0,void 0,(function*(){return _handleRequest(e,"POST",r,i,o,n)}))}r.post=post;function put(e,r,n,i,o){return s(this,void 0,void 0,(function*(){return _handleRequest(e,"PUT",r,i,o,n)}))}r.put=put;function head(e,r,n,i){return s(this,void 0,void 0,(function*(){return _handleRequest(e,"HEAD",r,Object.assign(Object.assign({},n),{noResolveJson:true}),i)}))}r.head=head;function remove(e,r,n,i,o){return s(this,void 0,void 0,(function*(){return _handleRequest(e,"DELETE",r,i,o,n)}))}r.remove=remove},58954:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.recursiveToCamel=r.resolveResponse=r.resolveFetch=void 0;const resolveFetch=e=>{let r;if(e){r=e}else if(typeof fetch==="undefined"){r=(...e)=>Promise.resolve().then((()=>o(n(83318)))).then((({default:r})=>r(...e)))}else{r=fetch}return(...e)=>r(...e)};r.resolveFetch=resolveFetch;const resolveResponse=()=>c(void 0,void 0,void 0,(function*(){if(typeof Response==="undefined"){return(yield Promise.resolve().then((()=>o(n(83318))))).Response}return Response}));r.resolveResponse=resolveResponse;const recursiveToCamel=e=>{if(Array.isArray(e)){return e.map((e=>(0,r.recursiveToCamel)(e)))}else if(typeof e==="function"||e!==Object(e)){return e}const n={};Object.entries(e).forEach((([e,s])=>{const i=e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace(/[-_]/g,"")));n[i]=(0,r.recursiveToCamel)(s)}));return n};r.recursiveToCamel=recursiveToCamel},58362:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true})},7827:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="2.7.1"},64788:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});const i=n(28990);const o=n(9012);const c=n(43183);const u=n(58954);class StorageBucketApi{constructor(e,r={},n){this.url=e;this.headers=Object.assign(Object.assign({},i.DEFAULT_HEADERS),r);this.fetch=(0,u.resolveFetch)(n)}listBuckets(){return s(this,void 0,void 0,(function*(){try{const e=yield(0,c.get)(this.fetch,`${this.url}/bucket`,{headers:this.headers});return{data:e,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}getBucket(e){return s(this,void 0,void 0,(function*(){try{const r=yield(0,c.get)(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers});return{data:r,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}createBucket(e,r={public:false}){return s(this,void 0,void 0,(function*(){try{const n=yield(0,c.post)(this.fetch,`${this.url}/bucket`,{id:e,name:e,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers});return{data:n,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}updateBucket(e,r){return s(this,void 0,void 0,(function*(){try{const n=yield(0,c.put)(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers});return{data:n,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}emptyBucket(e){return s(this,void 0,void 0,(function*(){try{const r=yield(0,c.post)(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers});return{data:r,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}deleteBucket(e){return s(this,void 0,void 0,(function*(){try{const r=yield(0,c.remove)(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers});return{data:r,error:null}}catch(e){if((0,o.isStorageError)(e)){return{data:null,error:e}}throw e}}))}}r["default"]=StorageBucketApi},15384:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});const i=n(9012);const o=n(43183);const c=n(58954);const u={limit:100,offset:0,sortBy:{column:"name",order:"asc"}};const d={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:false};class StorageFileApi{constructor(e,r={},n,s){this.url=e;this.headers=r;this.bucketId=n;this.fetch=(0,c.resolveFetch)(s)}uploadOrUpdate(e,r,n,o){return s(this,void 0,void 0,(function*(){try{let s;const i=Object.assign(Object.assign({},d),o);let c=Object.assign(Object.assign({},this.headers),e==="POST"&&{"x-upsert":String(i.upsert)});const u=i.metadata;if(typeof Blob!=="undefined"&&n instanceof Blob){s=new FormData;s.append("cacheControl",i.cacheControl);if(u){s.append("metadata",this.encodeMetadata(u))}s.append("",n)}else if(typeof FormData!=="undefined"&&n instanceof FormData){s=n;s.append("cacheControl",i.cacheControl);if(u){s.append("metadata",this.encodeMetadata(u))}}else{s=n;c["cache-control"]=`max-age=${i.cacheControl}`;c["content-type"]=i.contentType;if(u){c["x-metadata"]=this.toBase64(this.encodeMetadata(u))}}if(o===null||o===void 0?void 0:o.headers){c=Object.assign(Object.assign({},c),o.headers)}const A=this._removeEmptyFolders(r);const h=this._getFinalPath(A);const g=yield this.fetch(`${this.url}/object/${h}`,Object.assign({method:e,body:s,headers:c},(i===null||i===void 0?void 0:i.duplex)?{duplex:i.duplex}:{}));const m=yield g.json();if(g.ok){return{data:{path:A,id:m.Id,fullPath:m.Key},error:null}}else{const e=m;return{data:null,error:e}}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}upload(e,r,n){return s(this,void 0,void 0,(function*(){return this.uploadOrUpdate("POST",e,r,n)}))}uploadToSignedUrl(e,r,n,o){return s(this,void 0,void 0,(function*(){const s=this._removeEmptyFolders(e);const c=this._getFinalPath(s);const u=new URL(this.url+`/object/upload/sign/${c}`);u.searchParams.set("token",r);try{let e;const r=Object.assign({upsert:d.upsert},o);const i=Object.assign(Object.assign({},this.headers),{"x-upsert":String(r.upsert)});if(typeof Blob!=="undefined"&&n instanceof Blob){e=new FormData;e.append("cacheControl",r.cacheControl);e.append("",n)}else if(typeof FormData!=="undefined"&&n instanceof FormData){e=n;e.append("cacheControl",r.cacheControl)}else{e=n;i["cache-control"]=`max-age=${r.cacheControl}`;i["content-type"]=r.contentType}const c=yield this.fetch(u.toString(),{method:"PUT",body:e,headers:i});const A=yield c.json();if(c.ok){return{data:{path:s,fullPath:A.Key},error:null}}else{const e=A;return{data:null,error:e}}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}createSignedUploadUrl(e,r){return s(this,void 0,void 0,(function*(){try{let n=this._getFinalPath(e);const s=Object.assign({},this.headers);if(r===null||r===void 0?void 0:r.upsert){s["x-upsert"]="true"}const c=yield(0,o.post)(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:s});const u=new URL(this.url+c.url);const d=u.searchParams.get("token");if(!d){throw new i.StorageError("No token returned by API")}return{data:{signedUrl:u.toString(),path:e,token:d},error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}update(e,r,n){return s(this,void 0,void 0,(function*(){return this.uploadOrUpdate("PUT",e,r,n)}))}move(e,r,n){return s(this,void 0,void 0,(function*(){try{const s=yield(0,o.post)(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n===null||n===void 0?void 0:n.destinationBucket},{headers:this.headers});return{data:s,error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}copy(e,r,n){return s(this,void 0,void 0,(function*(){try{const s=yield(0,o.post)(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n===null||n===void 0?void 0:n.destinationBucket},{headers:this.headers});return{data:{path:s.Key},error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}createSignedUrl(e,r,n){return s(this,void 0,void 0,(function*(){try{let s=this._getFinalPath(e);let i=yield(0,o.post)(this.fetch,`${this.url}/object/sign/${s}`,Object.assign({expiresIn:r},(n===null||n===void 0?void 0:n.transform)?{transform:n.transform}:{}),{headers:this.headers});const c=(n===null||n===void 0?void 0:n.download)?`&download=${n.download===true?"":n.download}`:"";const u=encodeURI(`${this.url}${i.signedURL}${c}`);i={signedUrl:u};return{data:i,error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}createSignedUrls(e,r,n){return s(this,void 0,void 0,(function*(){try{const s=yield(0,o.post)(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:r,paths:e},{headers:this.headers});const i=(n===null||n===void 0?void 0:n.download)?`&download=${n.download===true?"":n.download}`:"";return{data:s.map((e=>Object.assign(Object.assign({},e),{signedUrl:e.signedURL?encodeURI(`${this.url}${e.signedURL}${i}`):null}))),error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}download(e,r){return s(this,void 0,void 0,(function*(){const n=typeof(r===null||r===void 0?void 0:r.transform)!=="undefined";const s=n?"render/image/authenticated":"object";const c=this.transformOptsToQueryString((r===null||r===void 0?void 0:r.transform)||{});const u=c?`?${c}`:"";try{const r=this._getFinalPath(e);const n=yield(0,o.get)(this.fetch,`${this.url}/${s}/${r}${u}`,{headers:this.headers,noResolveJson:true});const i=yield n.blob();return{data:i,error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}info(e){return s(this,void 0,void 0,(function*(){const r=this._getFinalPath(e);try{const e=yield(0,o.get)(this.fetch,`${this.url}/object/info/${r}`,{headers:this.headers});return{data:(0,c.recursiveToCamel)(e),error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}exists(e){return s(this,void 0,void 0,(function*(){const r=this._getFinalPath(e);try{yield(0,o.head)(this.fetch,`${this.url}/object/${r}`,{headers:this.headers});return{data:true,error:null}}catch(e){if((0,i.isStorageError)(e)&&e instanceof i.StorageUnknownError){const r=e.originalError;if([400,404].includes(r===null||r===void 0?void 0:r.status)){return{data:false,error:e}}}throw e}}))}getPublicUrl(e,r){const n=this._getFinalPath(e);const s=[];const i=(r===null||r===void 0?void 0:r.download)?`download=${r.download===true?"":r.download}`:"";if(i!==""){s.push(i)}const o=typeof(r===null||r===void 0?void 0:r.transform)!=="undefined";const c=o?"render/image":"object";const u=this.transformOptsToQueryString((r===null||r===void 0?void 0:r.transform)||{});if(u!==""){s.push(u)}let d=s.join("&");if(d!==""){d=`?${d}`}return{data:{publicUrl:encodeURI(`${this.url}/${c}/public/${n}${d}`)}}}remove(e){return s(this,void 0,void 0,(function*(){try{const r=yield(0,o.remove)(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers});return{data:r,error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}list(e,r,n){return s(this,void 0,void 0,(function*(){try{const s=Object.assign(Object.assign(Object.assign({},u),r),{prefix:e||""});const i=yield(0,o.post)(this.fetch,`${this.url}/object/list/${this.bucketId}`,s,{headers:this.headers},n);return{data:i,error:null}}catch(e){if((0,i.isStorageError)(e)){return{data:null,error:e}}throw e}}))}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){if(typeof Buffer!=="undefined"){return Buffer.from(e).toString("base64")}return btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const r=[];if(e.width){r.push(`width=${e.width}`)}if(e.height){r.push(`height=${e.height}`)}if(e.resize){r.push(`resize=${e.resize}`)}if(e.format){r.push(`format=${e.format}`)}if(e.quality){r.push(`quality=${e.quality}`)}return r.join("&")}}r["default"]=StorageFileApi},61619:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});const i=n(70459);const o=n(93360);const c=n(36209);const u=n(71595);const d=n(23597);const A=n(73248);const h=n(87301);const g=n(15253);class SupabaseClient{constructor(e,r,n){var s,i,c;this.supabaseUrl=e;this.supabaseKey=r;if(!e)throw new Error("supabaseUrl is required.");if(!r)throw new Error("supabaseKey is required.");const u=(0,h.stripTrailingSlash)(e);this.realtimeUrl=`${u}/realtime/v1`.replace(/^http/i,"ws");this.authUrl=`${u}/auth/v1`;this.storageUrl=`${u}/storage/v1`;this.functionsUrl=`${u}/functions/v1`;const g=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`;const m={db:d.DEFAULT_DB_OPTIONS,realtime:d.DEFAULT_REALTIME_OPTIONS,auth:Object.assign(Object.assign({},d.DEFAULT_AUTH_OPTIONS),{storageKey:g}),global:d.DEFAULT_GLOBAL_OPTIONS};const y=(0,h.applySettingDefaults)(n!==null&&n!==void 0?n:{},m);this.storageKey=(s=y.auth.storageKey)!==null&&s!==void 0?s:"";this.headers=(i=y.global.headers)!==null&&i!==void 0?i:{};if(!y.accessToken){this.auth=this._initSupabaseAuthClient((c=y.auth)!==null&&c!==void 0?c:{},this.headers,y.global.fetch)}else{this.accessToken=y.accessToken;this.auth=new Proxy({},{get:(e,r)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(r)} is not possible`)}})}this.fetch=(0,A.fetchWithAuth)(r,this._getAccessToken.bind(this),y.global.fetch);this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},y.realtime));this.rest=new o.PostgrestClient(`${u}/rest/v1`,{headers:this.headers,schema:y.db.schema,fetch:this.fetch});if(!y.accessToken){this._listenForAuthEvents()}}get functions(){return new i.FunctionsClient(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new u.StorageClient(this.storageUrl,this.headers,this.fetch)}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,r={},n={}){return this.rest.rpc(e,r,n)}channel(e,r={config:{}}){return this.realtime.channel(e,r)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,r;return s(this,void 0,void 0,(function*(){if(this.accessToken){return yield this.accessToken()}const{data:n}=yield this.auth.getSession();return(r=(e=n.session)===null||e===void 0?void 0:e.access_token)!==null&&r!==void 0?r:null}))}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:s,storageKey:i,flowType:o,lock:c,debug:u},d,A){var h;const m={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new g.SupabaseAuthClient({url:this.authUrl,headers:Object.assign(Object.assign({},m),d),storageKey:i,autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:s,flowType:o,lock:c,debug:u,fetch:A,hasCustomAuthorizationHeader:(h="Authorization"in this.headers)!==null&&h!==void 0?h:false})}_initRealtimeClient(e){return new c.RealtimeClient(this.realtimeUrl,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},e===null||e===void 0?void 0:e.params)}))}_listenForAuthEvents(){let e=this.auth.onAuthStateChange(((e,r)=>{this._handleTokenChanged(e,"CLIENT",r===null||r===void 0?void 0:r.access_token)}));return e}_handleTokenChanged(e,r,n){if((e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n){this.realtime.setAuth(n!==null&&n!==void 0?n:null);this.changedAccessToken=n}else if(e==="SIGNED_OUT"){this.realtime.setAuth(this.supabaseKey);if(r=="STORAGE")this.auth.signOut();this.changedAccessToken=undefined}}}r["default"]=SupabaseClient},85036:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.createClient=r.SupabaseClient=r.FunctionRegion=r.FunctionsError=r.FunctionsRelayError=r.FunctionsFetchError=r.FunctionsHttpError=void 0;const c=o(n(61619));i(n(31904),r);var u=n(70459);Object.defineProperty(r,"FunctionsHttpError",{enumerable:true,get:function(){return u.FunctionsHttpError}});Object.defineProperty(r,"FunctionsFetchError",{enumerable:true,get:function(){return u.FunctionsFetchError}});Object.defineProperty(r,"FunctionsRelayError",{enumerable:true,get:function(){return u.FunctionsRelayError}});Object.defineProperty(r,"FunctionsError",{enumerable:true,get:function(){return u.FunctionsError}});Object.defineProperty(r,"FunctionRegion",{enumerable:true,get:function(){return u.FunctionRegion}});i(n(36209),r);var d=n(61619);Object.defineProperty(r,"SupabaseClient",{enumerable:true,get:function(){return o(d).default}});const createClient=(e,r,n)=>new c.default(e,r,n);r.createClient=createClient},15253:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.SupabaseAuthClient=void 0;const s=n(31904);class SupabaseAuthClient extends s.AuthClient{constructor(e){super(e)}}r.SupabaseAuthClient=SupabaseAuthClient},23597:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.DEFAULT_REALTIME_OPTIONS=r.DEFAULT_AUTH_OPTIONS=r.DEFAULT_DB_OPTIONS=r.DEFAULT_GLOBAL_OPTIONS=r.DEFAULT_HEADERS=void 0;const s=n(50116);let i="";if(typeof Deno!=="undefined"){i="deno"}else if(typeof document!=="undefined"){i="web"}else if(typeof navigator!=="undefined"&&navigator.product==="ReactNative"){i="react-native"}else{i="node"}r.DEFAULT_HEADERS={"X-Client-Info":`supabase-js-${i}/${s.version}`};r.DEFAULT_GLOBAL_OPTIONS={headers:r.DEFAULT_HEADERS};r.DEFAULT_DB_OPTIONS={schema:"public"};r.DEFAULT_AUTH_OPTIONS={autoRefreshToken:true,persistSession:true,detectSessionInUrl:true,flowType:"implicit"};r.DEFAULT_REALTIME_OPTIONS={}},73248:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};var c=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.fetchWithAuth=r.resolveHeadersConstructor=r.resolveFetch=void 0;const u=o(n(83318));const resolveFetch=e=>{let r;if(e){r=e}else if(typeof fetch==="undefined"){r=u.default}else{r=fetch}return(...e)=>r(...e)};r.resolveFetch=resolveFetch;const resolveHeadersConstructor=()=>{if(typeof Headers==="undefined"){return u.Headers}return Headers};r.resolveHeadersConstructor=resolveHeadersConstructor;const fetchWithAuth=(e,n,s)=>{const i=(0,r.resolveFetch)(s);const o=(0,r.resolveHeadersConstructor)();return(r,s)=>c(void 0,void 0,void 0,(function*(){var c;const u=(c=yield n())!==null&&c!==void 0?c:e;let d=new o(s===null||s===void 0?void 0:s.headers);if(!d.has("apikey")){d.set("apikey",e)}if(!d.has("Authorization")){d.set("Authorization",`Bearer ${u}`)}return i(r,Object.assign(Object.assign({},s),{headers:d}))}))};r.fetchWithAuth=fetchWithAuth},87301:function(e,r){var n=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.applySettingDefaults=r.isBrowser=r.stripTrailingSlash=r.uuid=void 0;function uuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=Math.random()*16|0,n=e=="x"?r:r&3|8;return n.toString(16)}))}r.uuid=uuid;function stripTrailingSlash(e){return e.replace(/\/$/,"")}r.stripTrailingSlash=stripTrailingSlash;const isBrowser=()=>typeof window!=="undefined";r.isBrowser=isBrowser;function applySettingDefaults(e,r){const{db:s,auth:i,realtime:o,global:c}=e;const{db:u,auth:d,realtime:A,global:h}=r;const g={db:Object.assign(Object.assign({},u),s),auth:Object.assign(Object.assign({},d),i),realtime:Object.assign(Object.assign({},A),o),global:Object.assign(Object.assign({},h),c),accessToken:()=>n(this,void 0,void 0,(function*(){return""}))};if(e.accessToken){g.accessToken=e.accessToken}else{delete g.accessToken}return g}r.applySettingDefaults=applySettingDefaults},50116:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="2.45.6"},17413:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});var s=n(16577);class AbortSignal extends s.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const e=i.get(this);if(typeof e!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return e}}s.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const e=Object.create(AbortSignal.prototype);s.EventTarget.call(e);i.set(e,false);return e}function abortSignal(e){if(i.get(e)!==false){return}i.set(e,true);e.dispatchEvent({type:"abort"})}const i=new WeakMap;Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortSignal.prototype,Symbol.toStringTag,{configurable:true,value:"AbortSignal"})}class AbortController{constructor(){o.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const o=new WeakMap;function getSignal(e){const r=o.get(e);if(r==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${e===null?"null":typeof e}`)}return r}Object.defineProperties(AbortController.prototype,{signal:{enumerable:true},abort:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortController.prototype,Symbol.toStringTag,{configurable:true,value:"AbortController"})}r.AbortController=AbortController;r.AbortSignal=AbortSignal;r["default"]=AbortController;e.exports=AbortController;e.exports.AbortController=e.exports["default"]=AbortController;e.exports.AbortSignal=AbortSignal},4777:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});var s=n(61860);var i=n(63168);var o=function(){function Mutex(e){this._semaphore=new i.default(1,e)}Mutex.prototype.acquire=function(){return(0,s.__awaiter)(this,void 0,void 0,(function(){var e,r;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return[4,this._semaphore.acquire()];case 1:e=n.sent(),r=e[1];return[2,r]}}))}))};Mutex.prototype.runExclusive=function(e){return this._semaphore.runExclusive((function(){return e()}))};Mutex.prototype.isLocked=function(){return this._semaphore.isLocked()};Mutex.prototype.waitForUnlock=function(){return this._semaphore.waitForUnlock()};Mutex.prototype.release=function(){this._semaphore.release()};Mutex.prototype.cancel=function(){return this._semaphore.cancel()};return Mutex}();r["default"]=o},63168:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});var s=n(61860);var i=n(63895);var o=function(){function Semaphore(e,r){if(r===void 0){r=i.E_CANCELED}this._maxConcurrency=e;this._cancelError=r;this._queue=[];this._waiters=[];if(e<=0){throw new Error("semaphore must be initialized to a positive value")}this._value=e}Semaphore.prototype.acquire=function(){var e=this;var r=this.isLocked();var n=new Promise((function(r,n){return e._queue.push({resolve:r,reject:n})}));if(!r)this._dispatch();return n};Semaphore.prototype.runExclusive=function(e){return(0,s.__awaiter)(this,void 0,void 0,(function(){var r,n,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return[4,this.acquire()];case 1:r=s.sent(),n=r[0],i=r[1];s.label=2;case 2:s.trys.push([2,,4,5]);return[4,e(n)];case 3:return[2,s.sent()];case 4:i();return[7];case 5:return[2]}}))}))};Semaphore.prototype.waitForUnlock=function(){return(0,s.__awaiter)(this,void 0,void 0,(function(){var e;var r=this;return(0,s.__generator)(this,(function(n){if(!this.isLocked()){return[2,Promise.resolve()]}e=new Promise((function(e){return r._waiters.push({resolve:e})}));return[2,e]}))}))};Semaphore.prototype.isLocked=function(){return this._value<=0};Semaphore.prototype.release=function(){if(this._maxConcurrency>1){throw new Error("this method is unavailable on semaphores with concurrency > 1; use the scoped release returned by acquire instead")}if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=undefined;e()}};Semaphore.prototype.cancel=function(){var e=this;this._queue.forEach((function(r){return r.reject(e._cancelError)}));this._queue=[]};Semaphore.prototype._dispatch=function(){var e=this;var r=this._queue.shift();if(!r)return;var n=false;this._currentReleaser=function(){if(n)return;n=true;e._value++;e._resolveWaiters();e._dispatch()};r.resolve([this._value--,this._currentReleaser])};Semaphore.prototype._resolveWaiters=function(){this._waiters.forEach((function(e){return e.resolve()}));this._waiters=[]};return Semaphore}();r["default"]=o},63895:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.E_CANCELED=r.E_ALREADY_LOCKED=r.E_TIMEOUT=void 0;r.E_TIMEOUT=new Error("timeout while waiting for mutex to become available");r.E_ALREADY_LOCKED=new Error("mutex already locked");r.E_CANCELED=new Error("request for lock canceled")},82626:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.tryAcquire=r.withTimeout=r.Semaphore=r.Mutex=void 0;var s=n(61860);var i=n(4777);Object.defineProperty(r,"Mutex",{enumerable:true,get:function(){return i.default}});var o=n(63168);Object.defineProperty(r,"Semaphore",{enumerable:true,get:function(){return o.default}});var c=n(45753);Object.defineProperty(r,"withTimeout",{enumerable:true,get:function(){return c.withTimeout}});var u=n(36487);Object.defineProperty(r,"tryAcquire",{enumerable:true,get:function(){return u.tryAcquire}});(0,s.__exportStar)(n(63895),r)},36487:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.tryAcquire=void 0;var s=n(63895);var i=n(45753);function tryAcquire(e,r){if(r===void 0){r=s.E_ALREADY_LOCKED}return(0,i.withTimeout)(e,0,r)}r.tryAcquire=tryAcquire},45753:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.withTimeout=void 0;var s=n(61860);var i=n(63895);function withTimeout(e,r,n){var o=this;if(n===void 0){n=i.E_TIMEOUT}return{acquire:function(){return new Promise((function(i,c){return(0,s.__awaiter)(o,void 0,void 0,(function(){var o,u,d,A,h;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:o=false;u=setTimeout((function(){o=true;c(n)}),r);s.label=1;case 1:s.trys.push([1,3,,4]);return[4,e.acquire()];case 2:d=s.sent();if(o){A=Array.isArray(d)?d[1]:d;A()}else{clearTimeout(u);i(d)}return[3,4];case 3:h=s.sent();if(!o){clearTimeout(u);c(h)}return[3,4];case 4:return[2]}}))}))}))},runExclusive:function(e){return(0,s.__awaiter)(this,void 0,void 0,(function(){var r,n;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:r=function(){return undefined};s.label=1;case 1:s.trys.push([1,,7,8]);return[4,this.acquire()];case 2:n=s.sent();if(!Array.isArray(n))return[3,4];r=n[1];return[4,e(n[0])];case 3:return[2,s.sent()];case 4:r=n;return[4,e()];case 5:return[2,s.sent()];case 6:return[3,8];case 7:r();return[7];case 8:return[2]}}))}))},release:function(){e.release()},cancel:function(){return e.cancel()},waitForUnlock:function(){return e.waitForUnlock()},isLocked:function(){return e.isLocked()}}}r.withTimeout=withTimeout},43269:(e,r,n)=>{e=n.nmd(e);var s=function(e){"use strict";var r=1e7,n=7,i=9007199254740992,o=smallToArray(i),c="0123456789abcdefghijklmnopqrstuvwxyz";var u=typeof BigInt==="function";function Integer(e,r,n,s){if(typeof e==="undefined")return Integer[0];if(typeof r!=="undefined")return+r===10&&!n?parseValue(e):parseBase(e,r,n,s);return parseValue(e)}function BigInteger(e,r){this.value=e;this.sign=r;this.isSmall=false}BigInteger.prototype=Object.create(Integer.prototype);function SmallInteger(e){this.value=e;this.sign=e<0;this.isSmall=true}SmallInteger.prototype=Object.create(Integer.prototype);function NativeBigInt(e){this.value=e}NativeBigInt.prototype=Object.create(Integer.prototype);function isPrecise(e){return-i0)return Math.floor(e);return Math.ceil(e)}function add(e,n){var s=e.length,i=n.length,o=new Array(s),c=0,u=r,d,A;for(A=0;A=u?1:0;o[A]=d-c*u}while(A0)o.push(c);return o}function addAny(e,r){if(e.length>=r.length)return add(e,r);return add(r,e)}function addSmall(e,n){var s=e.length,i=new Array(s),o=r,c,u;for(u=0;u0){i[u++]=n%o;n=Math.floor(n/o)}return i}BigInteger.prototype.add=function(e){var r=parseValue(e);if(this.sign!==r.sign){return this.subtract(r.negate())}var n=this.value,s=r.value;if(r.isSmall){return new BigInteger(addSmall(n,Math.abs(s)),this.sign)}return new BigInteger(addAny(n,s),this.sign)};BigInteger.prototype.plus=BigInteger.prototype.add;SmallInteger.prototype.add=function(e){var r=parseValue(e);var n=this.value;if(n<0!==r.sign){return this.subtract(r.negate())}var s=r.value;if(r.isSmall){if(isPrecise(n+s))return new SmallInteger(n+s);s=smallToArray(Math.abs(s))}return new BigInteger(addSmall(s,Math.abs(n)),n<0)};SmallInteger.prototype.plus=SmallInteger.prototype.add;NativeBigInt.prototype.add=function(e){return new NativeBigInt(this.value+parseValue(e).value)};NativeBigInt.prototype.plus=NativeBigInt.prototype.add;function subtract(e,n){var s=e.length,i=n.length,o=new Array(s),c=0,u=r,d,A;for(d=0;d=0){s=subtract(e,r)}else{s=subtract(r,e);n=!n}s=arrayToSmall(s);if(typeof s==="number"){if(n)s=-s;return new SmallInteger(s)}return new BigInteger(s,n)}function subtractSmall(e,n,s){var i=e.length,o=new Array(i),c=-n,u=r,d,A;for(d=0;d=0)};SmallInteger.prototype.minus=SmallInteger.prototype.subtract;NativeBigInt.prototype.subtract=function(e){return new NativeBigInt(this.value-parseValue(e).value)};NativeBigInt.prototype.minus=NativeBigInt.prototype.subtract;BigInteger.prototype.negate=function(){return new BigInteger(this.value,!this.sign)};SmallInteger.prototype.negate=function(){var e=this.sign;var r=new SmallInteger(-this.value);r.sign=!e;return r};NativeBigInt.prototype.negate=function(){return new NativeBigInt(-this.value)};BigInteger.prototype.abs=function(){return new BigInteger(this.value,false)};SmallInteger.prototype.abs=function(){return new SmallInteger(Math.abs(this.value))};NativeBigInt.prototype.abs=function(){return new NativeBigInt(this.value>=0?this.value:-this.value)};function multiplyLong(e,n){var s=e.length,i=n.length,o=s+i,c=createArray(o),u=r,d,A,h,g,m;for(h=0;h0){i[d++]=c%o;c=Math.floor(c/o)}return i}function shiftLeft(e,r){var n=[];while(r-- >0)n.push(0);return n.concat(e)}function multiplyKaratsuba(e,r){var n=Math.max(e.length,r.length);if(n<=30)return multiplyLong(e,r);n=Math.ceil(n/2);var s=e.slice(n),i=e.slice(0,n),o=r.slice(n),c=r.slice(0,n);var u=multiplyKaratsuba(i,c),d=multiplyKaratsuba(s,o),A=multiplyKaratsuba(addAny(i,s),addAny(c,o));var h=addAny(addAny(u,shiftLeft(subtract(subtract(A,u),d),n)),shiftLeft(d,2*n));trim(h);return h}function useKaratsuba(e,r){return-.012*e-.012*r+15e-6*e*r>0}BigInteger.prototype.multiply=function(e){var n=parseValue(e),s=this.value,i=n.value,o=this.sign!==n.sign,c;if(n.isSmall){if(i===0)return Integer[0];if(i===1)return this;if(i===-1)return this.negate();c=Math.abs(i);if(c=0;m--){g=o-1;if(A[m+i]!==u){g=Math.floor((A[m+i]*o+A[m+i-1])/u)}y=0;E=0;b=h.length;for(_=0;_i){h=(h+1)*u}d=Math.ceil(h/g);do{m=multiplySmall(n,d);if(compareAbs(m,c)<=0)break;d--}while(d);o.push(d);c=subtract(c,m)}o.reverse();return[arrayToSmall(o),arrayToSmall(c)]}function divModSmall(e,n){var s=e.length,i=createArray(s),o=r,c,u,d,A;d=0;for(c=s-1;c>=0;--c){A=d*o+e[c];u=truncate(A/n);d=A-u*n;i[c]=u|0}return[i,d|0]}function divModAny(e,n){var s,i=parseValue(n);if(u){return[new NativeBigInt(e.value/i.value),new NativeBigInt(e.value%i.value)]}var o=e.value,c=i.value;var d;if(c===0)throw new Error("Cannot divide by zero");if(e.isSmall){if(i.isSmall){return[new SmallInteger(truncate(o/c)),new SmallInteger(o%c)]}return[Integer[0],e]}if(i.isSmall){if(c===1)return[e,Integer[0]];if(c==-1)return[e.negate(),Integer[0]];var A=Math.abs(c);if(Ar.length?1:-1}for(var n=e.length-1;n>=0;n--){if(e[n]!==r[n])return e[n]>r[n]?1:-1}return 0}BigInteger.prototype.compareAbs=function(e){var r=parseValue(e),n=this.value,s=r.value;if(r.isSmall)return 1;return compareAbs(n,s)};SmallInteger.prototype.compareAbs=function(e){var r=parseValue(e),n=Math.abs(this.value),s=r.value;if(r.isSmall){s=Math.abs(s);return n===s?0:n>s?1:-1}return-1};NativeBigInt.prototype.compareAbs=function(e){var r=this.value;var n=parseValue(e).value;r=r>=0?r:-r;n=n>=0?n:-n;return r===n?0:r>n?1:-1};BigInteger.prototype.compare=function(e){if(e===Infinity){return-1}if(e===-Infinity){return 1}var r=parseValue(e),n=this.value,s=r.value;if(this.sign!==r.sign){return r.sign?1:-1}if(r.isSmall){return this.sign?-1:1}return compareAbs(n,s)*(this.sign?-1:1)};BigInteger.prototype.compareTo=BigInteger.prototype.compare;SmallInteger.prototype.compare=function(e){if(e===Infinity){return-1}if(e===-Infinity){return 1}var r=parseValue(e),n=this.value,s=r.value;if(r.isSmall){return n==s?0:n>s?1:-1}if(n<0!==r.sign){return n<0?-1:1}return n<0?1:-1};SmallInteger.prototype.compareTo=SmallInteger.prototype.compare;NativeBigInt.prototype.compare=function(e){if(e===Infinity){return-1}if(e===-Infinity){return 1}var r=this.value;var n=parseValue(e).value;return r===n?0:r>n?1:-1};NativeBigInt.prototype.compareTo=NativeBigInt.prototype.compare;BigInteger.prototype.equals=function(e){return this.compare(e)===0};NativeBigInt.prototype.eq=NativeBigInt.prototype.equals=SmallInteger.prototype.eq=SmallInteger.prototype.equals=BigInteger.prototype.eq=BigInteger.prototype.equals;BigInteger.prototype.notEquals=function(e){return this.compare(e)!==0};NativeBigInt.prototype.neq=NativeBigInt.prototype.notEquals=SmallInteger.prototype.neq=SmallInteger.prototype.notEquals=BigInteger.prototype.neq=BigInteger.prototype.notEquals;BigInteger.prototype.greater=function(e){return this.compare(e)>0};NativeBigInt.prototype.gt=NativeBigInt.prototype.greater=SmallInteger.prototype.gt=SmallInteger.prototype.greater=BigInteger.prototype.gt=BigInteger.prototype.greater;BigInteger.prototype.lesser=function(e){return this.compare(e)<0};NativeBigInt.prototype.lt=NativeBigInt.prototype.lesser=SmallInteger.prototype.lt=SmallInteger.prototype.lesser=BigInteger.prototype.lt=BigInteger.prototype.lesser;BigInteger.prototype.greaterOrEquals=function(e){return this.compare(e)>=0};NativeBigInt.prototype.geq=NativeBigInt.prototype.greaterOrEquals=SmallInteger.prototype.geq=SmallInteger.prototype.greaterOrEquals=BigInteger.prototype.geq=BigInteger.prototype.greaterOrEquals;BigInteger.prototype.lesserOrEquals=function(e){return this.compare(e)<=0};NativeBigInt.prototype.leq=NativeBigInt.prototype.lesserOrEquals=SmallInteger.prototype.leq=SmallInteger.prototype.lesserOrEquals=BigInteger.prototype.leq=BigInteger.prototype.lesserOrEquals;BigInteger.prototype.isEven=function(){return(this.value[0]&1)===0};SmallInteger.prototype.isEven=function(){return(this.value&1)===0};NativeBigInt.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)};BigInteger.prototype.isOdd=function(){return(this.value[0]&1)===1};SmallInteger.prototype.isOdd=function(){return(this.value&1)===1};NativeBigInt.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)};BigInteger.prototype.isPositive=function(){return!this.sign};SmallInteger.prototype.isPositive=function(){return this.value>0};NativeBigInt.prototype.isPositive=SmallInteger.prototype.isPositive;BigInteger.prototype.isNegative=function(){return this.sign};SmallInteger.prototype.isNegative=function(){return this.value<0};NativeBigInt.prototype.isNegative=SmallInteger.prototype.isNegative;BigInteger.prototype.isUnit=function(){return false};SmallInteger.prototype.isUnit=function(){return Math.abs(this.value)===1};NativeBigInt.prototype.isUnit=function(){return this.abs().value===BigInt(1)};BigInteger.prototype.isZero=function(){return false};SmallInteger.prototype.isZero=function(){return this.value===0};NativeBigInt.prototype.isZero=function(){return this.value===BigInt(0)};BigInteger.prototype.isDivisibleBy=function(e){var r=parseValue(e);if(r.isZero())return false;if(r.isUnit())return true;if(r.compareAbs(2)===0)return this.isEven();return this.mod(r).isZero()};NativeBigInt.prototype.isDivisibleBy=SmallInteger.prototype.isDivisibleBy=BigInteger.prototype.isDivisibleBy;function isBasicPrime(e){var r=e.abs();if(r.isUnit())return false;if(r.equals(2)||r.equals(3)||r.equals(5))return true;if(r.isEven()||r.isDivisibleBy(3)||r.isDivisibleBy(5))return false;if(r.lesser(49))return true}function millerRabinTest(e,r){var n=e.prev(),i=n,o=0,c,u,d,A;while(i.isEven())i=i.divide(2),o++;e:for(d=0;d-i)return new SmallInteger(e-1);return new BigInteger(o,true)};NativeBigInt.prototype.prev=function(){return new NativeBigInt(this.value-BigInt(1))};var d=[1];while(2*d[d.length-1]<=r)d.push(2*d[d.length-1]);var A=d.length,h=d[A-1];function shift_isSmall(e){return Math.abs(e)<=r}BigInteger.prototype.shiftLeft=function(e){var r=parseValue(e).toJSNumber();if(!shift_isSmall(r)){throw new Error(String(r)+" is too large for shifting.")}if(r<0)return this.shiftRight(-r);var n=this;if(n.isZero())return n;while(r>=A){n=n.multiply(h);r-=A-1}return n.multiply(d[r])};NativeBigInt.prototype.shiftLeft=SmallInteger.prototype.shiftLeft=BigInteger.prototype.shiftLeft;BigInteger.prototype.shiftRight=function(e){var r;var n=parseValue(e).toJSNumber();if(!shift_isSmall(n)){throw new Error(String(n)+" is too large for shifting.")}if(n<0)return this.shiftLeft(-n);var s=this;while(n>=A){if(s.isZero()||s.isNegative()&&s.isUnit())return s;r=divModAny(s,h);s=r[1].isNegative()?r[0].prev():r[0];n-=A-1}r=divModAny(s,d[n]);return r[1].isNegative()?r[0].prev():r[0]};NativeBigInt.prototype.shiftRight=SmallInteger.prototype.shiftRight=BigInteger.prototype.shiftRight;function bitwise(e,r,n){r=parseValue(r);var i=e.isNegative(),o=r.isNegative();var c=i?e.not():e,u=o?r.not():r;var d=0,A=0;var g=null,m=null;var y=[];while(!c.isZero()||!u.isZero()){g=divModAny(c,h);d=g[1].toJSNumber();if(i){d=h-1-d}m=divModAny(u,h);A=m[1].toJSNumber();if(o){A=h-1-A}c=g[0];u=m[0];y.push(n(d,A))}var E=n(i?1:0,o?1:0)!==0?s(-1):s(0);for(var _=y.length-1;_>=0;_-=1){E=E.multiply(h).add(s(y[_]))}return E}BigInteger.prototype.not=function(){return this.negate().prev()};NativeBigInt.prototype.not=SmallInteger.prototype.not=BigInteger.prototype.not;BigInteger.prototype.and=function(e){return bitwise(this,e,(function(e,r){return e&r}))};NativeBigInt.prototype.and=SmallInteger.prototype.and=BigInteger.prototype.and;BigInteger.prototype.or=function(e){return bitwise(this,e,(function(e,r){return e|r}))};NativeBigInt.prototype.or=SmallInteger.prototype.or=BigInteger.prototype.or;BigInteger.prototype.xor=function(e){return bitwise(this,e,(function(e,r){return e^r}))};NativeBigInt.prototype.xor=SmallInteger.prototype.xor=BigInteger.prototype.xor;var g=1<<30,m=(r&-r)*(r&-r)|g;function roughLOB(e){var n=e.value,s=typeof n==="number"?n|g:typeof n==="bigint"?n|BigInt(g):n[0]+n[1]*r|m;return s&-s}function integerLogarithm(e,r){if(r.compareTo(e)<=0){var n=integerLogarithm(e,r.square(r));var i=n.p;var o=n.e;var c=i.multiply(r);return c.compareTo(e)<=0?{p:c,e:o*2+1}:{p:i,e:o*2}}return{p:s(1),e:0}}BigInteger.prototype.bitLength=function(){var e=this;if(e.compareTo(s(0))<0){e=e.negate().subtract(s(1))}if(e.compareTo(s(0))===0){return s(0)}return s(integerLogarithm(e,s(2)).e).add(s(1))};NativeBigInt.prototype.bitLength=SmallInteger.prototype.bitLength=BigInteger.prototype.bitLength;function max(e,r){e=parseValue(e);r=parseValue(r);return e.greater(r)?e:r}function min(e,r){e=parseValue(e);r=parseValue(r);return e.lesser(r)?e:r}function gcd(e,r){e=parseValue(e).abs();r=parseValue(r).abs();if(e.equals(r))return e;if(e.isZero())return r;if(r.isZero())return e;var n=Integer[1],s,i;while(e.isEven()&&r.isEven()){s=min(roughLOB(e),roughLOB(r));e=e.divide(s);r=r.divide(s);n=n.multiply(s)}while(e.isEven()){e=e.divide(roughLOB(e))}do{while(r.isEven()){r=r.divide(roughLOB(r))}if(e.greater(r)){i=r;r=e;e=i}r=r.subtract(e)}while(!r.isZero());return n.isUnit()?e:e.multiply(n)}function lcm(e,r){e=parseValue(e).abs();r=parseValue(r).abs();return e.divide(gcd(e,r)).multiply(r)}function randBetween(e,n,s){e=parseValue(e);n=parseValue(n);var i=s||Math.random;var o=min(e,n),c=max(e,n);var u=c.subtract(o).add(1);if(u.isSmall)return o.add(Math.floor(i()*u));var d=toBase(u,r).value;var A=[],h=true;for(var g=0;g=u){if(A==="1"&&u===1)continue;throw new Error(A+" is not a valid digit in base "+r+".")}}}r=parseValue(r);var h=[];var g=e[0]==="-";for(o=g?1:0;o"&&o=0;o--){s=s.add(e[o].times(i));i=i.times(r)}return n?s.negate():s}function stringify(e,r){r=r||c;if(e"}function toBase(e,r){r=s(r);if(r.isZero()){if(e.isZero())return{value:[0],isNegative:false};throw new Error("Cannot convert nonzero numbers to base 0.")}if(r.equals(-1)){if(e.isZero())return{value:[0],isNegative:false};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:false};var n=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);n.unshift([1]);return{value:[].concat.apply([],n),isNegative:false}}var i=false;if(e.isNegative()&&r.isPositive()){i=true;e=e.abs()}if(r.isUnit()){if(e.isZero())return{value:[0],isNegative:false};return{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:i}}var o=[];var c=e,u;while(c.isNegative()||c.compareAbs(r)>=0){u=c.divmod(r);c=u.quotient;var d=u.remainder;if(d.isNegative()){d=r.minus(d).abs();c=c.next()}o.push(d.toJSNumber())}o.push(c.toJSNumber());return{value:o.reverse(),isNegative:i}}function toBaseString(e,r,n){var s=toBase(e,r);return(s.isNegative?"-":"")+s.value.map((function(e){return stringify(e,n)})).join("")}BigInteger.prototype.toArray=function(e){return toBase(this,e)};SmallInteger.prototype.toArray=function(e){return toBase(this,e)};NativeBigInt.prototype.toArray=function(e){return toBase(this,e)};BigInteger.prototype.toString=function(r,n){if(r===e)r=10;if(r!==10||n)return toBaseString(this,r,n);var s=this.value,i=s.length,o=String(s[--i]),c="0000000",u;while(--i>=0){u=String(s[i]);o+=c.slice(u.length)+u}var d=this.sign?"-":"";return d+o};SmallInteger.prototype.toString=function(r,n){if(r===e)r=10;if(r!=10||n)return toBaseString(this,r,n);return String(this.value)};NativeBigInt.prototype.toString=SmallInteger.prototype.toString;NativeBigInt.prototype.toJSON=BigInteger.prototype.toJSON=SmallInteger.prototype.toJSON=function(){return this.toString()};BigInteger.prototype.valueOf=function(){return parseInt(this.toString(),10)};BigInteger.prototype.toJSNumber=BigInteger.prototype.valueOf;SmallInteger.prototype.valueOf=function(){return this.value};SmallInteger.prototype.toJSNumber=SmallInteger.prototype.valueOf;NativeBigInt.prototype.valueOf=NativeBigInt.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function parseStringValue(e){if(isPrecise(+e)){var r=+e;if(r===truncate(r))return u?new NativeBigInt(BigInt(r)):new SmallInteger(r);throw new Error("Invalid integer: "+e)}var s=e[0]==="-";if(s)e=e.slice(1);var i=e.split(/e/i);if(i.length>2)throw new Error("Invalid integer: "+i.join("e"));if(i.length===2){var o=i[1];if(o[0]==="+")o=o.slice(1);o=+o;if(o!==truncate(o)||!isPrecise(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var c=i[0];var d=c.indexOf(".");if(d>=0){o-=c.length-d-1;c=c.slice(0,d)+c.slice(d+1)}if(o<0)throw new Error("Cannot include negative exponent part for integers");c+=new Array(o+1).join("0");e=c}var A=/^([0-9][0-9]*)$/.test(e);if(!A)throw new Error("Invalid integer: "+e);if(u){return new NativeBigInt(BigInt(s?"-"+e:e))}var h=[],g=e.length,m=n,y=g-m;while(g>0){h.push(+e.slice(y,g));y-=m;if(y<0)y=0;g-=m}trim(h);return new BigInteger(h,s)}function parseNumberValue(e){if(u){return new NativeBigInt(BigInt(e))}if(isPrecise(e)){if(e!==truncate(e))throw new Error(e+" is not an integer.");return new SmallInteger(e)}return parseStringValue(e.toString())}function parseValue(e){if(typeof e==="number"){return parseNumberValue(e)}if(typeof e==="string"){return parseStringValue(e)}if(typeof e==="bigint"){return new NativeBigInt(e)}return e}for(var y=0;y<1e3;y++){Integer[y]=parseValue(y);if(y>0)Integer[-y]=parseValue(-y)}Integer.one=Integer[1];Integer.zero=Integer[0];Integer.minusOne=Integer[-1];Integer.max=max;Integer.min=min;Integer.gcd=gcd;Integer.lcm=lcm;Integer.isInstance=function(e){return e instanceof BigInteger||e instanceof SmallInteger||e instanceof NativeBigInt};Integer.randBetween=randBetween;Integer.fromArray=function(e,r,n){return parseBaseFromArray(e.map(parseValue),parseValue(r||10),n)};return Integer}();if(true&&e.hasOwnProperty("exports")){e.exports=s}if(typeof define==="function"&&define.amd){define((function(){return s}))}},63251:function(e){(function(r,n){true?e.exports=n():0})(this,(function(){"use strict";var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(e){return e&&e["default"]||e}var load=function(e,r,n={}){var s,i,o;for(s in r){o=r[s];n[s]=(i=e[s])!=null?i:o}return n};var overwrite=function(e,r,n={}){var s,i;for(s in e){i=e[s];if(r[s]!==void 0){n[s]=i}}return n};var r={load:load,overwrite:overwrite};var n;n=class DLList{constructor(e,r){this.incr=e;this.decr=r;this._first=null;this._last=null;this.length=0}push(e){var r;this.length++;if(typeof this.incr==="function"){this.incr()}r={value:e,prev:this._last,next:null};if(this._last!=null){this._last.next=r;this._last=r}else{this._first=this._last=r}return void 0}shift(){var e;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}e=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return e}first(){if(this._first!=null){return this._first.value}}getArray(){var e,r,n;e=this._first;n=[];while(e!=null){n.push((r=e,e=e.next,r.value))}return n}forEachShift(e){var r;r=this.shift();while(r!=null){e(r),r=this.shift()}return void 0}debug(){var e,r,n,s,i;e=this._first;i=[];while(e!=null){i.push((r=e,e=e.next,{value:r.value,prev:(n=r.prev)!=null?n.value:void 0,next:(s=r.next)!=null?s.value:void 0}))}return i}};var s=n;var i;i=class Events{constructor(e){this.instance=e;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(e,r)=>this._addListener(e,"many",r);this.instance.once=(e,r)=>this._addListener(e,"once",r);this.instance.removeAllListeners=(e=null)=>{if(e!=null){return delete this._events[e]}else{return this._events={}}}}_addListener(e,r,n){var s;if((s=this._events)[e]==null){s[e]=[]}this._events[e].push({cb:n,status:r});return this.instance}listenerCount(e){if(this._events[e]!=null){return this._events[e].length}else{return 0}}async trigger(e,...r){var n,s;try{if(e!=="debug"){this.trigger("debug",`Event triggered: ${e}`,r)}if(this._events[e]==null){return}this._events[e]=this._events[e].filter((function(e){return e.status!=="none"}));s=this._events[e].map((async e=>{var n,s;if(e.status==="none"){return}if(e.status==="once"){e.status="none"}try{s=typeof e.cb==="function"?e.cb(...r):void 0;if(typeof(s!=null?s.then:void 0)==="function"){return await s}else{return s}}catch(e){n=e;{this.trigger("error",n)}return null}}));return(await Promise.all(s)).find((function(e){return e!=null}))}catch(e){n=e;{this.trigger("error",n)}return null}}};var o=i;var c,u,d;c=s;u=o;d=class Queues{constructor(e){var r;this.Events=new u(this);this._length=0;this._lists=function(){var n,s,i;i=[];for(r=n=1,s=e;1<=s?n<=s:n>=s;r=1<=s?++n:--n){i.push(new c((()=>this.incr()),(()=>this.decr())))}return i}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(e){return this._lists[e.options.priority].push(e)}queued(e){if(e!=null){return this._lists[e].length}else{return this._length}}shiftAll(e){return this._lists.forEach((function(r){return r.forEachShift(e)}))}getFirst(e=this._lists){var r,n,s;for(r=0,n=e.length;r0){return s}}return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}};var A=d;var h;h=class BottleneckError extends Error{};var g=h;var m,y,E,_,b;_=10;y=5;b=r;m=g;E=class Job{constructor(e,r,n,s,i,o,c,u){this.task=e;this.args=r;this.rejectOnDrop=i;this.Events=o;this._states=c;this.Promise=u;this.options=b.load(n,s);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===s.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((e,r)=>{this._resolve=e;this._reject=r}));this.retryCount=0}_sanitizePriority(e){var r;r=~~e!==e?y:e;if(r<0){return 0}else if(r>_-1){return _-1}else{return r}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:r="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(e!=null?e:new m(r))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(e){var r;r=this._states.jobStatus(this.options.id);if(!(r===e||e==="DONE"&&r===null)){throw new m(`Invalid job status ${r}, expected ${e}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(e,r){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:e,blocked:r})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(e,r,n,s){var i,o,c;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}o={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",o);try{c=await(e!=null?e.schedule(this.options,this.task,...this.args):this.task(...this.args));if(r()){this.doDone(o);await s(this.options,o);this._assertStatus("DONE");return this._resolve(c)}}catch(e){i=e;return this._onFailure(i,o,r,n,s)}}doExpire(e,r,n){var s,i;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");i={args:this.args,options:this.options,retryCount:this.retryCount};s=new m(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(s,i,e,r,n)}async _onFailure(e,r,n,s,i){var o,c;if(n()){o=await this.Events.trigger("failed",e,r);if(o!=null){c=~~o;this.Events.trigger("retry",`Retrying ${this.options.id} after ${c} ms`,r);this.retryCount++;return s(c)}else{this.doDone(r);await i(this.options,r);this._assertStatus("DONE");return this._reject(e)}}}doDone(e){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",e)}};var I=E;var v,C,w;w=r;v=g;C=class LocalDatastore{constructor(e,r,n){this.instance=e;this.storeOptions=r;this.clientId=this.instance._randomIndex();w.load(n,n,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var e;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(e=this.heartbeat=setInterval((()=>{var e,r,n,s,i;s=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&s>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=s;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&s>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:n,reservoir:i}=this.storeOptions);this._lastReservoirIncrease=s;r=n!=null?Math.min(e,n-i):e;if(r>0){this.storeOptions.reservoir+=r;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?e.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(e){await this.yieldLoop();return this.instance.Events.trigger("message",e.toString())}async __disconnect__(e){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(e=0){return new this.Promise((function(r,n){return setTimeout(r,e)}))}computePenalty(){var e;return(e=this.storeOptions.penalty)!=null?e:15*this.storeOptions.minTime||5e3}async __updateSettings__(e){await this.yieldLoop();w.overwrite(e,e,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(e){await this.yieldLoop();return this._nextRequest+this.timeout=e}check(e,r){return this.conditionsCheck(e)&&this._nextRequest-r<=0}async __check__(e){var r;await this.yieldLoop();r=Date.now();return this.check(e,r)}async __register__(e,r,n){var s,i;await this.yieldLoop();s=Date.now();if(this.conditionsCheck(r)){this._running+=r;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=r}i=Math.max(this._nextRequest-s,0);this._nextRequest=s+i+this.storeOptions.minTime;return{success:true,wait:i,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(e,r){var n,s,i;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&r>this.storeOptions.maxConcurrent){throw new v(`Impossible to add a job having a weight of ${r} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}s=Date.now();i=this.storeOptions.highWater!=null&&e===this.storeOptions.highWater&&!this.check(r,s);n=this.strategyIsBlock()&&(i||this.isBlocked(s));if(n){this._unblockTime=s+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:i,blocked:n,strategy:this.storeOptions.strategy}}async __free__(e,r){await this.yieldLoop();this._running-=r;this._done+=r;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var B=C;var S,T;S=g;T=class States{constructor(e){this.status=e;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(e){var r,n;r=this._jobs[e];n=r+1;if(r!=null&&n{e[this.status[n]]=r;return e}),{})}};var k=T;var R,Q;R=s;Q=class Sync{constructor(e,r){this.schedule=this.schedule.bind(this);this.name=e;this.Promise=r;this._running=0;this._queue=new R}isEmpty(){return this._queue.length===0}async _tryToRun(){var e,r,n,s,i,o,c;if(this._running<1&&this._queue.length>0){this._running++;({task:c,args:e,resolve:i,reject:s}=this._queue.shift());r=await async function(){try{o=await c(...e);return function(){return i(o)}}catch(e){n=e;return function(){return s(n)}}}();this._running--;this._tryToRun();return r()}}schedule(e,...r){var n,s,i;i=s=null;n=new this.Promise((function(e,r){i=e;return s=r}));this._queue.push({task:e,args:r,resolve:i,reject:s});this._tryToRun();return n}};var P=Q;var O="2.19.5";var D={version:O};var F=Object.freeze({version:O,default:D});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var M,x,U,N,L,G;G=r;M=o;N=require$$2;U=require$$3;L=require$$4;x=function(){class Group{constructor(e={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=e;G.load(this.limiterOptions,this.defaults,this);this.Events=new M(this);this.instances={};this.Bottleneck=oe;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new N(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new U(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(e=""){var r;return(r=this.instances[e])!=null?r:(()=>{var r;r=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",r,e);return r})()}async deleteKey(e=""){var r,n;n=this.instances[e];if(this.connection){r=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${e}`)])}if(n!=null){delete this.instances[e];await n.disconnect()}return n!=null||r>0}limiters(){var e,r,n,s;r=this.instances;n=[];for(e in r){s=r[e];n.push({key:e,limiter:s})}return n}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,r,n,s,i,o,c,u,d;if(this.connection==null){return this.Promise.resolve(this.keys())}o=[];e=null;d=`b_${this.id}-`.length;r="_settings".length;while(e!==0){[u,n]=await this.connection.__runCommand__(["scan",e!=null?e:0,"match",`b_${this.id}-*_settings`,"count",1e4]);e=~~u;for(s=0,c=n.length;s{var e,r,n,s,i,o;i=Date.now();n=this.instances;s=[];for(r in n){o=n[r];try{if(await o._store.__groupCheck__(i)){s.push(this.deleteKey(r))}else{s.push(void 0)}}catch(r){e=r;s.push(o.Events.trigger("error",e))}}return s}),this.timeout/2)).unref==="function"?e.unref():void 0}updateSettings(e={}){G.overwrite(e,this.defaults,this);G.overwrite(e,e,this.limiterOptions);if(e.timeout!=null){return this._startAutoCleanup()}}disconnect(e=true){var r;if(!this.sharedConnection){return(r=this.connection)!=null?r.disconnect(e):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(e);var j=x;var V,q,H;H=r;q=o;V=function(){class Batcher{constructor(e={}){this.options=e;H.load(this.options,this.defaults,this);this.Events=new q(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((e,r)=>this._resolve=e))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(e){var r;this._arr.push(e);r=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return r}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(e);var W=V;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var K=getCjsExportFromNamespace(F);var J,Y,z,$,Z,X,ee,te,re,ne,se,ie=[].splice;X=10;Y=5;se=r;ee=A;$=I;Z=B;te=require$$4$1;z=o;re=k;ne=P;J=function(){class Bottleneck{constructor(e={},...r){var n,s;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(e,r);se.load(e,this.instanceDefaults,this);this._queues=new ee(X);this._scheduled={};this._states=new re(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new z(this);this._submitLock=new ne("submit",this.Promise);this._registerLock=new ne("register",this.Promise);s=se.load(e,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){n=se.load(e,this.redisStoreDefaults,{});return new te(this,s,n)}else if(this.datastore==="local"){n=se.load(e,this.localStoreDefaults,{});return new Z(this,s,n)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.ref==="function"?e.ref():void 0:void 0}));this._queues.on("zero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.unref==="function"?e.unref():void 0:void 0}))}_validateOptions(e,r){if(!(e!=null&&typeof e==="object"&&r.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=true){return this._store.__disconnect__(e)}chain(e){this._limiter=e;return this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){if(this._scheduled[e]!=null){clearTimeout(this._scheduled[e].expiration);delete this._scheduled[e];return true}else{return false}}async _free(e,r,n,s){var i,o;try{({running:o}=await this._store.__free__(e,n.weight));this.Events.trigger("debug",`Freed ${n.id}`,s);if(o===0&&this.empty()){return this.Events.trigger("idle")}}catch(e){i=e;return this.Events.trigger("error",i)}}_run(e,r,n){var s,i,o;r.doRun();s=this._clearGlobalState.bind(this,e);o=this._run.bind(this,e,r);i=this._free.bind(this,e,r);return this._scheduled[e]={timeout:setTimeout((()=>r.doExecute(this._limiter,s,o,i)),n),expiration:r.options.expiration!=null?setTimeout((function(){return r.doExpire(s,o,i)}),n+r.options.expiration):void 0,job:r}}_drainOne(e){return this._registerLock.schedule((()=>{var r,n,s,i,o;if(this.queued()===0){return this.Promise.resolve(null)}o=this._queues.getFirst();({options:i,args:r}=s=o.first());if(e!=null&&i.weight>e){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${i.id}`,{args:r,options:i});n=this._randomIndex();return this._store.__register__(n,i.weight,i.expiration).then((({success:e,wait:c,reservoir:u})=>{var d;this.Events.trigger("debug",`Drained ${i.id}`,{success:e,args:r,options:i});if(e){o.shift();d=this.empty();if(d){this.Events.trigger("empty")}if(u===0){this.Events.trigger("depleted",d)}this._run(n,s,c);return this.Promise.resolve(i.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(e,r=0){return this._drainOne(e).then((n=>{var s;if(n!=null){s=e!=null?e-n:e;return this._drainAll(s,r+n)}else{return this.Promise.resolve(r)}})).catch((e=>this.Events.trigger("error",e)))}_dropAllQueued(e){return this._queues.shiftAll((function(r){return r.doDrop({message:e})}))}stop(e={}){var r,n;e=se.load(e,this.stopDefaults);n=e=>{var r;r=()=>{var r;r=this._states.counts;return r[0]+r[1]+r[2]+r[3]===e};return new this.Promise(((e,n)=>{if(r()){return e()}else{return this.on("done",(()=>{if(r()){this.removeAllListeners("done");return e()}}))}}))};r=e.dropWaitingJobs?(this._run=function(r,n){return n.doDrop({message:e.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var r,s,i;s=this._scheduled;for(r in s){i=s[r];if(this.jobStatus(i.job.options.id)==="RUNNING"){clearTimeout(i.timeout);clearTimeout(i.expiration);i.job.doDrop({message:e.dropErrorMessage})}}this._dropAllQueued(e.dropErrorMessage);return n(0)}))))):this.schedule({priority:X-1,weight:0},(()=>n(1)));this._receive=function(r){return r._reject(new Bottleneck.prototype.BottleneckError(e.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return r}async _addToQueue(e){var r,n,s,i,o,c,u;({args:r,options:i}=e);try{({reachedHWM:o,blocked:n,strategy:u}=await this._store.__submit__(this.queued(),i.weight))}catch(n){s=n;this.Events.trigger("debug",`Could not queue ${i.id}`,{args:r,options:i,error:s});e.doDrop({error:s});return false}if(n){e.doDrop();return true}else if(o){c=u===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(i.priority):u===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(i.priority+1):u===Bottleneck.prototype.strategy.OVERFLOW?e:void 0;if(c!=null){c.doDrop()}if(c==null||u===Bottleneck.prototype.strategy.OVERFLOW){if(c==null){e.doDrop()}return o}}e.doQueue(o,n);this._queues.push(e);await this._drainAll();return o}_receive(e){if(this._states.jobStatus(e.options.id)!=null){e._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${e.options.id})`));return false}else{e.doReceive();return this._submitLock.schedule(this._addToQueue,e)}}submit(...e){var r,n,s,i,o,c,u;if(typeof e[0]==="function"){o=e,[n,...e]=o,[r]=ie.call(e,-1);i=se.load({},this.jobDefaults)}else{c=e,[i,n,...e]=c,[r]=ie.call(e,-1);i=se.load(i,this.jobDefaults)}u=(...e)=>new this.Promise((function(r,s){return n(...e,(function(...e){return(e[0]!=null?s:r)(e)}))}));s=new $(u,e,i,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);s.promise.then((function(e){return typeof r==="function"?r(...e):void 0})).catch((function(e){if(Array.isArray(e)){return typeof r==="function"?r(...e):void 0}else{return typeof r==="function"?r(e):void 0}}));return this._receive(s)}schedule(...e){var r,n,s;if(typeof e[0]==="function"){[s,...e]=e;n={}}else{[n,s,...e]=e}r=new $(s,e,n,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(r);return r.promise}wrap(e){var r,n;r=this.schedule.bind(this);n=function(...n){return r(e.bind(this),...n)};n.withOptions=function(n,...s){return r(n,e,...s)};return n}async updateSettings(e={}){await this._store.__updateSettings__(se.overwrite(e,this.storeDefaults));se.overwrite(e,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}Bottleneck.default=Bottleneck;Bottleneck.Events=z;Bottleneck.version=Bottleneck.prototype.version=K.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=g;Bottleneck.Group=Bottleneck.prototype.Group=j;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=W;Bottleneck.prototype.jobDefaults={priority:Y,weight:1,expiration:null,id:""};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(e);var oe=J;var ae=oe;return ae}))},60798:e=>{const mask=(e,r,n,s,i)=>{for(var o=0;o{const n=e.length;for(var s=0;s{try{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)(n.ab+"prebuilds/linux-x64/node.napi.node")}catch(r){e.exports=n(60798)}},67449:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.createCallbackData=void 0;var s=n(33707);var i=n(79600);var o=64;var createCallbackData=function(e,r,n){var c;if(e.length===0){throw new Error("Callback data ID cannot be empty.")}var u=(c=n===null||n===void 0?void 0:n.delimiter)!==null&&c!==void 0?c:":";var d=Object.keys(r).length;var A=Object.keys(r).sort();return{pack:function(n){var i=Object.keys(n).length;if(i!==d){throw new Error("Callback data serialization error. Invalid number of callback data values (defined in schema ".concat(d,", received ").concat(i,")."))}var c=[e];for(var A=0,h=Object.keys(n).sort();Ao){throw new Error("Callback data serialization error. Size overflow (".concat(E.length," > ").concat(o,")"))}return E},unpack:function(n){var i=n.split(u);var o=new Map;var c=i.shift();if(c!==e){throw new Error('Callback data parsing error. Invalid callback data ID ("'.concat(c,'" does not match "').concat(e,'").'))}if(i.length!==d){throw new Error("Callback data parsing error. Invalid number of callback data values (defined in schema ".concat(d,", received ").concat(i.length,")."))}for(var h=0,g=A;h{var s;s={value:true};s=void 0;var i=n(67449);s={enumerable:true,get:function(){return i.createCallbackData}}},79600:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.VALUE_REGEX=void 0;r.VALUE_REGEX=/(.+)?/},33707:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.deserialize=r.serialize=void 0;var serialize=function(e,r){if(r===Boolean){if(e===true){return"1"}else{return"0"}}return e.toString()};r.serialize=serialize;var deserialize=function(e,r){if(r===Number){var n=parseFloat(e);if(isNaN(n)){throw new Error('Callback data parsing error. Invalid number value ("'.concat(e,'")'))}return n}if(r===Boolean){if(e==="1"){return true}else if(e==="0"){return false}else{throw new Error('Callback data parsing error. Invalid boolean value ("'.concat(e,'")'))}}return e};r.deserialize=deserialize},6110:(e,r,n)=>{r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.storage=localstorage();r.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(r){r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const n="color: "+this.color;r.splice(1,0,n,"color: inherit");let s=0;let i=0;r[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){i=s}}));r.splice(i,0,n)}r.log=console.debug||console.log||(()=>{});function save(e){try{if(e){r.storage.setItem("debug",e)}else{r.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=r.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=n(40897)(r);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},40897:(e,r,n)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=n(70744);createDebug.destroy=destroy;Object.keys(e).forEach((r=>{createDebug[r]=e[r]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let r=0;for(let n=0;n{if(r==="%%"){return"%"}o++;const i=createDebug.formatters[s];if(typeof i==="function"){const s=e[o];r=i.call(n,s);e.splice(o,1);o--}return r}));createDebug.formatArgs.call(n,e);const c=n.log||createDebug.log;c.apply(n,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(n!==null){return n}if(s!==createDebug.namespaces){s=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{n=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,r){const n=createDebug(this.namespace+(typeof r==="undefined"?":":r)+e);n.log=this.log;return n}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let r;const n=(typeof e==="string"?e:"").split(/[\s,]+/);const s=n.length;for(r=0;r"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let r;let n;for(r=0,n=createDebug.skips.length;r{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=n(6110)}else{e.exports=n(95108)}},95108:(e,r,n)=>{const s=n(52018);const i=n(39023);r.init=init;r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");r.colors=[6,2,3,4,5,1];try{const e=n(21450);if(e&&(e.stderr||e).level>=2){r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}r.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,r)=>{const n=r.substring(6).toLowerCase().replace(/_([a-z])/g,((e,r)=>r.toUpperCase()));let s=process.env[r];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[n]=s;return e}),{});function useColors(){return"colors"in r.inspectOpts?Boolean(r.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(r){const{namespace:n,useColors:s}=this;if(s){const s=this.color;const i="[3"+(s<8?s:"8;5;"+s);const o=` ${i};1m${n} `;r[0]=o+r[0].split("\n").join("\n"+o);r.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{r[0]=getDate()+n+" "+r[0]}}function getDate(){if(r.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.formatWithOptions(r.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const n=Object.keys(r.inspectOpts);for(let s=0;se.trim())).join(" ")};o.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},14150:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}r.Deprecation=Deprecation},75803:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.attributeNames=r.elementNames=void 0;r.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);r.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},69943:function(e,r,n){var s=this&&this.__assign||function(){s=Object.assign||function(e){for(var r,n=1,s=arguments.length;n0){i+=render(e.children,r)}if(r.xmlMode||!g.has(e.name)){i+=""}}return i}function renderDirective(e){return"<"+e.data+">"}function renderText(e,r){var n=e.data||"";if(r.decodeEntities!==false&&!(!r.xmlMode&&e.parent&&h.has(e.parent.name))){n=d.encodeXML(n)}return n}function renderCdata(e){return""}function renderComment(e){return"\x3c!--"+e.data+"--\x3e"}},81108:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0;var n;(function(e){e["Root"]="root";e["Text"]="text";e["Directive"]="directive";e["Comment"]="comment";e["Script"]="script";e["Style"]="style";e["Tag"]="tag";e["CDATA"]="cdata";e["Doctype"]="doctype"})(n=r.ElementType||(r.ElementType={}));function isTag(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style}r.isTag=isTag;r.Root=n.Root;r.Text=n.Text;r.Directive=n.Directive;r.Comment=n.Comment;r.Script=n.Script;r.Style=n.Style;r.Tag=n.Tag;r.CDATA=n.CDATA;r.Doctype=n.Doctype},57792:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.DomHandler=void 0;var o=n(81108);var c=n(62446);i(n(62446),r);var u=/\s+/g;var d={normalizeWhitespace:false,withStartIndices:false,withEndIndices:false,xmlMode:false};var A=function(){function DomHandler(e,r,n){this.dom=[];this.root=new c.Document(this.dom);this.done=false;this.tagStack=[this.root];this.lastNode=null;this.parser=null;if(typeof r==="function"){n=r;r=d}if(typeof e==="object"){r=e;e=undefined}this.callback=e!==null&&e!==void 0?e:null;this.options=r!==null&&r!==void 0?r:d;this.elementCB=n!==null&&n!==void 0?n:null}DomHandler.prototype.onparserinit=function(e){this.parser=e};DomHandler.prototype.onreset=function(){this.dom=[];this.root=new c.Document(this.dom);this.done=false;this.tagStack=[this.root];this.lastNode=null;this.parser=null};DomHandler.prototype.onend=function(){if(this.done)return;this.done=true;this.parser=null;this.handleCallback(null)};DomHandler.prototype.onerror=function(e){this.handleCallback(e)};DomHandler.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();if(this.options.withEndIndices){e.endIndex=this.parser.endIndex}if(this.elementCB)this.elementCB(e)};DomHandler.prototype.onopentag=function(e,r){var n=this.options.xmlMode?o.ElementType.Tag:undefined;var s=new c.Element(e,r,undefined,n);this.addNode(s);this.tagStack.push(s)};DomHandler.prototype.ontext=function(e){var r=this.options.normalizeWhitespace;var n=this.lastNode;if(n&&n.type===o.ElementType.Text){if(r){n.data=(n.data+e).replace(u," ")}else{n.data+=e}if(this.options.withEndIndices){n.endIndex=this.parser.endIndex}}else{if(r){e=e.replace(u," ")}var s=new c.Text(e);this.addNode(s);this.lastNode=s}};DomHandler.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var r=new c.Comment(e);this.addNode(r);this.lastNode=r};DomHandler.prototype.oncommentend=function(){this.lastNode=null};DomHandler.prototype.oncdatastart=function(){var e=new c.Text("");var r=new c.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(r);e.parent=r;this.lastNode=e};DomHandler.prototype.oncdataend=function(){this.lastNode=null};DomHandler.prototype.onprocessinginstruction=function(e,r){var n=new c.ProcessingInstruction(e,r);this.addNode(n)};DomHandler.prototype.handleCallback=function(e){if(typeof this.callback==="function"){this.callback(e,this.dom)}else if(e){throw e}};DomHandler.prototype.addNode=function(e){var r=this.tagStack[this.tagStack.length-1];var n=r.children[r.children.length-1];if(this.options.withStartIndices){e.startIndex=this.parser.startIndex}if(this.options.withEndIndices){e.endIndex=this.parser.endIndex}r.children.push(e);if(n){e.prev=n;n.next=e}e.parent=r;this.lastNode=null};return DomHandler}();r.DomHandler=A;r["default"]=A},62446:function(e,r,n){var s=this&&this.__extends||function(){var extendStatics=function(e,r){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return extendStatics(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");extendStatics(e,r);function __(){this.constructor=e}e.prototype=r===null?Object.create(r):(__.prototype=r.prototype,new __)}}();var i=this&&this.__assign||function(){i=Object.assign||function(e){for(var r,n=1,s=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:false,configurable:true});Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:false,configurable:true});return NodeWithChildren}(u);r.NodeWithChildren=m;var y=function(e){s(Document,e);function Document(r){return e.call(this,o.ElementType.Root,r)||this}return Document}(m);r.Document=y;var E=function(e){s(Element,e);function Element(r,n,s,i){if(s===void 0){s=[]}if(i===void 0){i=r==="script"?o.ElementType.Script:r==="style"?o.ElementType.Style:o.ElementType.Tag}var c=e.call(this,i,s)||this;c.name=r;c.attribs=n;return c}Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:false,configurable:true});Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(r){var n,s;return{name:r,value:e.attribs[r],namespace:(n=e["x-attribsNamespace"])===null||n===void 0?void 0:n[r],prefix:(s=e["x-attribsPrefix"])===null||s===void 0?void 0:s[r]}}))},enumerable:false,configurable:true});return Element}(m);r.Element=E;function isTag(e){return(0,o.isTag)(e)}r.isTag=isTag;function isCDATA(e){return e.type===o.ElementType.CDATA}r.isCDATA=isCDATA;function isText(e){return e.type===o.ElementType.Text}r.isText=isText;function isComment(e){return e.type===o.ElementType.Comment}r.isComment=isComment;function isDirective(e){return e.type===o.ElementType.Directive}r.isDirective=isDirective;function isDocument(e){return e.type===o.ElementType.Root}r.isDocument=isDocument;function hasChildren(e){return Object.prototype.hasOwnProperty.call(e,"children")}r.hasChildren=hasChildren;function cloneNode(e,r){if(r===void 0){r=false}var n;if(isText(e)){n=new A(e.data)}else if(isComment(e)){n=new h(e.data)}else if(isTag(e)){var s=r?cloneChildren(e.children):[];var c=new E(e.name,i({},e.attribs),s);s.forEach((function(e){return e.parent=c}));if(e.namespace!=null){c.namespace=e.namespace}if(e["x-attribsNamespace"]){c["x-attribsNamespace"]=i({},e["x-attribsNamespace"])}if(e["x-attribsPrefix"]){c["x-attribsPrefix"]=i({},e["x-attribsPrefix"])}n=c}else if(isCDATA(e)){var s=r?cloneChildren(e.children):[];var u=new m(o.ElementType.CDATA,s);s.forEach((function(e){return e.parent=u}));n=u}else if(isDocument(e)){var s=r?cloneChildren(e.children):[];var d=new y(s);s.forEach((function(e){return e.parent=d}));if(e["x-mode"]){d["x-mode"]=e["x-mode"]}n=d}else if(isDirective(e)){var _=new g(e.name,e.data);if(e["x-name"]!=null){_["x-name"]=e["x-name"];_["x-publicId"]=e["x-publicId"];_["x-systemId"]=e["x-systemId"]}n=_}else{throw new Error("Not implemented yet: ".concat(e.type))}n.startIndex=e.startIndex;n.endIndex=e.endIndex;if(e.sourceCodeLocation!=null){n.sourceCodeLocation=e.sourceCodeLocation}return n}r.cloneNode=cloneNode;function cloneChildren(e){var r=e.map((function(e){return cloneNode(e,true)}));for(var n=1;n{Object.defineProperty(r,"__esModule",{value:true});r.getFeed=void 0;var s=n(87252);var i=n(2262);function getFeed(e){var r=getOneElement(isValidFeed,e);return!r?null:r.name==="feed"?getAtomFeed(r):getRssFeed(r)}r.getFeed=getFeed;function getAtomFeed(e){var r;var n=e.children;var s={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var r;var n=e.children;var s={media:getMediaElements(n)};addConditionally(s,"id","id",n);addConditionally(s,"title","title",n);var i=(r=getOneElement("link",n))===null||r===void 0?void 0:r.attribs.href;if(i){s.link=i}var o=fetch("summary",n)||fetch("content",n);if(o){s.description=o}var c=fetch("updated",n);if(c){s.pubDate=new Date(c)}return s}))};addConditionally(s,"id","id",n);addConditionally(s,"title","title",n);var o=(r=getOneElement("link",n))===null||r===void 0?void 0:r.attribs.href;if(o){s.link=o}addConditionally(s,"description","subtitle",n);var c=fetch("updated",n);if(c){s.updated=new Date(c)}addConditionally(s,"author","email",n,true);return s}function getRssFeed(e){var r,n;var s=(n=(r=getOneElement("channel",e.children))===null||r===void 0?void 0:r.children)!==null&&n!==void 0?n:[];var o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var r=e.children;var n={media:getMediaElements(r)};addConditionally(n,"id","guid",r);addConditionally(n,"title","title",r);addConditionally(n,"link","link",r);addConditionally(n,"description","description",r);var s=fetch("pubDate",r);if(s)n.pubDate=new Date(s);return n}))};addConditionally(o,"title","title",s);addConditionally(o,"link","link",s);addConditionally(o,"description","description",s);var c=fetch("lastBuildDate",s);if(c){o.updated=new Date(c)}addConditionally(o,"author","managingEditor",s,true);return o}var o=["url","type","lang"];var c=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){var r=e.attribs;var n={medium:r.medium,isDefault:!!r.isDefault};for(var s=0,i=o;s{Object.defineProperty(r,"__esModule",{value:true});r.uniqueSort=r.compareDocumentPosition=r.removeSubsets=void 0;var s=n(57792);function removeSubsets(e){var r=e.length;while(--r>=0){var n=e[r];if(r>0&&e.lastIndexOf(n,r-1)>=0){e.splice(r,1);continue}for(var s=n.parent;s;s=s.parent){if(e.includes(s)){e.splice(r,1);break}}}return e}r.removeSubsets=removeSubsets;function compareDocumentPosition(e,r){var n=[];var i=[];if(e===r){return 0}var o=(0,s.hasChildren)(e)?e:e.parent;while(o){n.unshift(o);o=o.parent}o=(0,s.hasChildren)(r)?r:r.parent;while(o){i.unshift(o);o=o.parent}var c=Math.min(n.length,i.length);var u=0;while(uA.indexOf(g)){if(d===r){return 4|16}return 4}if(d===e){return 2|8}return 2}r.compareDocumentPosition=compareDocumentPosition;function uniqueSort(e){e=e.filter((function(e,r,n){return!n.includes(e,r+1)}));e.sort((function(e,r){var n=compareDocumentPosition(e,r);if(n&2){return-1}else if(n&4){return 1}return 0}));return e}r.uniqueSort=uniqueSort},92357:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;Object.defineProperty(e,s,{enumerable:true,get:function(){return r[n]}})}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.hasChildren=r.isDocument=r.isComment=r.isText=r.isCDATA=r.isTag=void 0;i(n(87252),r);i(n(29667),r);i(n(84456),r);i(n(57433),r);i(n(2262),r);i(n(57776),r);i(n(52260),r);var o=n(57792);Object.defineProperty(r,"isTag",{enumerable:true,get:function(){return o.isTag}});Object.defineProperty(r,"isCDATA",{enumerable:true,get:function(){return o.isCDATA}});Object.defineProperty(r,"isText",{enumerable:true,get:function(){return o.isText}});Object.defineProperty(r,"isComment",{enumerable:true,get:function(){return o.isComment}});Object.defineProperty(r,"isDocument",{enumerable:true,get:function(){return o.isDocument}});Object.defineProperty(r,"hasChildren",{enumerable:true,get:function(){return o.hasChildren}})},2262:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.getElementsByTagType=r.getElementsByTagName=r.getElementById=r.getElements=r.testElement=void 0;var s=n(57792);var i=n(57433);var o={tag_name:function(e){if(typeof e==="function"){return function(r){return(0,s.isTag)(r)&&e(r.name)}}else if(e==="*"){return s.isTag}return function(r){return(0,s.isTag)(r)&&r.name===e}},tag_type:function(e){if(typeof e==="function"){return function(r){return e(r.type)}}return function(r){return r.type===e}},tag_contains:function(e){if(typeof e==="function"){return function(r){return(0,s.isText)(r)&&e(r.data)}}return function(r){return(0,s.isText)(r)&&r.data===e}}};function getAttribCheck(e,r){if(typeof r==="function"){return function(n){return(0,s.isTag)(n)&&r(n.attribs[e])}}return function(n){return(0,s.isTag)(n)&&n.attribs[e]===r}}function combineFuncs(e,r){return function(n){return e(n)||r(n)}}function compileTest(e){var r=Object.keys(e).map((function(r){var n=e[r];return Object.prototype.hasOwnProperty.call(o,r)?o[r](n):getAttribCheck(r,n)}));return r.length===0?null:r.reduce(combineFuncs)}function testElement(e,r){var n=compileTest(e);return n?n(r):true}r.testElement=testElement;function getElements(e,r,n,s){if(s===void 0){s=Infinity}var o=compileTest(e);return o?(0,i.filter)(o,r,n,s):[]}r.getElements=getElements;function getElementById(e,r,n){if(n===void 0){n=true}if(!Array.isArray(r))r=[r];return(0,i.findOne)(getAttribCheck("id",e),r,n)}r.getElementById=getElementById;function getElementsByTagName(e,r,n,s){if(n===void 0){n=true}if(s===void 0){s=Infinity}return(0,i.filter)(o.tag_name(e),r,n,s)}r.getElementsByTagName=getElementsByTagName;function getElementsByTagType(e,r,n,s){if(n===void 0){n=true}if(s===void 0){s=Infinity}return(0,i.filter)(o.tag_type(e),r,n,s)}r.getElementsByTagType=getElementsByTagType},84456:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.prepend=r.prependChild=r.append=r.appendChild=r.replaceElement=r.removeElement=void 0;function removeElement(e){if(e.prev)e.prev.next=e.next;if(e.next)e.next.prev=e.prev;if(e.parent){var r=e.parent.children;r.splice(r.lastIndexOf(e),1)}}r.removeElement=removeElement;function replaceElement(e,r){var n=r.prev=e.prev;if(n){n.next=r}var s=r.next=e.next;if(s){s.prev=r}var i=r.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=r}}r.replaceElement=replaceElement;function appendChild(e,r){removeElement(r);r.next=null;r.parent=e;if(e.children.push(r)>1){var n=e.children[e.children.length-2];n.next=r;r.prev=n}else{r.prev=null}}r.appendChild=appendChild;function append(e,r){removeElement(r);var n=e.parent;var s=e.next;r.next=s;r.prev=e;e.next=r;r.parent=n;if(s){s.prev=r;if(n){var i=n.children;i.splice(i.lastIndexOf(s),0,r)}}else if(n){n.children.push(r)}}r.append=append;function prependChild(e,r){removeElement(r);r.parent=e;r.prev=null;if(e.children.unshift(r)!==1){var n=e.children[1];n.prev=r;r.next=n}else{r.next=null}}r.prependChild=prependChild;function prepend(e,r){removeElement(r);var n=e.parent;if(n){var s=n.children;s.splice(s.indexOf(e),0,r)}if(e.prev){e.prev.next=r}r.parent=n;r.prev=e.prev;r.next=e;e.prev=r}r.prepend=prepend},57433:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.findAll=r.existsOne=r.findOne=r.findOneChild=r.find=r.filter=void 0;var s=n(57792);function filter(e,r,n,s){if(n===void 0){n=true}if(s===void 0){s=Infinity}if(!Array.isArray(r))r=[r];return find(e,r,n,s)}r.filter=filter;function find(e,r,n,i){var o=[];for(var c=0,u=r;c0){var A=find(e,d.children,n,i);o.push.apply(o,A);i-=A.length;if(i<=0)break}}return o}r.find=find;function findOneChild(e,r){return r.find(e)}r.findOneChild=findOneChild;function findOne(e,r,n){if(n===void 0){n=true}var i=null;for(var o=0;o0){i=findOne(e,c.children)}}return i}r.findOne=findOne;function existsOne(e,r){return r.some((function(r){return(0,s.isTag)(r)&&(e(r)||r.children.length>0&&existsOne(e,r.children))}))}r.existsOne=existsOne;function findAll(e,r){var n;var i=[];var o=r.filter(s.isTag);var c;while(c=o.shift()){var u=(n=c.children)===null||n===void 0?void 0:n.filter(s.isTag);if(u&&u.length>0){o.unshift.apply(o,u)}if(e(c))i.push(c)}return i}r.findAll=findAll},87252:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.innerText=r.textContent=r.getText=r.getInnerHTML=r.getOuterHTML=void 0;var i=n(57792);var o=s(n(69943));var c=n(81108);function getOuterHTML(e,r){return(0,o.default)(e,r)}r.getOuterHTML=getOuterHTML;function getInnerHTML(e,r){return(0,i.hasChildren)(e)?e.children.map((function(e){return getOuterHTML(e,r)})).join(""):""}r.getInnerHTML=getInnerHTML;function getText(e){if(Array.isArray(e))return e.map(getText).join("");if((0,i.isTag)(e))return e.name==="br"?"\n":getText(e.children);if((0,i.isCDATA)(e))return getText(e.children);if((0,i.isText)(e))return e.data;return""}r.getText=getText;function textContent(e){if(Array.isArray(e))return e.map(textContent).join("");if((0,i.hasChildren)(e)&&!(0,i.isComment)(e)){return textContent(e.children)}if((0,i.isText)(e))return e.data;return""}r.textContent=textContent;function innerText(e){if(Array.isArray(e))return e.map(innerText).join("");if((0,i.hasChildren)(e)&&(e.type===c.ElementType.Tag||(0,i.isCDATA)(e))){return innerText(e.children)}if((0,i.isText)(e))return e.data;return""}r.innerText=innerText},29667:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.prevElementSibling=r.nextElementSibling=r.getName=r.hasAttrib=r.getAttributeValue=r.getSiblings=r.getParent=r.getChildren=void 0;var s=n(57792);var i=[];function getChildren(e){var r;return(r=e.children)!==null&&r!==void 0?r:i}r.getChildren=getChildren;function getParent(e){return e.parent||null}r.getParent=getParent;function getSiblings(e){var r,n;var s=getParent(e);if(s!=null)return getChildren(s);var i=[e];var o=e.prev,c=e.next;while(o!=null){i.unshift(o);r=o,o=r.prev}while(c!=null){i.push(c);n=c,c=n.next}return i}r.getSiblings=getSiblings;function getAttributeValue(e,r){var n;return(n=e.attribs)===null||n===void 0?void 0:n[r]}r.getAttributeValue=getAttributeValue;function hasAttrib(e,r){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,r)&&e.attribs[r]!=null}r.hasAttrib=hasAttrib;function getName(e){return e.name}r.getName=getName;function nextElementSibling(e){var r;var n=e.next;while(n!==null&&!(0,s.isTag)(n))r=n,n=r.next;return n}r.nextElementSibling=nextElementSibling;function prevElementSibling(e){var r;var n=e.prev;while(n!==null&&!(0,s.isTag)(n))r=n,n=r.prev;return n}r.prevElementSibling=prevElementSibling},52874:(e,r,n)=>{(function(){n(18889).config(Object.assign({},n(39990),n(4531)(process.argv)))})()},4531:e=>{const r=/^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/;e.exports=function optionMatcher(e){return e.reduce((function(e,n){const s=n.match(r);if(s){e[s[1]]=s[2]}return e}),{})}},39990:e=>{const r={};if(process.env.DOTENV_CONFIG_ENCODING!=null){r.encoding=process.env.DOTENV_CONFIG_ENCODING}if(process.env.DOTENV_CONFIG_PATH!=null){r.path=process.env.DOTENV_CONFIG_PATH}if(process.env.DOTENV_CONFIG_DEBUG!=null){r.debug=process.env.DOTENV_CONFIG_DEBUG}if(process.env.DOTENV_CONFIG_OVERRIDE!=null){r.override=process.env.DOTENV_CONFIG_OVERRIDE}if(process.env.DOTENV_CONFIG_DOTENV_KEY!=null){r.DOTENV_KEY=process.env.DOTENV_CONFIG_DOTENV_KEY}e.exports=r},18889:(e,r,n)=>{const s=n(79896);const i=n(16928);const o=n(70857);const c=n(76982);const u=n(80056);const d=u.version;const A=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function parse(e){const r={};let n=e.toString();n=n.replace(/\r\n?/gm,"\n");let s;while((s=A.exec(n))!=null){const e=s[1];let n=s[2]||"";n=n.trim();const i=n[0];n=n.replace(/^(['"`])([\s\S]*)\1$/gm,"$2");if(i==='"'){n=n.replace(/\\n/g,"\n");n=n.replace(/\\r/g,"\r")}r[e]=n}return r}function _parseVault(e){const r=_vaultPath(e);const n=h.configDotenv({path:r});if(!n.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${r} for an unknown reason`);e.code="MISSING_DATA";throw e}const s=_dotenvKey(e).split(",");const i=s.length;let o;for(let e=0;e=i){throw r}}}return h.parse(o)}function _log(e){console.log(`[dotenv@${d}][INFO] ${e}`)}function _warn(e){console.log(`[dotenv@${d}][WARN] ${e}`)}function _debug(e){console.log(`[dotenv@${d}][DEBUG] ${e}`)}function _dotenvKey(e){if(e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0){return e.DOTENV_KEY}if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0){return process.env.DOTENV_KEY}return""}function _instructions(e,r){let n;try{n=new URL(r)}catch(e){if(e.code==="ERR_INVALID_URL"){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");e.code="INVALID_DOTENV_KEY";throw e}throw e}const s=n.password;if(!s){const e=new Error("INVALID_DOTENV_KEY: Missing key part");e.code="INVALID_DOTENV_KEY";throw e}const i=n.searchParams.get("environment");if(!i){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");e.code="INVALID_DOTENV_KEY";throw e}const o=`DOTENV_VAULT_${i.toUpperCase()}`;const c=e.parsed[o];if(!c){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${o} in your .env.vault file.`);e.code="NOT_FOUND_DOTENV_ENVIRONMENT";throw e}return{ciphertext:c,key:s}}function _vaultPath(e){let r=null;if(e&&e.path&&e.path.length>0){if(Array.isArray(e.path)){for(const n of e.path){if(s.existsSync(n)){r=n.endsWith(".vault")?n:`${n}.vault`}}}else{r=e.path.endsWith(".vault")?e.path:`${e.path}.vault`}}else{r=i.resolve(process.cwd(),".env.vault")}if(s.existsSync(r)){return r}return null}function _resolveHome(e){return e[0]==="~"?i.join(o.homedir(),e.slice(1)):e}function _configVault(e){_log("Loading env from encrypted .env.vault");const r=h._parseVault(e);let n=process.env;if(e&&e.processEnv!=null){n=e.processEnv}h.populate(n,r,e);return{parsed:r}}function configDotenv(e){const r=i.resolve(process.cwd(),".env");let n="utf8";const o=Boolean(e&&e.debug);if(e&&e.encoding){n=e.encoding}else{if(o){_debug("No encoding is specified. UTF-8 is used by default")}}let c=[r];if(e&&e.path){if(!Array.isArray(e.path)){c=[_resolveHome(e.path)]}else{c=[];for(const r of e.path){c.push(_resolveHome(r))}}}let u;const d={};for(const r of c){try{const i=h.parse(s.readFileSync(r,{encoding:n}));h.populate(d,i,e)}catch(e){if(o){_debug(`Failed to load ${r} ${e.message}`)}u=e}}let A=process.env;if(e&&e.processEnv!=null){A=e.processEnv}h.populate(A,d,e);if(u){return{parsed:d,error:u}}else{return{parsed:d}}}function config(e){if(_dotenvKey(e).length===0){return h.configDotenv(e)}const r=_vaultPath(e);if(!r){_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${r}. Did you forget to build it?`);return h.configDotenv(e)}return h._configVault(e)}function decrypt(e,r){const n=Buffer.from(r.slice(-64),"hex");let s=Buffer.from(e,"base64");const i=s.subarray(0,12);const o=s.subarray(-16);s=s.subarray(12,-16);try{const e=c.createDecipheriv("aes-256-gcm",n,i);e.setAuthTag(o);return`${e.update(s)}${e.final()}`}catch(e){const r=e instanceof RangeError;const n=e.message==="Invalid key length";const s=e.message==="Unsupported state or unable to authenticate data";if(r||n){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");e.code="INVALID_DOTENV_KEY";throw e}else if(s){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");e.code="DECRYPTION_FAILED";throw e}else{throw e}}}function populate(e,r,n={}){const s=Boolean(n&&n.debug);const i=Boolean(n&&n.override);if(typeof r!=="object"){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");e.code="OBJECT_REQUIRED";throw e}for(const n of Object.keys(r)){if(Object.prototype.hasOwnProperty.call(e,n)){if(i===true){e[n]=r[n]}if(s){if(i===true){_debug(`"${n}" is already defined and WAS overwritten`)}else{_debug(`"${n}" is already defined and was NOT overwritten`)}}}else{e[n]=r[n]}}}const h={configDotenv:configDotenv,_configVault:_configVault,_parseVault:_parseVault,config:config,decrypt:decrypt,parse:parse,populate:populate};e.exports.configDotenv=h.configDotenv;e.exports._configVault=h._configVault;e.exports._parseVault=h._parseVault;e.exports.config=h.config;e.exports.decrypt=h.decrypt;e.exports.parse=h.parse;e.exports.populate=h.populate;e.exports=h},31469:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.decodeHTML=r.decodeHTMLStrict=r.decodeXML=void 0;var i=s(n(94374));var o=s(n(51554));var c=s(n(57178));var u=s(n(74487));var d=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;r.decodeXML=getStrictDecoder(c.default);r.decodeHTMLStrict=getStrictDecoder(i.default);function getStrictDecoder(e){var r=getReplacer(e);return function(e){return String(e).replace(d,r)}}var sorter=function(e,r){return e65535){e-=65536;r+=String.fromCharCode(e>>>10&1023|55296);e=56320|e&1023}r+=String.fromCharCode(e);return r};function decodeCodePoint(e){if(e>=55296&&e<=57343||e>1114111){return"�"}if(e in i.default){e=i.default[e]}return o(e)}r["default"]=decodeCodePoint},86549:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.escapeUTF8=r.escape=r.encodeNonAsciiHTML=r.encodeHTML=r.encodeXML=void 0;var i=s(n(57178));var o=getInverseObj(i.default);var c=getInverseReplacer(o);r.encodeXML=getASCIIEncoder(o);var u=s(n(94374));var d=getInverseObj(u.default);var A=getInverseReplacer(d);r.encodeHTML=getInverse(d,A);r.encodeNonAsciiHTML=getASCIIEncoder(d);function getInverseObj(e){return Object.keys(e).sort().reduce((function(r,n){r[e[n]]="&"+n+";";return r}),{})}function getInverseReplacer(e){var r=[];var n=[];for(var s=0,i=Object.keys(e);s1?g(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function getInverse(e,r){return function(n){return n.replace(r,(function(r){return e[r]})).replace(h,singleCharReplacer)}}var m=new RegExp(c.source+"|"+h.source,"g");function escape(e){return e.replace(m,singleCharReplacer)}r.escape=escape;function escapeUTF8(e){return e.replace(c,singleCharReplacer)}r.escapeUTF8=escapeUTF8;function getASCIIEncoder(e){return function(r){return r.replace(m,(function(r){return e[r]||singleCharReplacer(r)}))}}},8467:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.decodeXMLStrict=r.decodeHTML5Strict=r.decodeHTML4Strict=r.decodeHTML5=r.decodeHTML4=r.decodeHTMLStrict=r.decodeHTML=r.decodeXML=r.encodeHTML5=r.encodeHTML4=r.escapeUTF8=r.escape=r.encodeNonAsciiHTML=r.encodeHTML=r.encodeXML=r.encode=r.decodeStrict=r.decode=void 0;var s=n(31469);var i=n(86549);function decode(e,r){return(!r||r<=0?s.decodeXML:s.decodeHTML)(e)}r.decode=decode;function decodeStrict(e,r){return(!r||r<=0?s.decodeXML:s.decodeHTMLStrict)(e)}r.decodeStrict=decodeStrict;function encode(e,r){return(!r||r<=0?i.encodeXML:i.encodeHTML)(e)}r.encode=encode;var o=n(86549);Object.defineProperty(r,"encodeXML",{enumerable:true,get:function(){return o.encodeXML}});Object.defineProperty(r,"encodeHTML",{enumerable:true,get:function(){return o.encodeHTML}});Object.defineProperty(r,"encodeNonAsciiHTML",{enumerable:true,get:function(){return o.encodeNonAsciiHTML}});Object.defineProperty(r,"escape",{enumerable:true,get:function(){return o.escape}});Object.defineProperty(r,"escapeUTF8",{enumerable:true,get:function(){return o.escapeUTF8}});Object.defineProperty(r,"encodeHTML4",{enumerable:true,get:function(){return o.encodeHTML}});Object.defineProperty(r,"encodeHTML5",{enumerable:true,get:function(){return o.encodeHTML}});var c=n(31469);Object.defineProperty(r,"decodeXML",{enumerable:true,get:function(){return c.decodeXML}});Object.defineProperty(r,"decodeHTML",{enumerable:true,get:function(){return c.decodeHTML}});Object.defineProperty(r,"decodeHTMLStrict",{enumerable:true,get:function(){return c.decodeHTMLStrict}});Object.defineProperty(r,"decodeHTML4",{enumerable:true,get:function(){return c.decodeHTML}});Object.defineProperty(r,"decodeHTML5",{enumerable:true,get:function(){return c.decodeHTML}});Object.defineProperty(r,"decodeHTML4Strict",{enumerable:true,get:function(){return c.decodeHTMLStrict}});Object.defineProperty(r,"decodeHTML5Strict",{enumerable:true,get:function(){return c.decodeHTMLStrict}});Object.defineProperty(r,"decodeXMLStrict",{enumerable:true,get:function(){return c.decodeXML}})},16577:(e,r)=>{ +/** + * @author Toru Nagashima + * @copyright 2015 Toru Nagashima. All rights reserved. + * See LICENSE file in root directory for full license. + */ +Object.defineProperty(r,"__esModule",{value:true});const n=new WeakMap;const s=new WeakMap;function pd(e){const r=n.get(e);console.assert(r!=null,"'this' is expected an Event object, but got",e);return r}function setCancelFlag(e){if(e.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}return}if(!e.event.cancelable){return}e.canceled=true;if(typeof e.event.preventDefault==="function"){e.event.preventDefault()}}function Event(e,r){n.set(this,{eventTarget:e,event:r,eventPhase:2,currentTarget:e,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:r.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const s=Object.keys(r);for(let e=0;e0){const e=new Array(arguments.length);for(let r=0;r{e.exports=clone;var r=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__:r(e)};else var n=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))}));return n}},35744:(e,r,n)=>{var s=n(79896);var i=n(83501);var o=n(12270);var c=n(73964);var u=n(39023);var d;var A;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){d=Symbol.for("graceful-fs.queue");A=Symbol.for("graceful-fs.previous")}else{d="___graceful-fs.queue";A="___graceful-fs.previous"}function noop(){}function publishQueue(e,r){Object.defineProperty(e,d,{get:function(){return r}})}var h=noop;if(u.debuglog)h=u.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))h=function(){var e=u.format.apply(u,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!s[d]){var g=global[d]||[];publishQueue(s,g);s.close=function(e){function close(r,n){return e.call(s,r,(function(e){if(!e){resetQueue()}if(typeof n==="function")n.apply(this,arguments)}))}Object.defineProperty(close,A,{value:e});return close}(s.close);s.closeSync=function(e){function closeSync(r){e.apply(s,arguments);resetQueue()}Object.defineProperty(closeSync,A,{value:e});return closeSync}(s.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){h(s[d]);n(42613).equal(s[d].length,0)}))}}if(!global[d]){publishQueue(global,s[d])}e.exports=patch(c(s));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched){e.exports=patch(s);s.__patched=true}function patch(e){i(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var r=e.readFile;e.readFile=readFile;function readFile(e,n,s){if(typeof n==="function")s=n,n=null;return go$readFile(e,n,s);function go$readFile(e,n,s,i){return r(e,n,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$readFile,[e,n,s],r,i||Date.now(),Date.now()]);else{if(typeof s==="function")s.apply(this,arguments)}}))}}var n=e.writeFile;e.writeFile=writeFile;function writeFile(e,r,s,i){if(typeof s==="function")i=s,s=null;return go$writeFile(e,r,s,i);function go$writeFile(e,r,s,i,o){return n(e,r,s,(function(n){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$writeFile,[e,r,s,i],n,o||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var s=e.appendFile;if(s)e.appendFile=appendFile;function appendFile(e,r,n,i){if(typeof n==="function")i=n,n=null;return go$appendFile(e,r,n,i);function go$appendFile(e,r,n,i,o){return s(e,r,n,(function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$appendFile,[e,r,n,i],s,o||Date.now(),Date.now()]);else{if(typeof i==="function")i.apply(this,arguments)}}))}}var c=e.copyFile;if(c)e.copyFile=copyFile;function copyFile(e,r,n,s){if(typeof n==="function"){s=n;n=0}return go$copyFile(e,r,n,s);function go$copyFile(e,r,n,s,i){return c(e,r,n,(function(o){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$copyFile,[e,r,n,s],o,i||Date.now(),Date.now()]);else{if(typeof s==="function")s.apply(this,arguments)}}))}}var u=e.readdir;e.readdir=readdir;var d=/^v[0-5]\./;function readdir(e,r,n){if(typeof r==="function")n=r,r=null;var s=d.test(process.version)?function go$readdir(e,r,n,s){return u(e,fs$readdirCallback(e,r,n,s))}:function go$readdir(e,r,n,s){return u(e,r,fs$readdirCallback(e,r,n,s))};return s(e,r,n);function fs$readdirCallback(e,r,n,i){return function(o,c){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([s,[e,r,n],o,i||Date.now(),Date.now()]);else{if(c&&c.sort)c.sort();if(typeof n==="function")n.call(this,o,c)}}}}if(process.version.substr(0,4)==="v0.8"){var A=o(e);ReadStream=A.ReadStream;WriteStream=A.WriteStream}var h=e.ReadStream;if(h){ReadStream.prototype=Object.create(h.prototype);ReadStream.prototype.open=ReadStream$open}var g=e.WriteStream;if(g){WriteStream.prototype=Object.create(g.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 m=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return m},set:function(e){m=e},enumerable:true,configurable:true});var y=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return y},set:function(e){y=e},enumerable:true,configurable:true});function ReadStream(e,r){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(r,n){if(r){if(e.autoClose)e.destroy();e.emit("error",r)}else{e.fd=n;e.emit("open",n);e.read()}}))}function WriteStream(e,r){if(this instanceof WriteStream)return g.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(r,n){if(r){e.destroy();e.emit("error",r)}else{e.fd=n;e.emit("open",n)}}))}function createReadStream(r,n){return new e.ReadStream(r,n)}function createWriteStream(r,n){return new e.WriteStream(r,n)}var E=e.open;e.open=open;function open(e,r,n,s){if(typeof n==="function")s=n,n=null;return go$open(e,r,n,s);function go$open(e,r,n,s,i){return E(e,r,n,(function(o,c){if(o&&(o.code==="EMFILE"||o.code==="ENFILE"))enqueue([go$open,[e,r,n,s],o,i||Date.now(),Date.now()]);else{if(typeof s==="function")s.apply(this,arguments)}}))}}return e}function enqueue(e){h("ENQUEUE",e[0].name,e[1]);s[d].push(e);retry()}var m;function resetQueue(){var e=Date.now();for(var r=0;r2){s[d][r][3]=e;s[d][r][4]=e}}retry()}function retry(){clearTimeout(m);m=undefined;if(s[d].length===0)return;var e=s[d].shift();var r=e[0];var n=e[1];var i=e[2];var o=e[3];var c=e[4];if(o===undefined){h("RETRY",r.name,n);r.apply(null,n)}else if(Date.now()-o>=6e4){h("TIMEOUT",r.name,n);var u=n.pop();if(typeof u==="function")u.call(null,i)}else{var A=Date.now()-c;var g=Math.max(c-o,1);var y=Math.min(g*1.2,100);if(A>=y){h("RETRY",r.name,n);r.apply(null,n.concat([o]))}else{s[d].push(e)}}if(m===undefined){m=setTimeout(retry,0)}}},12270:(e,r,n)=>{var s=n(2203).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(r,n){if(!(this instanceof ReadStream))return new ReadStream(r,n);s.call(this);var i=this;this.path=r;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;n=n||{};var o=Object.keys(n);for(var c=0,u=o.length;cthis.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,r){if(e){i.emit("error",e);i.readable=false;return}i.fd=r;i.emit("open",r);i._read()}))}function WriteStream(r,n){if(!(this instanceof WriteStream))return new WriteStream(r,n);s.call(this);this.path=r;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 o=0,c=i.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()}}}},83501:(e,r,n)=>{var s=n(49140);var i=process.cwd;var o=null;var c=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=i.call(process);return o};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var u=process.chdir;process.chdir=function(e){o=null;u.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,u)}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.chmod&&!e.lchmod){e.lchmod=function(e,r,n){if(n)process.nextTick(n)};e.lchmodSync=function(){}}if(e.chown&&!e.lchown){e.lchown=function(e,r,n,s){if(s)process.nextTick(s)};e.lchownSync=function(){}}if(c==="win32"){e.rename=typeof e.rename!=="function"?e.rename:function(r){function rename(n,s,i){var o=Date.now();var c=0;r(n,s,(function CB(u){if(u&&(u.code==="EACCES"||u.code==="EPERM"||u.code==="EBUSY")&&Date.now()-o<6e4){setTimeout((function(){e.stat(s,(function(e,o){if(e&&e.code==="ENOENT")r(n,s,CB);else i(u)}))}),c);if(c<100)c+=10;return}if(i)i(u)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,r);return rename}(e.rename)}e.read=typeof e.read!=="function"?e.read:function(r){function read(n,s,i,o,c,u){var d;if(u&&typeof u==="function"){var A=0;d=function(h,g,m){if(h&&h.code==="EAGAIN"&&A<10){A++;return r.call(e,n,s,i,o,c,d)}u.apply(this,arguments)}}return r.call(e,n,s,i,o,c,d)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,r);return read}(e.read);e.readSync=typeof e.readSync!=="function"?e.readSync:function(r){return function(n,s,i,o,c){var u=0;while(true){try{return r.call(e,n,s,i,o,c)}catch(e){if(e.code==="EAGAIN"&&u<10){u++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(r,n,i){e.open(r,s.O_WRONLY|s.O_SYMLINK,n,(function(r,s){if(r){if(i)i(r);return}e.fchmod(s,n,(function(r){e.close(s,(function(e){if(i)i(r||e)}))}))}))};e.lchmodSync=function(r,n){var i=e.openSync(r,s.O_WRONLY|s.O_SYMLINK,n);var o=true;var c;try{c=e.fchmodSync(i,n);o=false}finally{if(o){try{e.closeSync(i)}catch(e){}}else{e.closeSync(i)}}return c}}function patchLutimes(e){if(s.hasOwnProperty("O_SYMLINK")&&e.futimes){e.lutimes=function(r,n,i,o){e.open(r,s.O_SYMLINK,(function(r,s){if(r){if(o)o(r);return}e.futimes(s,n,i,(function(r){e.close(s,(function(e){if(o)o(r||e)}))}))}))};e.lutimesSync=function(r,n,i){var o=e.openSync(r,s.O_SYMLINK);var c;var u=true;try{c=e.futimesSync(o,n,i);u=false}finally{if(u){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return c}}else if(e.futimes){e.lutimes=function(e,r,n,s){if(s)process.nextTick(s)};e.lutimesSync=function(){}}}function chmodFix(r){if(!r)return r;return function(n,s,i){return r.call(e,n,s,(function(e){if(chownErOk(e))e=null;if(i)i.apply(this,arguments)}))}}function chmodFixSync(r){if(!r)return r;return function(n,s){try{return r.call(e,n,s)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(r){if(!r)return r;return function(n,s,i,o){return r.call(e,n,s,i,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(r){if(!r)return r;return function(n,s,i){try{return r.call(e,n,s,i)}catch(e){if(!chownErOk(e))throw e}}}function statFix(r){if(!r)return r;return function(n,s,i){if(typeof s==="function"){i=s;s=null}function callback(e,r){if(r){if(r.uid<0)r.uid+=4294967296;if(r.gid<0)r.gid+=4294967296}if(i)i.apply(this,arguments)}return s?r.call(e,n,s,callback):r.call(e,n,callback)}}function statFixSync(r){if(!r)return r;return function(n,s){var i=s?r.call(e,n,s):r.call(e,n);if(i){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 r=!process.getuid||process.getuid()!==0;if(r){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},49091:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Bot=r.BotError=r.DEFAULT_UPDATE_TYPES=void 0;const s=n(70722);Object.defineProperty(r,"BotError",{enumerable:true,get:function(){return s.BotError}});const i=n(30913);const o=n(20072);const c=n(62734);const u=n(5474);const d=n(94217);const A=(0,d.debug)("grammy:bot");const h=(0,d.debug)("grammy:warn");const g=(0,d.debug)("grammy:error");r.DEFAULT_UPDATE_TYPES=["message","edited_message","channel_post","edited_channel_post","business_connection","business_message","edited_business_message","deleted_business_messages","inline_query","chosen_inline_result","callback_query","shipping_query","pre_checkout_query","poll","poll_answer","my_chat_member","chat_join_request","chat_boost","removed_chat_boost"];class Bot extends s.Composer{constructor(e,r){var n;super();this.token=e;this.pollingRunning=false;this.lastTriedUpdateId=0;this.observedUpdateTypes=new Set;this.errorHandler=async e=>{var r,n;console.error("Error in middleware while handling update",(n=(r=e.ctx)===null||r===void 0?void 0:r.update)===null||n===void 0?void 0:n.update_id,e.error);console.error("No error handler was set!");console.error("Set your own error handler with `bot.catch = ...`");if(this.pollingRunning){console.error("Stopping bot");await this.stop()}throw e};if(!e)throw new Error("Empty token!");this.me=r===null||r===void 0?void 0:r.botInfo;this.clientConfig=r===null||r===void 0?void 0:r.client;this.ContextConstructor=(n=r===null||r===void 0?void 0:r.ContextConstructor)!==null&&n!==void 0?n:i.Context;this.api=new o.Api(e,this.clientConfig)}set botInfo(e){this.me=e}get botInfo(){if(this.me===undefined){throw new Error("Bot information unavailable! Make sure to call `await bot.init()` before accessing `bot.botInfo`!")}return this.me}on(e,...r){for(const[r]of(0,u.parse)(e).flatMap(u.preprocess)){this.observedUpdateTypes.add(r)}return super.on(e,...r)}reaction(e,...r){this.observedUpdateTypes.add("message_reaction");return super.reaction(e,...r)}isInited(){return this.me!==undefined}async init(e){var r;if(!this.isInited()){A("Initializing bot");(r=this.mePromise)!==null&&r!==void 0?r:this.mePromise=withRetries((()=>this.api.getMe(e)),e);let n;try{n=await this.mePromise}finally{this.mePromise=undefined}if(this.me===undefined)this.me=n;else A("Bot info was set by now, will not overwrite")}A(`I am ${this.me.username}!`)}async handleUpdates(e){for(const r of e){this.lastTriedUpdateId=r.update_id;try{await this.handleUpdate(r)}catch(e){if(e instanceof s.BotError){await this.errorHandler(e)}else{console.error("FATAL: grammY unable to handle:",e);throw e}}}}async handleUpdate(e,r){if(this.me===undefined){throw new Error("Bot not initialized! Either call `await bot.init()`, or directly set the `botInfo` option in the `Bot` constructor to specify a known bot info object.")}A(`Processing update ${e.update_id}`);const n=new o.Api(this.token,this.clientConfig,r);const i=this.api.config.installedTransformers();if(i.length>0)n.config.use(...i);const c=new this.ContextConstructor(e,n,this.me);try{await(0,s.run)(this.middleware(),c)}catch(r){g(`Error in middleware for update ${e.update_id}`);throw new s.BotError(r,c)}}async start(e){var r,n,s;const i=[];if(!this.isInited()){i.push(this.init((r=this.pollingAbortController)===null||r===void 0?void 0:r.signal))}if(this.pollingRunning){await Promise.all(i);A("Simple long polling already running!");return}this.pollingRunning=true;this.pollingAbortController=new m.AbortController;try{i.push(withRetries((async()=>{var r;await this.api.deleteWebhook({drop_pending_updates:e===null||e===void 0?void 0:e.drop_pending_updates},(r=this.pollingAbortController)===null||r===void 0?void 0:r.signal)}),(n=this.pollingAbortController)===null||n===void 0?void 0:n.signal));await Promise.all(i);await((s=e===null||e===void 0?void 0:e.onStart)===null||s===void 0?void 0:s.call(e,this.botInfo))}catch(e){this.pollingRunning=false;this.pollingAbortController=undefined;throw e}if(!this.pollingRunning)return;validateAllowedUpdates(this.observedUpdateTypes,e===null||e===void 0?void 0:e.allowed_updates);this.use=noUseFunction;A("Starting simple long polling");await this.loop(e);A("Middleware is done running")}async stop(){var e;if(this.pollingRunning){A("Stopping bot, saving update offset");this.pollingRunning=false;(e=this.pollingAbortController)===null||e===void 0?void 0:e.abort();const r=this.lastTriedUpdateId+1;await this.api.getUpdates({offset:r,limit:1}).finally((()=>this.pollingAbortController=undefined))}else{A("Bot is not running!")}}catch(e){this.errorHandler=e}async loop(e){var r,n;const s=e===null||e===void 0?void 0:e.limit;const i=(r=e===null||e===void 0?void 0:e.timeout)!==null&&r!==void 0?r:30;let o=(n=e===null||e===void 0?void 0:e.allowed_updates)!==null&&n!==void 0?n:[];while(this.pollingRunning){const e=await this.fetchUpdates({limit:s,timeout:i,allowed_updates:o});if(e===undefined)break;await this.handleUpdates(e);o=undefined}}async fetchUpdates({limit:e,timeout:r,allowed_updates:n}){var s;const i=this.lastTriedUpdateId+1;let o=undefined;do{try{o=await this.api.getUpdates({offset:i,limit:e,timeout:r,allowed_updates:n},(s=this.pollingAbortController)===null||s===void 0?void 0:s.signal)}catch(e){await this.handlePollingError(e)}}while(o===undefined&&this.pollingRunning);return o}async handlePollingError(e){var r;if(!this.pollingRunning){A("Pending getUpdates request cancelled");return}let n=3;if(e instanceof c.GrammyError){g(e.message);if(e.error_code===401||e.error_code===409){throw e}else if(e.error_code===429){g("Bot API server is closing.");n=(r=e.parameters.retry_after)!==null&&r!==void 0?r:n}}else g(e);g(`Call to getUpdates failed, retrying in ${n} seconds ...`);await sleep(n)}}r.Bot=Bot;async function withRetries(e,r){const n=50;let s=n;async function handleError(e){let i=false;let o="rethrow";if(e instanceof c.HttpError){i=true;o="retry"}else if(e instanceof c.GrammyError){if(e.error_code>=500){i=true;o="retry"}else if(e.error_code===429){const c=e.parameters.retry_after;if(typeof c==="number"){await sleep(c,r);s=n}else{i=true}o="retry"}}if(i){if(s!==n){await sleep(s,r)}const e=20*60*1e3;s=Math.min(e,2*s)}return o}let i={ok:false};while(!i.ok){try{i={ok:true,value:await e()}}catch(e){g(e);const r=await handleError(e);switch(r){case"retry":continue;case"rethrow":throw e}}}return i.value}async function sleep(e,r){let n;let s;function abort(){s===null||s===void 0?void 0:s(new Error("Aborted delay"));if(n!==undefined)clearTimeout(n)}try{await new Promise(((i,o)=>{s=o;if(r===null||r===void 0?void 0:r.aborted){abort();return}r===null||r===void 0?void 0:r.addEventListener("abort",abort);n=setTimeout(i,1e3*e)}))}finally{r===null||r===void 0?void 0:r.removeEventListener("abort",abort)}}function validateAllowedUpdates(e,n=r.DEFAULT_UPDATE_TYPES){const s=Array.from(e).filter((e=>!n.includes(e)));if(s.length>0){h(`You registered listeners for the following update types, but you did not specify them in \`allowed_updates\` so they may not be received: ${s.map((e=>`'${e}'`)).join(", ")}`)}}function noUseFunction(){throw new Error(`It looks like you are registering more listeners on your bot from within other listeners! This means that every time your bot handles a message like this one, new listeners will be added. This list grows until your machine crashes, so grammY throws this error to tell you that you should probably do things a bit differently. If you're unsure how to resolve this problem, you can ask in the group chat: https://telegram.me/grammyjs\n\nOn the other hand, if you actually know what you're doing and you do need to install further middleware while your bot is running, consider installing a composer instance on your bot, and in turn augment the composer after the fact. This way, you can circumvent this protection against memory leaks.`)}const m=n(39243)},70722:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Composer=r.BotError=void 0;r.run=run;const s=n(30913);class BotError extends Error{constructor(e,r){super(generateBotErrorMessage(e));this.error=e;this.ctx=r;this.name="BotError";if(e instanceof Error)this.stack=e.stack}}r.BotError=BotError;function generateBotErrorMessage(e){let r;if(e instanceof Error){r=`${e.name} in middleware: ${e.message}`}else{const n=typeof e;r=`Non-error value of type ${n} thrown in middleware`;switch(n){case"bigint":case"boolean":case"number":case"symbol":r+=`: ${e}`;break;case"string":r+=`: ${String(e).substring(0,50)}`;break;default:r+="!";break}}return r}function flatten(e){return typeof e==="function"?e:(r,n)=>e.middleware()(r,n)}function concat(e,r){return async(n,s)=>{let i=false;await e(n,(async()=>{if(i)throw new Error("`next` already called before!");else i=true;await r(n,s)}))}}function pass(e,r){return r()}const leaf=()=>Promise.resolve();async function run(e,r){await e(r,leaf)}class Composer{constructor(...e){this.handler=e.length===0?pass:e.map(flatten).reduce(concat)}middleware(){return this.handler}use(...e){const r=new Composer(...e);this.handler=concat(this.handler,flatten(r));return r}on(e,...r){return this.filter(s.Context.has.filterQuery(e),...r)}hears(e,...r){return this.filter(s.Context.has.text(e),...r)}command(e,...r){return this.filter(s.Context.has.command(e),...r)}reaction(e,...r){return this.filter(s.Context.has.reaction(e),...r)}chatType(e,...r){return this.filter(s.Context.has.chatType(e),...r)}callbackQuery(e,...r){return this.filter(s.Context.has.callbackQuery(e),...r)}gameQuery(e,...r){return this.filter(s.Context.has.gameQuery(e),...r)}inlineQuery(e,...r){return this.filter(s.Context.has.inlineQuery(e),...r)}chosenInlineResult(e,...r){return this.filter(s.Context.has.chosenInlineResult(e),...r)}preCheckoutQuery(e,...r){return this.filter(s.Context.has.preCheckoutQuery(e),...r)}shippingQuery(e,...r){return this.filter(s.Context.has.shippingQuery(e),...r)}filter(e,...r){const n=new Composer(...r);this.branch(e,n,pass);return n}drop(e,...r){return this.filter((async r=>!await e(r)),...r)}fork(...e){const r=new Composer(...e);const n=flatten(r);this.use(((e,r)=>Promise.all([r(),run(n,e)])));return r}lazy(e){return this.use((async(r,n)=>{const s=await e(r);const i=Array.isArray(s)?s:[s];await flatten(new Composer(...i))(r,n)}))}route(e,r,n=pass){return this.lazy((async s=>{var i;const o=await e(s);return(i=o===undefined||!r[o]?n:r[o])!==null&&i!==void 0?i:[]}))}branch(e,r,n){return this.lazy((async s=>await e(s)?r:n))}errorBoundary(e,...r){const n=new Composer(...r);const s=flatten(n);this.use((async(r,n)=>{let i=false;const cont=()=>(i=true,Promise.resolve());try{await s(r,cont)}catch(n){i=false;await e(new BotError(n,r),cont)}if(i)await n()}));return n}}r.Composer=Composer},30913:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Context=void 0;const s=n(5474);const i={filterQuery(e){const r=(0,s.matchFilter)(e);return e=>r(e)},text(e){const r=i.filterQuery([":text",":caption"]);const n=triggerFn(e);return e=>{var s,i;if(!r(e))return false;const o=(s=e.message)!==null&&s!==void 0?s:e.channelPost;const c=(i=o.text)!==null&&i!==void 0?i:o.caption;return match(e,c,n)}},command(e){const r=i.filterQuery(":entities:bot_command");const n=new Set;const s=new Set;toArray(e).forEach((e=>{if(e.startsWith("/")){throw new Error(`Do not include '/' when registering command handlers (use '${e.substring(1)}' not '${e}')`)}const r=e.includes("@")?n:s;r.add(e)}));return e=>{var i,o;if(!r(e))return false;const c=(i=e.message)!==null&&i!==void 0?i:e.channelPost;const u=(o=c.text)!==null&&o!==void 0?o:c.caption;return c.entities.some((r=>{if(r.type!=="bot_command")return false;if(r.offset!==0)return false;const i=u.substring(1,r.length);if(s.has(i)||n.has(i)){e.match=u.substring(i.length+1).trimStart();return true}const o=i.indexOf("@");if(o===-1)return false;const c=i.substring(o+1).toLowerCase();const d=e.me.username.toLowerCase();if(c!==d)return false;const A=i.substring(0,o);if(s.has(A)){e.match=u.substring(i.length+1).trimStart();return true}return false}))}},reaction(e){const r=i.filterQuery("message_reaction");const n=typeof e==="string"?[{type:"emoji",emoji:e}]:(Array.isArray(e)?e:[e]).map((e=>typeof e==="string"?{type:"emoji",emoji:e}:e));const s=new Set(n.filter((e=>e.type==="emoji")).map((e=>e.emoji)));const o=new Set(n.filter((e=>e.type==="custom_emoji")).map((e=>e.custom_emoji_id)));const c=n.some((e=>e.type==="paid"));return e=>{if(!r(e))return false;const{old_reaction:n,new_reaction:i}=e.messageReaction;for(const e of i){let r=false;if(e.type==="emoji"){for(const s of n){if(s.type!=="emoji")continue;if(s.emoji===e.emoji){r=true;break}}}else if(e.type==="custom_emoji"){for(const s of n){if(s.type!=="custom_emoji")continue;if(s.custom_emoji_id===e.custom_emoji_id){r=true;break}}}else if(e.type==="paid"){for(const e of n){if(e.type!=="paid")continue;r=true;break}}else{}if(r)continue;if(e.type==="emoji"){if(s.has(e.emoji))return true}else if(e.type==="custom_emoji"){if(o.has(e.custom_emoji_id))return true}else if(e.type==="paid"){if(c)return true}else{return true}}return false}},chatType(e){const r=new Set(toArray(e));return e=>{var n;return((n=e.chat)===null||n===void 0?void 0:n.type)!==undefined&&r.has(e.chat.type)}},callbackQuery(e){const r=i.filterQuery("callback_query:data");const n=triggerFn(e);return e=>r(e)&&match(e,e.callbackQuery.data,n)},gameQuery(e){const r=i.filterQuery("callback_query:game_short_name");const n=triggerFn(e);return e=>r(e)&&match(e,e.callbackQuery.game_short_name,n)},inlineQuery(e){const r=i.filterQuery("inline_query");const n=triggerFn(e);return e=>r(e)&&match(e,e.inlineQuery.query,n)},chosenInlineResult(e){const r=i.filterQuery("chosen_inline_result");const n=triggerFn(e);return e=>r(e)&&match(e,e.chosenInlineResult.result_id,n)},preCheckoutQuery(e){const r=i.filterQuery("pre_checkout_query");const n=triggerFn(e);return e=>r(e)&&match(e,e.preCheckoutQuery.invoice_payload,n)},shippingQuery(e){const r=i.filterQuery("shipping_query");const n=triggerFn(e);return e=>r(e)&&match(e,e.shippingQuery.invoice_payload,n)}};class Context{constructor(e,r,n){this.update=e;this.api=r;this.me=n}get message(){return this.update.message}get editedMessage(){return this.update.edited_message}get channelPost(){return this.update.channel_post}get editedChannelPost(){return this.update.edited_channel_post}get businessConnection(){return this.update.business_connection}get businessMessage(){return this.update.business_message}get editedBusinessMessage(){return this.update.edited_business_message}get deletedBusinessMessages(){return this.update.deleted_business_messages}get messageReaction(){return this.update.message_reaction}get messageReactionCount(){return this.update.message_reaction_count}get inlineQuery(){return this.update.inline_query}get chosenInlineResult(){return this.update.chosen_inline_result}get callbackQuery(){return this.update.callback_query}get shippingQuery(){return this.update.shipping_query}get preCheckoutQuery(){return this.update.pre_checkout_query}get poll(){return this.update.poll}get pollAnswer(){return this.update.poll_answer}get myChatMember(){return this.update.my_chat_member}get chatMember(){return this.update.chat_member}get chatJoinRequest(){return this.update.chat_join_request}get chatBoost(){return this.update.chat_boost}get removedChatBoost(){return this.update.removed_chat_boost}get msg(){var e,r,n,s,i,o,c;return(o=(i=(s=(n=(r=(e=this.message)!==null&&e!==void 0?e:this.editedMessage)!==null&&r!==void 0?r:this.channelPost)!==null&&n!==void 0?n:this.editedChannelPost)!==null&&s!==void 0?s:this.businessMessage)!==null&&i!==void 0?i:this.editedBusinessMessage)!==null&&o!==void 0?o:(c=this.callbackQuery)===null||c===void 0?void 0:c.message}get chat(){var e,r,n,s,i,o,c,u,d;return(d=(u=(c=(o=(i=(s=(n=(r=(e=this.msg)!==null&&e!==void 0?e:this.deletedBusinessMessages)!==null&&r!==void 0?r:this.messageReaction)!==null&&n!==void 0?n:this.messageReactionCount)!==null&&s!==void 0?s:this.myChatMember)!==null&&i!==void 0?i:this.chatMember)!==null&&o!==void 0?o:this.chatJoinRequest)!==null&&c!==void 0?c:this.chatBoost)!==null&&u!==void 0?u:this.removedChatBoost)===null||d===void 0?void 0:d.chat}get senderChat(){var e;return(e=this.msg)===null||e===void 0?void 0:e.sender_chat}get from(){var e,r,n,s,i,o,c,u,d,A,h,g,m,y,E,_;return(c=(o=(r=(e=this.businessConnection)!==null&&e!==void 0?e:this.messageReaction)!==null&&r!==void 0?r:(i=(s=(n=this.chatBoost)===null||n===void 0?void 0:n.boost)!==null&&s!==void 0?s:this.removedChatBoost)===null||i===void 0?void 0:i.source)===null||o===void 0?void 0:o.user)!==null&&c!==void 0?c:(_=(E=(y=(m=(g=(h=(A=(d=(u=this.callbackQuery)!==null&&u!==void 0?u:this.msg)!==null&&d!==void 0?d:this.inlineQuery)!==null&&A!==void 0?A:this.chosenInlineResult)!==null&&h!==void 0?h:this.shippingQuery)!==null&&g!==void 0?g:this.preCheckoutQuery)!==null&&m!==void 0?m:this.myChatMember)!==null&&y!==void 0?y:this.chatMember)!==null&&E!==void 0?E:this.chatJoinRequest)===null||_===void 0?void 0:_.from}get msgId(){var e,r,n,s,i;return(s=(r=(e=this.msg)===null||e===void 0?void 0:e.message_id)!==null&&r!==void 0?r:(n=this.messageReaction)===null||n===void 0?void 0:n.message_id)!==null&&s!==void 0?s:(i=this.messageReactionCount)===null||i===void 0?void 0:i.message_id}get chatId(){var e,r,n;return(r=(e=this.chat)===null||e===void 0?void 0:e.id)!==null&&r!==void 0?r:(n=this.businessConnection)===null||n===void 0?void 0:n.user_chat_id}get inlineMessageId(){var e,r,n;return(r=(e=this.callbackQuery)===null||e===void 0?void 0:e.inline_message_id)!==null&&r!==void 0?r:(n=this.chosenInlineResult)===null||n===void 0?void 0:n.inline_message_id}get businessConnectionId(){var e,r,n,s,i;return(s=(r=(e=this.msg)===null||e===void 0?void 0:e.business_connection_id)!==null&&r!==void 0?r:(n=this.businessConnection)===null||n===void 0?void 0:n.id)!==null&&s!==void 0?s:(i=this.deletedBusinessMessages)===null||i===void 0?void 0:i.business_connection_id}entities(e){var r,n;const s=this.msg;if(s===undefined)return[];const i=(r=s.text)!==null&&r!==void 0?r:s.caption;if(i===undefined)return[];let o=(n=s.entities)!==null&&n!==void 0?n:s.caption_entities;if(o===undefined)return[];if(e!==undefined){const r=new Set(toArray(e));o=o.filter((e=>r.has(e.type)))}return o.map((e=>({...e,text:i.substring(e.offset,e.offset+e.length)})))}reactions(){const e=[];const r=[];const n=[];const s=[];const i=[];const o=[];const c=[];const u=[];let d=false;let A=false;const h=this.messageReaction;if(h!==undefined){const{old_reaction:g,new_reaction:m}=h;for(const r of m){if(r.type==="emoji"){e.push(r.emoji)}else if(r.type==="custom_emoji"){i.push(r.custom_emoji_id)}else if(r.type==="paid"){d=A=true}}for(const e of g){if(e.type==="emoji"){s.push(e.emoji)}else if(e.type==="custom_emoji"){u.push(e.custom_emoji_id)}else if(e.type==="paid"){A=false}}r.push(...e);o.push(...i);for(let e=0;etypeof e==="string"?{type:"emoji",emoji:e}:e)),r,n)}getUserProfilePhotos(e,r){return this.api.getUserProfilePhotos(orThrow(this.from,"getUserProfilePhotos").id,e,r)}getUserChatBoosts(e,r){return this.api.getUserChatBoosts(e,orThrow(this.from,"getUserChatBoosts").id,r)}getBusinessConnection(e){return this.api.getBusinessConnection(orThrow(this.businessConnectionId,"getBusinessConnection"),e)}getFile(e){var r,n,s,i,o,c;const u=orThrow(this.msg,"getFile");const d=u.photo!==undefined?u.photo[u.photo.length-1]:(c=(o=(i=(s=(n=(r=u.animation)!==null&&r!==void 0?r:u.audio)!==null&&n!==void 0?n:u.document)!==null&&s!==void 0?s:u.video)!==null&&i!==void 0?i:u.video_note)!==null&&o!==void 0?o:u.voice)!==null&&c!==void 0?c:u.sticker;return this.api.getFile(orThrow(d,"getFile").file_id,e)}kickAuthor(...e){return this.banAuthor(...e)}banAuthor(e,r){return this.api.banChatMember(orThrow(this.chatId,"banAuthor"),orThrow(this.from,"banAuthor").id,e,r)}kickChatMember(...e){return this.banChatMember(...e)}banChatMember(e,r,n){return this.api.banChatMember(orThrow(this.chatId,"banChatMember"),e,r,n)}unbanChatMember(e,r,n){return this.api.unbanChatMember(orThrow(this.chatId,"unbanChatMember"),e,r,n)}restrictAuthor(e,r,n){return this.api.restrictChatMember(orThrow(this.chatId,"restrictAuthor"),orThrow(this.from,"restrictAuthor").id,e,r,n)}restrictChatMember(e,r,n,s){return this.api.restrictChatMember(orThrow(this.chatId,"restrictChatMember"),e,r,n,s)}promoteAuthor(e,r){return this.api.promoteChatMember(orThrow(this.chatId,"promoteAuthor"),orThrow(this.from,"promoteAuthor").id,e,r)}promoteChatMember(e,r,n){return this.api.promoteChatMember(orThrow(this.chatId,"promoteChatMember"),e,r,n)}setChatAdministratorAuthorCustomTitle(e,r){return this.api.setChatAdministratorCustomTitle(orThrow(this.chatId,"setChatAdministratorAuthorCustomTitle"),orThrow(this.from,"setChatAdministratorAuthorCustomTitle").id,e,r)}setChatAdministratorCustomTitle(e,r,n){return this.api.setChatAdministratorCustomTitle(orThrow(this.chatId,"setChatAdministratorCustomTitle"),e,r,n)}banChatSenderChat(e,r){return this.api.banChatSenderChat(orThrow(this.chatId,"banChatSenderChat"),e,r)}unbanChatSenderChat(e,r){return this.api.unbanChatSenderChat(orThrow(this.chatId,"unbanChatSenderChat"),e,r)}setChatPermissions(e,r,n){return this.api.setChatPermissions(orThrow(this.chatId,"setChatPermissions"),e,r,n)}exportChatInviteLink(e){return this.api.exportChatInviteLink(orThrow(this.chatId,"exportChatInviteLink"),e)}createChatInviteLink(e,r){return this.api.createChatInviteLink(orThrow(this.chatId,"createChatInviteLink"),e,r)}editChatInviteLink(e,r,n){return this.api.editChatInviteLink(orThrow(this.chatId,"editChatInviteLink"),e,r,n)}createChatSubscriptionInviteLink(e,r,n,s){return this.api.createChatSubscriptionInviteLink(orThrow(this.chatId,"createChatSubscriptionInviteLink"),e,r,n,s)}editChatSubscriptionInviteLink(e,r,n){return this.api.editChatSubscriptionInviteLink(orThrow(this.chatId,"editChatSubscriptionInviteLink"),e,r,n)}revokeChatInviteLink(e,r){return this.api.revokeChatInviteLink(orThrow(this.chatId,"editChatInviteLink"),e,r)}approveChatJoinRequest(e,r){return this.api.approveChatJoinRequest(orThrow(this.chatId,"approveChatJoinRequest"),e,r)}declineChatJoinRequest(e,r){return this.api.declineChatJoinRequest(orThrow(this.chatId,"declineChatJoinRequest"),e,r)}setChatPhoto(e,r){return this.api.setChatPhoto(orThrow(this.chatId,"setChatPhoto"),e,r)}deleteChatPhoto(e){return this.api.deleteChatPhoto(orThrow(this.chatId,"deleteChatPhoto"),e)}setChatTitle(e,r){return this.api.setChatTitle(orThrow(this.chatId,"setChatTitle"),e,r)}setChatDescription(e,r){return this.api.setChatDescription(orThrow(this.chatId,"setChatDescription"),e,r)}pinChatMessage(e,r,n){return this.api.pinChatMessage(orThrow(this.chatId,"pinChatMessage"),e,r,n)}unpinChatMessage(e,r){return this.api.unpinChatMessage(orThrow(this.chatId,"unpinChatMessage"),e,r)}unpinAllChatMessages(e){return this.api.unpinAllChatMessages(orThrow(this.chatId,"unpinAllChatMessages"),e)}leaveChat(e){return this.api.leaveChat(orThrow(this.chatId,"leaveChat"),e)}getChat(e){return this.api.getChat(orThrow(this.chatId,"getChat"),e)}getChatAdministrators(e){return this.api.getChatAdministrators(orThrow(this.chatId,"getChatAdministrators"),e)}getChatMembersCount(...e){return this.getChatMemberCount(...e)}getChatMemberCount(e){return this.api.getChatMemberCount(orThrow(this.chatId,"getChatMemberCount"),e)}getAuthor(e){return this.api.getChatMember(orThrow(this.chatId,"getAuthor"),orThrow(this.from,"getAuthor").id,e)}getChatMember(e,r){return this.api.getChatMember(orThrow(this.chatId,"getChatMember"),e,r)}setChatStickerSet(e,r){return this.api.setChatStickerSet(orThrow(this.chatId,"setChatStickerSet"),e,r)}deleteChatStickerSet(e){return this.api.deleteChatStickerSet(orThrow(this.chatId,"deleteChatStickerSet"),e)}createForumTopic(e,r,n){return this.api.createForumTopic(orThrow(this.chatId,"createForumTopic"),e,r,n)}editForumTopic(e,r){const n=orThrow(this.msg,"editForumTopic");const s=orThrow(n.message_thread_id,"editForumTopic");return this.api.editForumTopic(n.chat.id,s,e,r)}closeForumTopic(e){const r=orThrow(this.msg,"closeForumTopic");const n=orThrow(r.message_thread_id,"closeForumTopic");return this.api.closeForumTopic(r.chat.id,n,e)}reopenForumTopic(e){const r=orThrow(this.msg,"reopenForumTopic");const n=orThrow(r.message_thread_id,"reopenForumTopic");return this.api.reopenForumTopic(r.chat.id,n,e)}deleteForumTopic(e){const r=orThrow(this.msg,"deleteForumTopic");const n=orThrow(r.message_thread_id,"deleteForumTopic");return this.api.deleteForumTopic(r.chat.id,n,e)}unpinAllForumTopicMessages(e){const r=orThrow(this.msg,"unpinAllForumTopicMessages");const n=orThrow(r.message_thread_id,"unpinAllForumTopicMessages");return this.api.unpinAllForumTopicMessages(r.chat.id,n,e)}editGeneralForumTopic(e,r){return this.api.editGeneralForumTopic(orThrow(this.chatId,"editGeneralForumTopic"),e,r)}closeGeneralForumTopic(e){return this.api.closeGeneralForumTopic(orThrow(this.chatId,"closeGeneralForumTopic"),e)}reopenGeneralForumTopic(e){return this.api.reopenGeneralForumTopic(orThrow(this.chatId,"reopenGeneralForumTopic"),e)}hideGeneralForumTopic(e){return this.api.hideGeneralForumTopic(orThrow(this.chatId,"hideGeneralForumTopic"),e)}unhideGeneralForumTopic(e){return this.api.unhideGeneralForumTopic(orThrow(this.chatId,"unhideGeneralForumTopic"),e)}unpinAllGeneralForumTopicMessages(e){return this.api.unpinAllGeneralForumTopicMessages(orThrow(this.chatId,"unpinAllGeneralForumTopicMessages"),e)}answerCallbackQuery(e,r){return this.api.answerCallbackQuery(orThrow(this.callbackQuery,"answerCallbackQuery").id,typeof e==="string"?{text:e}:e,r)}setChatMenuButton(e,r){return this.api.setChatMenuButton(e,r)}getChatMenuButton(e,r){return this.api.getChatMenuButton(e,r)}setMyDefaultAdministratorRights(e,r){return this.api.setMyDefaultAdministratorRights(e,r)}getMyDefaultAdministratorRights(e,r){return this.api.getMyDefaultAdministratorRights(e,r)}editMessageText(e,r,n){var s,i,o,c,u;const d=this.inlineMessageId;return d!==undefined?this.api.editMessageTextInline(d,e,r):this.api.editMessageText(orThrow(this.chatId,"editMessageText"),orThrow((c=(i=(s=this.msg)===null||s===void 0?void 0:s.message_id)!==null&&i!==void 0?i:(o=this.messageReaction)===null||o===void 0?void 0:o.message_id)!==null&&c!==void 0?c:(u=this.messageReactionCount)===null||u===void 0?void 0:u.message_id,"editMessageText"),e,r,n)}editMessageCaption(e,r){var n,s,i,o,c;const u=this.inlineMessageId;return u!==undefined?this.api.editMessageCaptionInline(u,e):this.api.editMessageCaption(orThrow(this.chatId,"editMessageCaption"),orThrow((o=(s=(n=this.msg)===null||n===void 0?void 0:n.message_id)!==null&&s!==void 0?s:(i=this.messageReaction)===null||i===void 0?void 0:i.message_id)!==null&&o!==void 0?o:(c=this.messageReactionCount)===null||c===void 0?void 0:c.message_id,"editMessageCaption"),e,r)}editMessageMedia(e,r,n){var s,i,o,c,u;const d=this.inlineMessageId;return d!==undefined?this.api.editMessageMediaInline(d,e,r):this.api.editMessageMedia(orThrow(this.chatId,"editMessageMedia"),orThrow((c=(i=(s=this.msg)===null||s===void 0?void 0:s.message_id)!==null&&i!==void 0?i:(o=this.messageReaction)===null||o===void 0?void 0:o.message_id)!==null&&c!==void 0?c:(u=this.messageReactionCount)===null||u===void 0?void 0:u.message_id,"editMessageMedia"),e,r,n)}editMessageReplyMarkup(e,r){var n,s,i,o,c;const u=this.inlineMessageId;return u!==undefined?this.api.editMessageReplyMarkupInline(u,e):this.api.editMessageReplyMarkup(orThrow(this.chatId,"editMessageReplyMarkup"),orThrow((o=(s=(n=this.msg)===null||n===void 0?void 0:n.message_id)!==null&&s!==void 0?s:(i=this.messageReaction)===null||i===void 0?void 0:i.message_id)!==null&&o!==void 0?o:(c=this.messageReactionCount)===null||c===void 0?void 0:c.message_id,"editMessageReplyMarkup"),e,r)}stopPoll(e,r){var n,s,i,o,c;return this.api.stopPoll(orThrow(this.chatId,"stopPoll"),orThrow((o=(s=(n=this.msg)===null||n===void 0?void 0:n.message_id)!==null&&s!==void 0?s:(i=this.messageReaction)===null||i===void 0?void 0:i.message_id)!==null&&o!==void 0?o:(c=this.messageReactionCount)===null||c===void 0?void 0:c.message_id,"stopPoll"),e,r)}deleteMessage(e){var r,n,s,i,o;return this.api.deleteMessage(orThrow(this.chatId,"deleteMessage"),orThrow((i=(n=(r=this.msg)===null||r===void 0?void 0:r.message_id)!==null&&n!==void 0?n:(s=this.messageReaction)===null||s===void 0?void 0:s.message_id)!==null&&i!==void 0?i:(o=this.messageReactionCount)===null||o===void 0?void 0:o.message_id,"deleteMessage"),e)}deleteMessages(e,r){return this.api.deleteMessages(orThrow(this.chatId,"deleteMessages"),e,r)}replyWithSticker(e,r,n){return this.api.sendSticker(orThrow(this.chatId,"sendSticker"),e,{business_connection_id:this.businessConnectionId,...r},n)}getCustomEmojiStickers(e){var r,n;return this.api.getCustomEmojiStickers(((n=(r=this.msg)===null||r===void 0?void 0:r.entities)!==null&&n!==void 0?n:[]).filter((e=>e.type==="custom_emoji")).map((e=>e.custom_emoji_id)),e)}answerInlineQuery(e,r,n){return this.api.answerInlineQuery(orThrow(this.inlineQuery,"answerInlineQuery").id,e,r,n)}replyWithInvoice(e,r,n,s,i,o,c){return this.api.sendInvoice(orThrow(this.chatId,"sendInvoice"),e,r,n,s,i,o,c)}answerShippingQuery(e,r,n){return this.api.answerShippingQuery(orThrow(this.shippingQuery,"answerShippingQuery").id,e,r,n)}answerPreCheckoutQuery(e,r,n){return this.api.answerPreCheckoutQuery(orThrow(this.preCheckoutQuery,"answerPreCheckoutQuery").id,e,typeof r==="string"?{error_message:r}:r,n)}refundStarPayment(e){var r;return this.api.refundStarPayment(orThrow(this.from,"refundStarPayment").id,orThrow((r=this.msg)===null||r===void 0?void 0:r.successful_payment,"refundStarPayment").telegram_payment_charge_id,e)}setPassportDataErrors(e,r){return this.api.setPassportDataErrors(orThrow(this.from,"setPassportDataErrors").id,e,r)}replyWithGame(e,r,n){return this.api.sendGame(orThrow(this.chatId,"sendGame"),e,{business_connection_id:this.businessConnectionId,...r},n)}}r.Context=Context;Context.has=i;function orThrow(e,r){if(e===undefined){throw new Error(`Missing information for API call to ${r}`)}return e}function triggerFn(e){return toArray(e).map((e=>typeof e==="string"?r=>r===e?e:null:r=>r.match(e)))}function match(e,r,n){for(const s of n){const n=s(r);if(n){e.match=n;return true}}return false}function toArray(e){return Array.isArray(e)?e:[e]}},43831:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.API_CONSTANTS=void 0;const s=n(49091);const i=[...s.DEFAULT_UPDATE_TYPES,"chat_member","message_reaction","message_reaction_count"];const o={is_anonymous:true,can_manage_chat:true,can_delete_messages:true,can_manage_video_chats:true,can_restrict_members:true,can_promote_members:true,can_change_info:true,can_invite_users:true,can_post_stories:true,can_edit_stories:true,can_delete_stories:true,can_post_messages:true,can_edit_messages:true,can_pin_messages:true,can_manage_topics:true};r.API_CONSTANTS={DEFAULT_UPDATE_TYPES:s.DEFAULT_UPDATE_TYPES,ALL_UPDATE_TYPES:i,ALL_CHAT_PERMISSIONS:o};Object.freeze(r.API_CONSTANTS)},11993:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.adapters=void 0;const n="X-Telegram-Bot-Api-Secret-Token";const s=n.toLowerCase();const i="secret token is wrong";const ok=()=>new Response(null,{status:200});const okJson=e=>new Response(e,{status:200,headers:{"Content-Type":"application/json"}});const unauthorized=()=>new Response('"unauthorized"',{status:401,statusText:i});const awsLambda=(e,r,s)=>{var i;return{update:JSON.parse((i=e.body)!==null&&i!==void 0?i:"{}"),header:e.headers[n],end:()=>s(null,{statusCode:200}),respond:e=>s(null,{statusCode:200,headers:{"Content-Type":"application/json"},body:e}),unauthorized:()=>s(null,{statusCode:401})}};const awsLambdaAsync=(e,r)=>{var s;let i;return{update:JSON.parse((s=e.body)!==null&&s!==void 0?s:"{}"),header:e.headers[n],end:()=>i({statusCode:200}),respond:e=>i({statusCode:200,headers:{"Content-Type":"application/json"},body:e}),unauthorized:()=>i({statusCode:401}),handlerReturn:new Promise((e=>{i=e}))}};const azure=(e,r)=>{var s,o;return{update:Promise.resolve(e.body),header:(o=(s=r.res)===null||s===void 0?void 0:s.headers)===null||o===void 0?void 0:o[n],end:()=>r.res={status:200,body:""},respond:e=>{var n,s,i,o;(s=(n=r.res)===null||n===void 0?void 0:n.set)===null||s===void 0?void 0:s.call(n,"Content-Type","application/json");(o=(i=r.res)===null||i===void 0?void 0:i.send)===null||o===void 0?void 0:o.call(i,e)},unauthorized:()=>{var e,n;(n=(e=r.res)===null||e===void 0?void 0:e.send)===null||n===void 0?void 0:n.call(e,401,i)}}};const bun=e=>{let r;return{update:e.json(),header:e.headers.get(n)||undefined,end:()=>{r(ok())},respond:e=>{r(okJson(e))},unauthorized:()=>{r(unauthorized())}}};const cloudflare=e=>{let r;e.respondWith(new Promise((e=>{r=e})));return{update:e.request.json(),header:e.request.headers.get(n)||undefined,end:()=>{r(ok())},respond:e=>{r(okJson(e))},unauthorized:()=>{r(unauthorized())}}};const cloudflareModule=e=>{let r;return{update:e.json(),header:e.headers.get(n)||undefined,end:()=>{r(ok())},respond:e=>{r(okJson(e))},unauthorized:()=>{r(unauthorized())},handlerReturn:new Promise((e=>{r=e}))}};const express=(e,r)=>({update:Promise.resolve(e.body),header:e.header(n),end:()=>r.end(),respond:e=>{r.set("Content-Type","application/json");r.send(e)},unauthorized:()=>{r.status(401).send(i)}});const fastify=(e,r)=>({update:Promise.resolve(e.body),header:e.headers[s],end:()=>r.status(200).send(),respond:e=>r.headers({"Content-Type":"application/json"}).send(e),unauthorized:()=>r.code(401).send(i)});const hono=e=>{let r;return{update:e.req.json(),header:e.req.header(n),end:()=>{r(e.body(null))},respond:n=>{r(e.json(n))},unauthorized:()=>{e.status(401);r(e.body(null))},handlerReturn:new Promise((e=>{r=e}))}};const http=(e,r)=>{const n=e.headers[s];return{update:new Promise(((r,n)=>{const s=[];e.on("data",(e=>s.push(e))).once("end",(()=>{const e=Buffer.concat(s).toString("utf-8");r(JSON.parse(e))})).once("error",n)})),header:Array.isArray(n)?n[0]:n,end:()=>r.end(),respond:e=>r.writeHead(200,{"Content-Type":"application/json"}).end(e),unauthorized:()=>r.writeHead(401).end(i)}};const koa=e=>({update:Promise.resolve(e.request.body),header:e.get(n)||undefined,end:()=>{e.body=""},respond:r=>{e.set("Content-Type","application/json");e.response.body=r},unauthorized:()=>{e.status=401}});const nextJs=(e,r)=>({update:Promise.resolve(e.body),header:e.headers[s],end:()=>r.end(),respond:e=>r.status(200).json(e),unauthorized:()=>r.status(401).send(i)});const nhttp=e=>({update:Promise.resolve(e.body),header:e.headers.get(n)||undefined,end:()=>e.response.sendStatus(200),respond:r=>e.response.status(200).send(r),unauthorized:()=>e.response.status(401).send(i)});const oak=e=>({update:e.request.body.json(),header:e.request.headers.get(n)||undefined,end:()=>{e.response.status=200},respond:r=>{e.response.type="json";e.response.body=r},unauthorized:()=>{e.response.status=401}});const serveHttp=e=>({update:e.request.json(),header:e.request.headers.get(n)||undefined,end:()=>e.respondWith(ok()),respond:r=>e.respondWith(okJson(r)),unauthorized:()=>e.respondWith(unauthorized())});const stdHttp=e=>{let r;return{update:e.json(),header:e.headers.get(n)||undefined,end:()=>{if(r)r(ok())},respond:e=>{if(r)r(okJson(e))},unauthorized:()=>{if(r)r(unauthorized())},handlerReturn:new Promise((e=>{r=e}))}};const sveltekit=({request:e})=>{let r;return{update:Promise.resolve(e.json()),header:e.headers.get(n)||undefined,end:()=>{if(r)r(ok())},respond:e=>{if(r)r(okJson(e))},unauthorized:()=>{if(r)r(unauthorized())},handlerReturn:new Promise((e=>{r=e}))}};const worktop=(e,r)=>{var s;return{update:Promise.resolve(e.json()),header:(s=e.headers.get(n))!==null&&s!==void 0?s:undefined,end:()=>r.end(null),respond:e=>r.send(200,e),unauthorized:()=>r.send(401,i)}};r.adapters={"aws-lambda":awsLambda,"aws-lambda-async":awsLambdaAsync,azure:azure,bun:bun,cloudflare:cloudflare,"cloudflare-mod":cloudflareModule,express:express,fastify:fastify,hono:hono,http:http,https:http,koa:koa,"next-js":nextJs,nhttp:nhttp,oak:oak,serveHttp:serveHttp,"std/http":stdHttp,sveltekit:sveltekit,worktop:worktop}},45050:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.InlineQueryResultBuilder=void 0;function inputMessage(e){return{...e,...inputMessageMethods(e)}}function inputMessageMethods(e){return{text(r,n={}){const s={message_text:r,...n};return{...e,input_message_content:s}},location(r,n,s={}){const i={latitude:r,longitude:n,...s};return{...e,input_message_content:i}},venue(r,n,s,i,o){const c={title:r,latitude:n,longitude:s,address:i,...o};return{...e,input_message_content:c}},contact(r,n,s={}){const i={first_name:r,phone_number:n,...s};return{...e,input_message_content:i}},invoice(r,n,s,i,o,c,u={}){const d={title:r,description:n,payload:s,provider_token:i,currency:o,prices:c,...u};return{...e,input_message_content:d}}}}r.InlineQueryResultBuilder={article(e,r,n={}){return inputMessageMethods({type:"article",id:e,title:r,...n})},audio(e,r,n,s={}){return inputMessage({type:"audio",id:e,title:r,audio_url:typeof n==="string"?n:n.href,...s})},audioCached(e,r,n={}){return inputMessage({type:"audio",id:e,audio_file_id:r,...n})},contact(e,r,n,s={}){return inputMessage({type:"contact",id:e,phone_number:r,first_name:n,...s})},documentPdf(e,r,n,s={}){return inputMessage({type:"document",mime_type:"application/pdf",id:e,title:r,document_url:typeof n==="string"?n:n.href,...s})},documentZip(e,r,n,s={}){return inputMessage({type:"document",mime_type:"application/zip",id:e,title:r,document_url:typeof n==="string"?n:n.href,...s})},documentCached(e,r,n,s={}){return inputMessage({type:"document",id:e,title:r,document_file_id:n,...s})},game(e,r,n={}){return{type:"game",id:e,game_short_name:r,...n}},gif(e,r,n,s={}){return inputMessage({type:"gif",id:e,gif_url:typeof r==="string"?r:r.href,thumbnail_url:typeof n==="string"?n:n.href,...s})},gifCached(e,r,n={}){return inputMessage({type:"gif",id:e,gif_file_id:r,...n})},location(e,r,n,s,i={}){return inputMessage({type:"location",id:e,title:r,latitude:n,longitude:s,...i})},mpeg4gif(e,r,n,s={}){return inputMessage({type:"mpeg4_gif",id:e,mpeg4_url:typeof r==="string"?r:r.href,thumbnail_url:typeof n==="string"?n:n.href,...s})},mpeg4gifCached(e,r,n={}){return inputMessage({type:"mpeg4_gif",id:e,mpeg4_file_id:r,...n})},photo(e,r,n={thumbnail_url:typeof r==="string"?r:r.href}){return inputMessage({type:"photo",id:e,photo_url:typeof r==="string"?r:r.href,...n})},photoCached(e,r,n={}){return inputMessage({type:"photo",id:e,photo_file_id:r,...n})},stickerCached(e,r,n={}){return inputMessage({type:"sticker",id:e,sticker_file_id:r,...n})},venue(e,r,n,s,i,o={}){return inputMessage({type:"venue",id:e,title:r,latitude:n,longitude:s,address:i,...o})},videoHtml(e,r,n,s,i={}){return inputMessageMethods({type:"video",mime_type:"text/html",id:e,title:r,video_url:typeof n==="string"?n:n.href,thumbnail_url:typeof s==="string"?s:s.href,...i})},videoMp4(e,r,n,s,i={}){return inputMessage({type:"video",mime_type:"video/mp4",id:e,title:r,video_url:typeof n==="string"?n:n.href,thumbnail_url:typeof s==="string"?s:s.href,...i})},videoCached(e,r,n,s={}){return inputMessage({type:"video",id:e,title:r,video_file_id:n,...s})},voice(e,r,n,s={}){return inputMessage({type:"voice",id:e,title:r,voice_url:typeof n==="string"?n:n.href,...s})},voiceCached(e,r,n,s={}){return inputMessage({type:"voice",id:e,title:r,voice_file_id:n,...s})}}},11361:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.InputMediaBuilder=void 0;r.InputMediaBuilder={photo(e,r={}){return{type:"photo",media:e,...r}},video(e,r={}){return{type:"video",media:e,...r}},animation(e,r={}){return{type:"animation",media:e,...r}},audio(e,r={}){return{type:"audio",media:e,...r}},document(e,r={}){return{type:"document",media:e,...r}}}},17697:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.InlineKeyboard=r.Keyboard=void 0;class Keyboard{constructor(e=[[]]){this.keyboard=e}add(...e){var r;(r=this.keyboard[this.keyboard.length-1])===null||r===void 0?void 0:r.push(...e);return this}row(...e){this.keyboard.push(e);return this}text(e){return this.add(Keyboard.text(e))}static text(e){return{text:e}}requestUsers(e,r,n={}){return this.add(Keyboard.requestUsers(e,r,n))}static requestUsers(e,r,n={}){return{text:e,request_users:{request_id:r,...n}}}requestChat(e,r,n={chat_is_channel:false}){return this.add(Keyboard.requestChat(e,r,n))}static requestChat(e,r,n={chat_is_channel:false}){return{text:e,request_chat:{request_id:r,...n}}}requestContact(e){return this.add(Keyboard.requestContact(e))}static requestContact(e){return{text:e,request_contact:true}}requestLocation(e){return this.add(Keyboard.requestLocation(e))}static requestLocation(e){return{text:e,request_location:true}}requestPoll(e,r){return this.add(Keyboard.requestPoll(e,r))}static requestPoll(e,r){return{text:e,request_poll:{type:r}}}webApp(e,r){return this.add(Keyboard.webApp(e,r))}static webApp(e,r){return{text:e,web_app:{url:r}}}persistent(e=true){this.is_persistent=e;return this}selected(e=true){this.selective=e;return this}oneTime(e=true){this.one_time_keyboard=e;return this}resized(e=true){this.resize_keyboard=e;return this}placeholder(e){this.input_field_placeholder=e;return this}toTransposed(){const e=this.keyboard;const r=transpose(e);return this.clone(r)}toFlowed(e,r={}){const n=this.keyboard;const s=reflow(n,e,r);return this.clone(s)}clone(e=this.keyboard){const r=new Keyboard(e.map((e=>e.slice())));r.is_persistent=this.is_persistent;r.selective=this.selective;r.one_time_keyboard=this.one_time_keyboard;r.resize_keyboard=this.resize_keyboard;r.input_field_placeholder=this.input_field_placeholder;return r}append(...e){for(const r of e){const e=Keyboard.from(r);this.keyboard.push(...e.keyboard.map((e=>e.slice())))}return this}build(){return this.keyboard}static from(e){if(e instanceof Keyboard)return e.clone();function toButton(e){return typeof e==="string"?Keyboard.text(e):e}return new Keyboard(e.map((e=>e.map(toButton))))}}r.Keyboard=Keyboard;class InlineKeyboard{constructor(e=[[]]){this.inline_keyboard=e}add(...e){var r;(r=this.inline_keyboard[this.inline_keyboard.length-1])===null||r===void 0?void 0:r.push(...e);return this}row(...e){this.inline_keyboard.push(e);return this}url(e,r){return this.add(InlineKeyboard.url(e,r))}static url(e,r){return{text:e,url:r}}text(e,r=e){return this.add(InlineKeyboard.text(e,r))}static text(e,r=e){return{text:e,callback_data:r}}webApp(e,r){return this.add(InlineKeyboard.webApp(e,r))}static webApp(e,r){return{text:e,web_app:{url:r}}}login(e,r){return this.add(InlineKeyboard.login(e,r))}static login(e,r){return{text:e,login_url:typeof r==="string"?{url:r}:r}}switchInline(e,r=""){return this.add(InlineKeyboard.switchInline(e,r))}static switchInline(e,r=""){return{text:e,switch_inline_query:r}}switchInlineCurrent(e,r=""){return this.add(InlineKeyboard.switchInlineCurrent(e,r))}static switchInlineCurrent(e,r=""){return{text:e,switch_inline_query_current_chat:r}}switchInlineChosen(e,r={}){return this.add(InlineKeyboard.switchInlineChosen(e,r))}static switchInlineChosen(e,r={}){return{text:e,switch_inline_query_chosen_chat:r}}game(e){return this.add(InlineKeyboard.game(e))}static game(e){return{text:e,callback_game:{}}}pay(e){return this.add(InlineKeyboard.pay(e))}static pay(e){return{text:e,pay:true}}toTransposed(){const e=this.inline_keyboard;const r=transpose(e);return new InlineKeyboard(r)}toFlowed(e,r={}){const n=this.inline_keyboard;const s=reflow(n,e,r);return new InlineKeyboard(s)}clone(){return new InlineKeyboard(this.inline_keyboard.map((e=>e.slice())))}append(...e){for(const r of e){const e=InlineKeyboard.from(r);this.inline_keyboard.push(...e.inline_keyboard.map((e=>e.slice())))}return this}static from(e){if(e instanceof InlineKeyboard)return e.clone();return new InlineKeyboard(e.map((e=>e.slice())))}}r.InlineKeyboard=InlineKeyboard;function transpose(e){var r;const n=[];for(let s=0;se.length)).reduce(((e,r)=>e+r),0);i=n%r}const o=[];for(const n of e){for(const e of n){const n=Math.max(0,o.length-1);const c=n===0?i:r;let u=(s=o[n])!==null&&s!==void 0?s:o[n]=[];if(u.length===c){u=[];o.push(u)}u.push(e)}}return o}},77058:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MemorySessionStorage=void 0;r.session=session;r.lazySession=lazySession;r.enhanceStorage=enhanceStorage;const s=n(94217);const i=(0,s.debug)("grammy:session");function session(e={}){return e.type==="multi"?strictMultiSession(e):strictSingleSession(e)}function strictSingleSession(e){const{initial:r,storage:n,getSessionKey:s,custom:i}=fillDefaults(e);return async(e,o)=>{const c=new PropertySession(n,e,"session",r);const u=await s(e);await c.init(u,{custom:i,lazy:false});await o();await c.finish()}}function strictMultiSession(e){const r=Object.keys(e).filter((e=>e!=="type"));const n=Object.fromEntries(r.map((r=>[r,fillDefaults(e[r])])));return async(e,s)=>{e.session={};const i=await Promise.all(r.map((async r=>{const{initial:s,storage:i,getSessionKey:o,custom:c}=n[r];const u=new PropertySession(i,e.session,r,s);const d=await o(e);await u.init(d,{custom:c,lazy:false});return u})));await s();if(e.session==null)i.forEach((e=>e.delete()));await Promise.all(i.map((e=>e.finish())))}}function lazySession(e={}){if(e.type!==undefined&&e.type!=="single"){throw new Error("Cannot use lazy multi sessions!")}const{initial:r,storage:n,getSessionKey:s,custom:i}=fillDefaults(e);return async(e,o)=>{const c=new PropertySession(n,e,"session",r);const u=await s(e);await c.init(u,{custom:i,lazy:true});await o();await c.finish()}}class PropertySession{constructor(e,r,n,s){this.storage=e;this.obj=r;this.prop=n;this.initial=s;this.fetching=false;this.read=false;this.wrote=false}load(){if(this.key===undefined){return}if(this.wrote){return}if(this.promise===undefined){this.fetching=true;this.promise=Promise.resolve(this.storage.read(this.key)).then((e=>{var r;this.fetching=false;if(this.wrote){return this.value}if(e!==undefined){this.value=e;return e}e=(r=this.initial)===null||r===void 0?void 0:r.call(this);if(e!==undefined){this.wrote=true;this.value=e}return e}))}return this.promise}async init(e,r){this.key=e;if(!r.lazy)await this.load();Object.defineProperty(this.obj,this.prop,{enumerable:true,get:()=>{if(e===undefined){const e=undef("access",r);throw new Error(e)}this.read=true;if(!r.lazy||this.wrote)return this.value;this.load();return this.fetching?this.promise:this.value},set:n=>{if(e===undefined){const e=undef("assign",r);throw new Error(e)}this.wrote=true;this.fetching=false;this.value=n}})}delete(){Object.assign(this.obj,{[this.prop]:undefined})}async finish(){if(this.key!==undefined){if(this.read)await this.load();if(this.read||this.wrote){const e=await this.value;if(e==null)await this.storage.delete(this.key);else await this.storage.write(this.key,e)}}}}function fillDefaults(e={}){let{getSessionKey:r=defaultGetSessionKey,initial:n,storage:s}=e;if(s==null){i("Storing session data in memory, all data will be lost when the bot restarts.");s=new MemorySessionStorage}const o=r!==defaultGetSessionKey;return{initial:n,storage:s,getSessionKey:r,custom:o}}function defaultGetSessionKey(e){var r;return(r=e.chatId)===null||r===void 0?void 0:r.toString()}function undef(e,r){const{lazy:n=false,custom:s}=r;const i=s?"the custom `getSessionKey` function returned undefined for this update":"this update does not belong to a chat, so the session key is undefined";return`Cannot ${e} ${n?"lazy ":""}session data because ${i}!`}function isEnhance(e){return e===undefined||typeof e==="object"&&e!==null&&"__d"in e}function enhanceStorage(e){let{storage:r,millisecondsToLive:n,migrations:s}=e;r=compatStorage(r);if(n!==undefined){r=timeoutStorage(r,n)}if(s!==undefined){r=migrationStorage(r,s)}return wrapStorage(r)}function compatStorage(e){return{read:async r=>{const n=await e.read(r);return isEnhance(n)?n:{__d:n}},write:(r,n)=>e.write(r,n),delete:r=>e.delete(r)}}function timeoutStorage(e,r){const n={read:async r=>{const s=await e.read(r);if(s===undefined)return undefined;if(s.e===undefined){await n.write(r,s);return s}if(s.e{s.e=addExpiryDate(s,r).expires;await e.write(n,s)},delete:r=>e.delete(r)};return n}function migrationStorage(e,r){const n=Object.keys(r).map((e=>parseInt(e))).sort(((e,r)=>e-r));const s=n.length;if(s===0)throw new Error("No migrations given!");const i=n[0];const o=s-1;const c=n[o];const u=new Map;n.forEach(((e,r)=>u.set(e,r)));function nextAfter(e){let r=o;while(e<=n[r])r--;return r}return{read:async o=>{var d;const A=await e.read(o);if(A===undefined)return A;let{__d:h,v:g=i-1}=A;let m=1+((d=u.get(g))!==null&&d!==void 0?d:nextAfter(g));for(;me.write(r,{v:c,...n}),delete:r=>e.delete(r)}}function wrapStorage(e){return{read:r=>Promise.resolve(e.read(r)).then((e=>e===null||e===void 0?void 0:e.__d)),write:(r,n)=>e.write(r,{__d:n}),delete:r=>e.delete(r)}}class MemorySessionStorage{constructor(e){this.timeToLive=e;this.storage=new Map}read(e){const r=this.storage.get(e);if(r===undefined)return undefined;if(r.expires!==undefined&&r.expiresthis.read(e))).filter((e=>e!==undefined))}readAllEntries(){return Array.from(this.storage.keys()).map((e=>[e,this.read(e)])).filter((e=>e[1]!==undefined))}has(e){return this.storage.has(e)}write(e,r){this.storage.set(e,addExpiryDate(r,this.timeToLive))}delete(e){this.storage.delete(e)}}r.MemorySessionStorage=MemorySessionStorage;function addExpiryDate(e,r){if(r!==undefined&&r{Object.defineProperty(r,"__esModule",{value:true});r.webhookCallback=webhookCallback;const s=n(94217);const i=n(11993);const o=(0,s.debug)("grammy:error");const callbackAdapter=(e,r,n,s=()=>r('"unauthorized"'))=>({update:Promise.resolve(e),respond:r,header:n,unauthorized:s});const c={...i.adapters,callback:callbackAdapter};function webhookCallback(e,r=s.defaultAdapter,n,i,o){const{onTimeout:u="throw",timeoutMilliseconds:d=1e4,secretToken:A}=typeof n==="object"?n:{onTimeout:n,timeoutMilliseconds:i,secretToken:o};let h=false;const g=typeof r==="string"?c[r]:r;return async(...r)=>{const{update:n,respond:s,unauthorized:i,end:o,handlerReturn:c,header:m}=g(...r);if(!h){await e.init();h=true}if(m!==A){await i();console.log(c);return c}let y=false;const E={async send(e){y=true;await s(e)}};await timeoutIfNecessary(e.handleUpdate(await n,E),typeof u==="function"?()=>u(...r):u,d);if(!y)o===null||o===void 0?void 0:o();return c}}function timeoutIfNecessary(e,r,n){if(n===Infinity)return e;return new Promise(((s,i)=>{const c=setTimeout((()=>{o(`Request timed out after ${n} ms`);if(r==="throw"){i(new Error(`Request timed out after ${n} ms`))}else{if(typeof r==="function")r();s()}const c=Date.now();e.finally((()=>{const e=Date.now()-c;o(`Request completed ${e} ms after timeout!`)}))}),n);e.then(s).catch(i).finally((()=>clearTimeout(c)))}))}},20072:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Api=void 0;const s=n(81341);class Api{constructor(e,r,n){this.token=e;this.options=r;const{raw:i,use:o,installedTransformers:c}=(0,s.createRawApi)(e,r,n);this.raw=i;this.config={use:o,installedTransformers:()=>c.slice()}}getUpdates(e,r){return this.raw.getUpdates({...e},r)}setWebhook(e,r,n){return this.raw.setWebhook({url:e,...r},n)}deleteWebhook(e,r){return this.raw.deleteWebhook({...e},r)}getWebhookInfo(e){return this.raw.getWebhookInfo(e)}getMe(e){return this.raw.getMe(e)}logOut(e){return this.raw.logOut(e)}close(e){return this.raw.close(e)}sendMessage(e,r,n,s){return this.raw.sendMessage({chat_id:e,text:r,...n},s)}forwardMessage(e,r,n,s,i){return this.raw.forwardMessage({chat_id:e,from_chat_id:r,message_id:n,...s},i)}forwardMessages(e,r,n,s,i){return this.raw.forwardMessages({chat_id:e,from_chat_id:r,message_ids:n,...s},i)}copyMessage(e,r,n,s,i){return this.raw.copyMessage({chat_id:e,from_chat_id:r,message_id:n,...s},i)}copyMessages(e,r,n,s,i){return this.raw.copyMessages({chat_id:e,from_chat_id:r,message_ids:n,...s},i)}sendPhoto(e,r,n,s){return this.raw.sendPhoto({chat_id:e,photo:r,...n},s)}sendAudio(e,r,n,s){return this.raw.sendAudio({chat_id:e,audio:r,...n},s)}sendDocument(e,r,n,s){return this.raw.sendDocument({chat_id:e,document:r,...n},s)}sendVideo(e,r,n,s){return this.raw.sendVideo({chat_id:e,video:r,...n},s)}sendAnimation(e,r,n,s){return this.raw.sendAnimation({chat_id:e,animation:r,...n},s)}sendVoice(e,r,n,s){return this.raw.sendVoice({chat_id:e,voice:r,...n},s)}sendVideoNote(e,r,n,s){return this.raw.sendVideoNote({chat_id:e,video_note:r,...n},s)}sendMediaGroup(e,r,n,s){return this.raw.sendMediaGroup({chat_id:e,media:r,...n},s)}sendLocation(e,r,n,s,i){return this.raw.sendLocation({chat_id:e,latitude:r,longitude:n,...s},i)}editMessageLiveLocation(e,r,n,s,i,o){return this.raw.editMessageLiveLocation({chat_id:e,message_id:r,latitude:n,longitude:s,...i},o)}editMessageLiveLocationInline(e,r,n,s,i){return this.raw.editMessageLiveLocation({inline_message_id:e,latitude:r,longitude:n,...s},i)}stopMessageLiveLocation(e,r,n,s){return this.raw.stopMessageLiveLocation({chat_id:e,message_id:r,...n},s)}stopMessageLiveLocationInline(e,r,n){return this.raw.stopMessageLiveLocation({inline_message_id:e,...r},n)}sendPaidMedia(e,r,n,s,i){return this.raw.sendPaidMedia({chat_id:e,star_count:r,media:n,...s},i)}sendVenue(e,r,n,s,i,o,c){return this.raw.sendVenue({chat_id:e,latitude:r,longitude:n,title:s,address:i,...o},c)}sendContact(e,r,n,s,i){return this.raw.sendContact({chat_id:e,phone_number:r,first_name:n,...s},i)}sendPoll(e,r,n,s,i){return this.raw.sendPoll({chat_id:e,question:r,options:n,...s},i)}sendDice(e,r,n,s){return this.raw.sendDice({chat_id:e,emoji:r,...n},s)}setMessageReaction(e,r,n,s,i){return this.raw.setMessageReaction({chat_id:e,message_id:r,reaction:n,...s},i)}sendChatAction(e,r,n,s){return this.raw.sendChatAction({chat_id:e,action:r,...n},s)}getUserProfilePhotos(e,r,n){return this.raw.getUserProfilePhotos({user_id:e,...r},n)}getUserChatBoosts(e,r,n){return this.raw.getUserChatBoosts({chat_id:e,user_id:r},n)}getBusinessConnection(e,r){return this.raw.getBusinessConnection({business_connection_id:e},r)}getFile(e,r){return this.raw.getFile({file_id:e},r)}kickChatMember(...e){return this.banChatMember(...e)}banChatMember(e,r,n,s){return this.raw.banChatMember({chat_id:e,user_id:r,...n},s)}unbanChatMember(e,r,n,s){return this.raw.unbanChatMember({chat_id:e,user_id:r,...n},s)}restrictChatMember(e,r,n,s,i){return this.raw.restrictChatMember({chat_id:e,user_id:r,permissions:n,...s},i)}promoteChatMember(e,r,n,s){return this.raw.promoteChatMember({chat_id:e,user_id:r,...n},s)}setChatAdministratorCustomTitle(e,r,n,s){return this.raw.setChatAdministratorCustomTitle({chat_id:e,user_id:r,custom_title:n},s)}banChatSenderChat(e,r,n){return this.raw.banChatSenderChat({chat_id:e,sender_chat_id:r},n)}unbanChatSenderChat(e,r,n){return this.raw.unbanChatSenderChat({chat_id:e,sender_chat_id:r},n)}setChatPermissions(e,r,n,s){return this.raw.setChatPermissions({chat_id:e,permissions:r,...n},s)}exportChatInviteLink(e,r){return this.raw.exportChatInviteLink({chat_id:e},r)}createChatInviteLink(e,r,n){return this.raw.createChatInviteLink({chat_id:e,...r},n)}editChatInviteLink(e,r,n,s){return this.raw.editChatInviteLink({chat_id:e,invite_link:r,...n},s)}createChatSubscriptionInviteLink(e,r,n,s,i){return this.raw.createChatSubscriptionInviteLink({chat_id:e,subscription_period:r,subscription_price:n,...s},i)}editChatSubscriptionInviteLink(e,r,n,s){return this.raw.editChatSubscriptionInviteLink({chat_id:e,invite_link:r,...n},s)}revokeChatInviteLink(e,r,n){return this.raw.revokeChatInviteLink({chat_id:e,invite_link:r},n)}approveChatJoinRequest(e,r,n){return this.raw.approveChatJoinRequest({chat_id:e,user_id:r},n)}declineChatJoinRequest(e,r,n){return this.raw.declineChatJoinRequest({chat_id:e,user_id:r},n)}setChatPhoto(e,r,n){return this.raw.setChatPhoto({chat_id:e,photo:r},n)}deleteChatPhoto(e,r){return this.raw.deleteChatPhoto({chat_id:e},r)}setChatTitle(e,r,n){return this.raw.setChatTitle({chat_id:e,title:r},n)}setChatDescription(e,r,n){return this.raw.setChatDescription({chat_id:e,description:r},n)}pinChatMessage(e,r,n,s){return this.raw.pinChatMessage({chat_id:e,message_id:r,...n},s)}unpinChatMessage(e,r,n){return this.raw.unpinChatMessage({chat_id:e,message_id:r},n)}unpinAllChatMessages(e,r){return this.raw.unpinAllChatMessages({chat_id:e},r)}leaveChat(e,r){return this.raw.leaveChat({chat_id:e},r)}getChat(e,r){return this.raw.getChat({chat_id:e},r)}getChatAdministrators(e,r){return this.raw.getChatAdministrators({chat_id:e},r)}getChatMembersCount(...e){return this.getChatMemberCount(...e)}getChatMemberCount(e,r){return this.raw.getChatMemberCount({chat_id:e},r)}getChatMember(e,r,n){return this.raw.getChatMember({chat_id:e,user_id:r},n)}setChatStickerSet(e,r,n){return this.raw.setChatStickerSet({chat_id:e,sticker_set_name:r},n)}deleteChatStickerSet(e,r){return this.raw.deleteChatStickerSet({chat_id:e},r)}getForumTopicIconStickers(e){return this.raw.getForumTopicIconStickers(e)}createForumTopic(e,r,n,s){return this.raw.createForumTopic({chat_id:e,name:r,...n},s)}editForumTopic(e,r,n,s){return this.raw.editForumTopic({chat_id:e,message_thread_id:r,...n},s)}closeForumTopic(e,r,n){return this.raw.closeForumTopic({chat_id:e,message_thread_id:r},n)}reopenForumTopic(e,r,n){return this.raw.reopenForumTopic({chat_id:e,message_thread_id:r},n)}deleteForumTopic(e,r,n){return this.raw.deleteForumTopic({chat_id:e,message_thread_id:r},n)}unpinAllForumTopicMessages(e,r,n){return this.raw.unpinAllForumTopicMessages({chat_id:e,message_thread_id:r},n)}editGeneralForumTopic(e,r,n){return this.raw.editGeneralForumTopic({chat_id:e,name:r},n)}closeGeneralForumTopic(e,r){return this.raw.closeGeneralForumTopic({chat_id:e},r)}reopenGeneralForumTopic(e,r){return this.raw.reopenGeneralForumTopic({chat_id:e},r)}hideGeneralForumTopic(e,r){return this.raw.hideGeneralForumTopic({chat_id:e},r)}unhideGeneralForumTopic(e,r){return this.raw.unhideGeneralForumTopic({chat_id:e},r)}unpinAllGeneralForumTopicMessages(e,r){return this.raw.unpinAllGeneralForumTopicMessages({chat_id:e},r)}answerCallbackQuery(e,r,n){return this.raw.answerCallbackQuery({callback_query_id:e,...r},n)}setMyName(e,r,n){return this.raw.setMyName({name:e,...r},n)}getMyName(e,r){return this.raw.getMyName(e!==null&&e!==void 0?e:{},r)}setMyCommands(e,r,n){return this.raw.setMyCommands({commands:e,...r},n)}deleteMyCommands(e,r){return this.raw.deleteMyCommands({...e},r)}getMyCommands(e,r){return this.raw.getMyCommands({...e},r)}setMyDescription(e,r,n){return this.raw.setMyDescription({description:e,...r},n)}getMyDescription(e,r){return this.raw.getMyDescription({...e},r)}setMyShortDescription(e,r,n){return this.raw.setMyShortDescription({short_description:e,...r},n)}getMyShortDescription(e,r){return this.raw.getMyShortDescription({...e},r)}setChatMenuButton(e,r){return this.raw.setChatMenuButton({...e},r)}getChatMenuButton(e,r){return this.raw.getChatMenuButton({...e},r)}setMyDefaultAdministratorRights(e,r){return this.raw.setMyDefaultAdministratorRights({...e},r)}getMyDefaultAdministratorRights(e,r){return this.raw.getMyDefaultAdministratorRights({...e},r)}editMessageText(e,r,n,s,i){return this.raw.editMessageText({chat_id:e,message_id:r,text:n,...s},i)}editMessageTextInline(e,r,n,s){return this.raw.editMessageText({inline_message_id:e,text:r,...n},s)}editMessageCaption(e,r,n,s){return this.raw.editMessageCaption({chat_id:e,message_id:r,...n},s)}editMessageCaptionInline(e,r,n){return this.raw.editMessageCaption({inline_message_id:e,...r},n)}editMessageMedia(e,r,n,s,i){return this.raw.editMessageMedia({chat_id:e,message_id:r,media:n,...s},i)}editMessageMediaInline(e,r,n,s){return this.raw.editMessageMedia({inline_message_id:e,media:r,...n},s)}editMessageReplyMarkup(e,r,n,s){return this.raw.editMessageReplyMarkup({chat_id:e,message_id:r,...n},s)}editMessageReplyMarkupInline(e,r,n){return this.raw.editMessageReplyMarkup({inline_message_id:e,...r},n)}stopPoll(e,r,n,s){return this.raw.stopPoll({chat_id:e,message_id:r,...n},s)}deleteMessage(e,r,n){return this.raw.deleteMessage({chat_id:e,message_id:r},n)}deleteMessages(e,r,n){return this.raw.deleteMessages({chat_id:e,message_ids:r},n)}sendSticker(e,r,n,s){return this.raw.sendSticker({chat_id:e,sticker:r,...n},s)}getStickerSet(e,r){return this.raw.getStickerSet({name:e},r)}getCustomEmojiStickers(e,r){return this.raw.getCustomEmojiStickers({custom_emoji_ids:e},r)}uploadStickerFile(e,r,n,s){return this.raw.uploadStickerFile({user_id:e,sticker_format:r,sticker:n},s)}createNewStickerSet(e,r,n,s,i,o){return this.raw.createNewStickerSet({user_id:e,name:r,title:n,stickers:s,...i},o)}addStickerToSet(e,r,n,s){return this.raw.addStickerToSet({user_id:e,name:r,sticker:n},s)}setStickerPositionInSet(e,r,n){return this.raw.setStickerPositionInSet({sticker:e,position:r},n)}deleteStickerFromSet(e,r){return this.raw.deleteStickerFromSet({sticker:e},r)}replaceStickerInSet(e,r,n,s,i){return this.raw.replaceStickerInSet({user_id:e,name:r,old_sticker:n,sticker:s},i)}setStickerEmojiList(e,r,n){return this.raw.setStickerEmojiList({sticker:e,emoji_list:r},n)}setStickerKeywords(e,r,n){return this.raw.setStickerKeywords({sticker:e,keywords:r},n)}setStickerMaskPosition(e,r,n){return this.raw.setStickerMaskPosition({sticker:e,mask_position:r},n)}setStickerSetTitle(e,r,n){return this.raw.setStickerSetTitle({name:e,title:r},n)}deleteStickerSet(e,r){return this.raw.deleteStickerSet({name:e},r)}setStickerSetThumbnail(e,r,n,s,i){return this.raw.setStickerSetThumbnail({name:e,user_id:r,thumbnail:n,format:s},i)}setCustomEmojiStickerSetThumbnail(e,r,n){return this.raw.setCustomEmojiStickerSetThumbnail({name:e,custom_emoji_id:r},n)}answerInlineQuery(e,r,n,s){return this.raw.answerInlineQuery({inline_query_id:e,results:r,...n},s)}answerWebAppQuery(e,r,n){return this.raw.answerWebAppQuery({web_app_query_id:e,result:r},n)}sendInvoice(e,r,n,s,i,o,c,u){return this.raw.sendInvoice({chat_id:e,title:r,description:n,payload:s,currency:i,prices:o,...c},u)}createInvoiceLink(e,r,n,s,i,o,c,u){return this.raw.createInvoiceLink({title:e,description:r,payload:n,provider_token:s,currency:i,prices:o,...c},u)}answerShippingQuery(e,r,n,s){return this.raw.answerShippingQuery({shipping_query_id:e,ok:r,...n},s)}answerPreCheckoutQuery(e,r,n,s){return this.raw.answerPreCheckoutQuery({pre_checkout_query_id:e,ok:r,...n},s)}getStarTransactions(e,r){return this.raw.getStarTransactions({...e},r)}refundStarPayment(e,r,n){return this.raw.refundStarPayment({user_id:e,telegram_payment_charge_id:r},n)}setPassportDataErrors(e,r,n){return this.raw.setPassportDataErrors({user_id:e,errors:r},n)}sendGame(e,r,n,s){return this.raw.sendGame({chat_id:e,game_short_name:r,...n},s)}setGameScore(e,r,n,s,i,o){return this.raw.setGameScore({chat_id:e,message_id:r,user_id:n,score:s,...i},o)}setGameScoreInline(e,r,n,s,i){return this.raw.setGameScore({inline_message_id:e,user_id:r,score:n,...s},i)}getGameHighScores(e,r,n,s){return this.raw.getGameHighScores({chat_id:e,message_id:r,user_id:n},s)}getGameHighScoresInline(e,r,n){return this.raw.getGameHighScores({inline_message_id:e,user_id:r},n)}}r.Api=Api},81341:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.createRawApi=createRawApi;const s=n(94217);const i=n(62734);const o=n(72394);const c=(0,s.debug)("grammy:core");function concatTransformer(e,r){return(n,s,i)=>r(e,n,s,i)}class ApiClient{constructor(e,r={},n={}){var u,A,h,g,m,y;this.token=e;this.webhookReplyEnvelope=n;this.hasUsedWebhookReply=false;this.installedTransformers=[];this.call=async(e,r,n)=>{const s=r!==null&&r!==void 0?r:{};c(`Calling ${e}`);if(n!==undefined)validateSignal(e,s,n);const u=this.options;const A=(0,o.requiresFormDataUpload)(s);if(this.webhookReplyEnvelope.send!==undefined&&!this.hasUsedWebhookReply&&!A&&u.canUseWebhookReply(e)){this.hasUsedWebhookReply=true;const r=(0,o.createJsonPayload)({...s,method:e});await this.webhookReplyEnvelope.send(r.body);return{ok:true,result:true}}const h=createAbortControllerFromSignal(n);const g=createTimeout(h,u.timeoutSeconds,e);const m=createStreamError(h);const y=u.buildUrl(u.apiRoot,this.token,e,u.environment);const E=A?(0,o.createFormDataPayload)(s,(e=>m.catch(e))):(0,o.createJsonPayload)(s);const _=h.signal;const b={...u.baseFetchConfig,signal:_,...E};const I=(0,d.fetch)(y instanceof URL?y.href:y,b).catch((0,i.toHttpError)(e,u.sensitiveLogs));const v=[I,m.promise,g.promise];try{const e=await Promise.race(v);return await e.json()}finally{if(g.handle!==undefined)clearTimeout(g.handle)}};const E=(u=r.apiRoot)!==null&&u!==void 0?u:"https://api.telegram.org";const _=(A=r.environment)!==null&&A!==void 0?A:"prod";this.options={apiRoot:E,environment:_,buildUrl:(h=r.buildUrl)!==null&&h!==void 0?h:defaultBuildUrl,timeoutSeconds:(g=r.timeoutSeconds)!==null&&g!==void 0?g:500,baseFetchConfig:{...(0,s.baseFetchConfig)(E),...r.baseFetchConfig},canUseWebhookReply:(m=r.canUseWebhookReply)!==null&&m!==void 0?m:()=>false,sensitiveLogs:(y=r.sensitiveLogs)!==null&&y!==void 0?y:false};if(this.options.apiRoot.endsWith("/")){throw new Error(`Remove the trailing '/' from the 'apiRoot' option (use '${this.options.apiRoot.substring(0,this.options.apiRoot.length-1)}' instead of '${this.options.apiRoot}')`)}}use(...e){this.call=e.reduce(concatTransformer,this.call);this.installedTransformers.push(...e);return this}async callApi(e,r,n){const s=await this.call(e,r,n);if(s.ok)return s.result;else throw(0,i.toGrammyError)(s,e,r)}}function createRawApi(e,r,n){const s=new ApiClient(e,r,n);const i={get(e,r){return r==="toJSON"?"__internal":s.callApi.bind(s,r)},...u};const o=new Proxy({},i);const c=s.installedTransformers;const d={raw:o,installedTransformers:c,use:(...e)=>{s.use(...e);return d}};return d}const defaultBuildUrl=(e,r,n,s)=>{const i=s==="test"?"test/":"";return`${e}/bot${r}/${i}${n}`};const u={set(){return false},defineProperty(){return false},deleteProperty(){return false},ownKeys(){return[]}};function createTimeout(e,r,n){let s=undefined;const i=new Promise(((i,o)=>{s=setTimeout((()=>{const s=`Request to '${n}' timed out after ${r} seconds`;o(new Error(s));e.abort()}),1e3*r)}));return{promise:i,handle:s}}function createStreamError(e){let onError=e=>{throw e};const r=new Promise(((r,n)=>{onError=r=>{n(r);e.abort()}}));return{promise:r,catch:onError}}function createAbortControllerFromSignal(e){const r=new d.AbortController;if(e===undefined)return r;const n=e;function abort(){r.abort();n.removeEventListener("abort",abort)}if(n.aborted)abort();else n.addEventListener("abort",abort);return{abort:abort,signal:r.signal}}function validateSignal(e,r,n){if(typeof(n===null||n===void 0?void 0:n.addEventListener)==="function"){return}let s=JSON.stringify(r);if(s.length>20){s=s.substring(0,16)+" ..."}let i=JSON.stringify(n);if(i.length>20){i=i.substring(0,16)+" ..."}throw new Error(`Incorrect abort signal instance found! You passed two payloads to '${e}' but you should merge the second one containing '${i}' into the first one containing '${s}'! If you are using context shortcuts, you may want to use a method on 'ctx.api' instead.\n\nIf you want to prevent such mistakes in the future, consider using TypeScript. https://www.typescriptlang.org/`)}const d=n(39243)},62734:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.HttpError=r.GrammyError=void 0;r.toGrammyError=toGrammyError;r.toHttpError=toHttpError;const s=n(94217);const i=(0,s.debug)("grammy:warn");class GrammyError extends Error{constructor(e,r,n,s){var i;super(`${e} (${r.error_code}: ${r.description})`);this.method=n;this.payload=s;this.ok=false;this.name="GrammyError";this.error_code=r.error_code;this.description=r.description;this.parameters=(i=r.parameters)!==null&&i!==void 0?i:{}}}r.GrammyError=GrammyError;function toGrammyError(e,r,n){switch(e.error_code){case 401:i("Error 401 means that your bot token is wrong, talk to https://t.me/BotFather to check it.");break;case 409:i("Error 409 means that you are running your bot several times on long polling. Consider revoking the bot token if you believe that no other instance is running.");break}return new GrammyError(`Call to '${r}' failed!`,e,r,n)}class HttpError extends Error{constructor(e,r){super(e);this.error=r;this.name="HttpError"}}r.HttpError=HttpError;function isTelegramError(e){return typeof e==="object"&&e!==null&&"status"in e&&"statusText"in e}function toHttpError(e,r){return n=>{let s=`Network request for '${e}' failed!`;if(isTelegramError(n))s+=` (${n.status}: ${n.statusText})`;if(r&&n instanceof Error)s+=` ${n.message}`;throw new HttpError(s,n)}}},72394:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.requiresFormDataUpload=requiresFormDataUpload;r.createJsonPayload=createJsonPayload;r.createFormDataPayload=createFormDataPayload;const s=n(94217);const i=n(43227);function requiresFormDataUpload(e){return e instanceof i.InputFile||typeof e==="object"&&e!==null&&Object.values(e).some((e=>Array.isArray(e)?e.some(requiresFormDataUpload):e instanceof i.InputFile||requiresFormDataUpload(e)))}function str(e){return JSON.stringify(e,((e,r)=>r!==null&&r!==void 0?r:undefined))}function createJsonPayload(e){return{method:"POST",headers:{"content-type":"application/json",connection:"keep-alive"},body:str(e)}}async function*protectItr(e,r){try{yield*e}catch(e){r(e)}}function createFormDataPayload(e,r){const n=createBoundary();const i=payloadToMultipartItr(e,n);const o=protectItr(i,r);const c=(0,s.itrToStream)(o);return{method:"POST",headers:{"content-type":`multipart/form-data; boundary=${n}`,connection:"keep-alive"},body:c}}function createBoundary(){return"----------"+randomId(32)}function randomId(e=16){return Array.from(Array(e)).map((()=>Math.random().toString(36)[2]||0)).join("")}const o=new TextEncoder;async function*payloadToMultipartItr(e,r){const n=extractFiles(e);yield o.encode(`--${r}\r\n`);const s=o.encode(`\r\n--${r}\r\n`);let i=true;for(const[r,n]of Object.entries(e)){if(n==null)continue;if(!i)yield s;yield valuePart(r,typeof n==="object"?str(n):n);i=false}for(const{id:e,origin:r,file:o}of n){if(!i)yield s;yield*filePart(e,r,o);i=false}yield o.encode(`\r\n--${r}--\r\n`)}function extractFiles(e){if(typeof e!=="object"||e===null)return[];return Object.entries(e).flatMap((([r,n])=>{if(Array.isArray(n))return n.flatMap((e=>extractFiles(e)));else if(n instanceof i.InputFile){const s=randomId();Object.assign(e,{[r]:`attach://${s}`});const i=r==="media"&&"type"in e&&typeof e.type==="string"?e.type:r;return{id:s,origin:i,file:n}}else return extractFiles(n)}))}function valuePart(e,r){return o.encode(`content-disposition:form-data;name="${e}"\r\n\r\n${r}`)}async function*filePart(e,r,n){const s=n.filename||`${r}.${getExt(r)}`;if(s.includes("\r")||s.includes("\n")){throw new Error(`File paths cannot contain carriage-return (\\r) or newline (\\n) characters! Filename for property '${r}' was:\n"""\n${s}\n"""`)}yield o.encode(`content-disposition:form-data;name="${e}";filename=${s}\r\ncontent-type:application/octet-stream\r\n\r\n`);const i=await n.toRaw();if(i instanceof Uint8Array)yield i;else yield*i}function getExt(e){switch(e){case"certificate":return"pem";case"photo":case"thumbnail":return"jpg";case"voice":return"ogg";case"audio":return"mp3";case"animation":case"video":case"video_note":return"mp4";case"sticker":return"webp";default:return"dat"}}},5474:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.matchFilter=matchFilter;r.parse=parse;r.preprocess=preprocess;const n=new Map;function matchFilter(e){var r;const s=Array.isArray(e)?e:[e];const i=s.join(",");const o=(r=n.get(i))!==null&&r!==void 0?r:(()=>{const e=parse(s);const r=compile(e);n.set(i,r);return r})();return e=>o(e)}function parse(e){return Array.isArray(e)?e.map((e=>e.split(":"))):[e.split(":")]}function compile(e){const r=e.flatMap((e=>check(e,preprocess(e))));const n=treeify(r);const s=arborist(n);return e=>!!s(e.update,e)}function preprocess(e){const r=b;const n=[e].flatMap((e=>{const[n,s,i]=e;if(!(n in I))return[e];if(!n&&!s&&!i)return[e];const o=I[n];const c=o.map((e=>[e,s,i]));if(s===undefined)return c;if(s in v&&(s||i))return c;return c.filter((([e])=>{var n;return!!((n=r[e])===null||n===void 0?void 0:n[s])}))})).flatMap((e=>{const[n,s,i]=e;if(!(s in v))return[e];if(!s&&!i)return[e];const o=v[s];const c=o.map((e=>[n,e,i]));if(i===undefined)return c;return c.filter((([,e])=>{var s,o;return!!((o=(s=r[n])===null||s===void 0?void 0:s[e])===null||o===void 0?void 0:o[i])}))}));if(n.length===0){throw new Error(`Shortcuts in '${e.join(":")}' do not expand to any valid filter query`)}return n}function check(e,r){if(r.length===0)throw new Error("Empty filter query given");const n=r.map(checkOne).filter((e=>e!==true));if(n.length===0)return r;else if(n.length===1)throw new Error(n[0]);else{throw new Error(`Invalid filter query '${e.join(":")}'. There are ${n.length} errors after expanding the contained shortcuts: ${n.join("; ")}`)}}function checkOne(e){const[r,n,s,...i]=e;if(r===undefined)return"Empty filter query given";if(!(r in b)){const n=Object.keys(b);return`Invalid L1 filter '${r}' given in '${e.join(":")}'. Permitted values are: ${n.map((e=>`'${e}'`)).join(", ")}.`}if(n===undefined)return true;const o=b[r];if(!(n in o)){const r=Object.keys(o);return`Invalid L2 filter '${n}' given in '${e.join(":")}'. Permitted values are: ${r.map((e=>`'${e}'`)).join(", ")}.`}if(s===undefined)return true;const c=o[n];if(!(s in c)){const i=Object.keys(c);return`Invalid L3 filter '${s}' given in '${e.join(":")}'. ${i.length===0?`No further filtering is possible after '${r}:${n}'.`:`Permitted values are: ${i.map((e=>`'${e}'`)).join(", ")}.`}`}if(i.length===0)return true;return`Cannot filter further than three levels, ':${i.join(":")}' is invalid!`}function treeify(e){var r,n;const s={};for(const[i,o,c]of e){const e=(r=s[i])!==null&&r!==void 0?r:s[i]={};if(o!==undefined){const r=(n=e[o])!==null&&n!==void 0?n:e[o]=new Set;if(c!==undefined)r.add(c)}}return s}function or(e,r){return(n,s)=>e(n,s)||r(n,s)}function concat(e,r){return(n,s)=>{const i=e(n,s);return i&&r(i,s)}}function leaf(e){return(r,n)=>e(r,n)!=null}function arborist(e){const r=Object.entries(e).map((([e,r])=>{const l1Pred=r=>r[e];const n=Object.entries(r).map((([e,r])=>{const l2Pred=r=>r[e];const n=Array.from(r).map((e=>{const r=e==="me"?(e,r)=>{const n=r.me.id;return testMaybeArray(e,(e=>e.id===n))}:r=>testMaybeArray(r,(r=>r[e]||r.type===e));return r}));return n.length===0?leaf(l2Pred):concat(l2Pred,n.reduce(or))}));return n.length===0?leaf(l1Pred):concat(l1Pred,n.reduce(or))}));if(r.length===0){throw new Error("Cannot create filter function for empty query")}return r.reduce(or)}function testMaybeArray(e,r){const p=e=>e!=null&&r(e);return Array.isArray(e)?e.some(p):p(e)}const s={mention:{},hashtag:{},cashtag:{},bot_command:{},url:{},email:{},phone_number:{},bold:{},italic:{},underline:{},strikethrough:{},spoiler:{},blockquote:{},expandable_blockquote:{},code:{},pre:{},text_link:{},text_mention:{},custom_emoji:{}};const i={me:{},is_bot:{},is_premium:{},added_to_attachment_menu:{}};const o={user:{},hidden_user:{},chat:{},channel:{}};const c={is_video:{},is_animated:{},premium_animation:{}};const u={emoji:{},custom_emoji:{},paid:{}};const d={forward_origin:o,is_topic_message:{},is_automatic_forward:{},business_connection_id:{},text:{},animation:{},audio:{},document:{},photo:{},sticker:c,story:{},video:{},video_note:{},voice:{},contact:{},dice:{},game:{},poll:{},venue:{},location:{},paid_media:{},entities:s,caption_entities:s,caption:{},effect_id:{},has_media_spoiler:{},new_chat_title:{},new_chat_photo:{},delete_chat_photo:{},message_auto_delete_timer_changed:{},pinned_message:{},chat_background_set:{},invoice:{},proximity_alert_triggered:{},video_chat_scheduled:{},video_chat_started:{},video_chat_ended:{},video_chat_participants_invited:{},web_app_data:{}};const A={...d,sender_boost_count:{},new_chat_members:i,left_chat_member:i,group_chat_created:{},supergroup_chat_created:{},migrate_to_chat_id:{},migrate_from_chat_id:{},successful_payment:{},refunded_payment:{},boost_added:{},users_shared:{},chat_shared:{},connected_website:{},write_access_allowed:{},passport_data:{},forum_topic_created:{},forum_topic_edited:{name:{},icon_custom_emoji_id:{}},forum_topic_closed:{},forum_topic_reopened:{},general_forum_topic_hidden:{},general_forum_topic_unhidden:{}};const h={...d,channel_chat_created:{}};const g={can_reply:{},is_enabled:{}};const m={old_reaction:u,new_reaction:u};const y={reactions:u};const E={data:{},game_short_name:{}};const _={from:i};const b={message:A,edited_message:A,channel_post:h,edited_channel_post:h,business_connection:g,business_message:A,edited_business_message:A,deleted_business_messages:{},inline_query:{},chosen_inline_result:{},callback_query:E,shipping_query:{},pre_checkout_query:{},poll:{},poll_answer:{},my_chat_member:_,chat_member:_,chat_join_request:{},message_reaction:m,message_reaction_count:y,chat_boost:{},removed_chat_boost:{}};const I={"":["message","channel_post"],msg:["message","channel_post"],edit:["edited_message","edited_channel_post"]};const v={"":["entities","caption_entities"],media:["photo","video"],file:["photo","animation","audio","document","video","video_note","voice","sticker"]}},53278:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.HttpError=r.GrammyError=r.Api=r.matchFilter=r.Composer=r.Context=r.InputFile=r.BotError=r.Bot=void 0;var o=n(49091);Object.defineProperty(r,"Bot",{enumerable:true,get:function(){return o.Bot}});Object.defineProperty(r,"BotError",{enumerable:true,get:function(){return o.BotError}});var c=n(43227);Object.defineProperty(r,"InputFile",{enumerable:true,get:function(){return c.InputFile}});var u=n(30913);Object.defineProperty(r,"Context",{enumerable:true,get:function(){return u.Context}});i(n(43831),r);i(n(45050),r);i(n(11361),r);i(n(17697),r);i(n(77058),r);i(n(95087),r);var d=n(70722);Object.defineProperty(r,"Composer",{enumerable:true,get:function(){return d.Composer}});var A=n(5474);Object.defineProperty(r,"matchFilter",{enumerable:true,get:function(){return A.matchFilter}});var h=n(20072);Object.defineProperty(r,"Api",{enumerable:true,get:function(){return h.Api}});var g=n(62734);Object.defineProperty(r,"GrammyError",{enumerable:true,get:function(){return g.GrammyError}});Object.defineProperty(r,"HttpError",{enumerable:true,get:function(){return g.HttpError}})},94217:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.defaultAdapter=r.itrToStream=r.debug=void 0;r.baseFetchConfig=baseFetchConfig;const s=n(58611);const i=n(65692);const o=n(2203);var c=n(2830);Object.defineProperty(r,"debug",{enumerable:true,get:function(){return c.debug}});const itrToStream=e=>o.Readable.from(e,{objectMode:false});r.itrToStream=itrToStream;const u=new Map;const d=new Map;function getCached(e,r,n){let s=e.get(r);if(s===undefined){s=n();e.set(r,s)}return s}function baseFetchConfig(e){if(e.startsWith("https:")){return{compress:true,agent:getCached(d,e,(()=>new i.Agent({keepAlive:true})))}}else if(e.startsWith("http:")){return{agent:getCached(u,e,(()=>new s.Agent({keepAlive:true})))}}else return{}}r.defaultAdapter="express"},39243:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.fetch=r.AbortController=void 0;var s=n(17413);Object.defineProperty(r,"AbortController",{enumerable:true,get:function(){return s.AbortController}});var i=n(49086);Object.defineProperty(r,"fetch",{enumerable:true,get:function(){return i.default}})},43227:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(74045),r)},74045:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.InputFile=void 0;const o=n(79896);const c=n(49086);const u=n(16928);const d=n(94217);const A=(0,d.debug)("grammy:warn");i(n(51860),r);class InputFile{constructor(e,r){this.consumed=false;this.fileData=e;r!==null&&r!==void 0?r:r=this.guessFilename(e);this.filename=r;if(typeof e==="string"&&(e.startsWith("http:")||e.startsWith("https:"))){A(`InputFile received the local file path '${e}' that looks like a URL. Is this a mistake?`)}}guessFilename(e){if(typeof e==="string")return(0,u.basename)(e);if("url"in e)return(0,u.basename)(e.url);if(!(e instanceof URL))return undefined;if(e.pathname!=="/"){const r=(0,u.basename)(e.pathname);if(r)return r}return(0,u.basename)(e.hostname)}async toRaw(){if(this.consumed){throw new Error("Cannot reuse InputFile data source!")}const e=this.fileData;if(typeof e==="string")return(0,o.createReadStream)(e);if(e instanceof URL){return e.protocol==="file"?(0,o.createReadStream)(e.pathname):fetchFile(e)}if("url"in e)return fetchFile(e.url);if(e instanceof Uint8Array)return e;if(typeof e==="function"){return new InputFile(await e()).toRaw()}this.consumed=true;return e}}r.InputFile=InputFile;async function*fetchFile(e){const{body:r}=await(0,c.default)(e);for await(const n of r){if(typeof n==="string"){throw new Error(`Could not transfer file, received string data instead of bytes from '${e}'`)}yield n}}},83813:e=>{e.exports=(e,r=process.argv)=>{const n=e.startsWith("-")?"":e.length===1?"-":"--";const s=r.indexOf(n+e);const i=r.indexOf("--");return s!==-1&&(i===-1||s0&&u[e].has(s=this.stack[this.stack.length-1])){this.onclosetag(s)}}if(this.options.xmlMode||!d.has(e)){this.stack.push(e);if(A.has(e)){this.foreignContext.push(true)}else if(h.has(e)){this.foreignContext.push(false)}}(n=(r=this.cbs).onopentagname)===null||n===void 0?void 0:n.call(r,e);if(this.cbs.onopentag)this.attribs={}};Parser.prototype.onopentagend=function(){var e,r;this.updatePosition(1);if(this.attribs){(r=(e=this.cbs).onopentag)===null||r===void 0?void 0:r.call(e,this.tagname,this.attribs);this.attribs=null}if(!this.options.xmlMode&&this.cbs.onclosetag&&d.has(this.tagname)){this.cbs.onclosetag(this.tagname)}this.tagname=""};Parser.prototype.onclosetag=function(e){this.updatePosition(1);if(this.lowerCaseTagNames){e=e.toLowerCase()}if(A.has(e)||h.has(e)){this.foreignContext.pop()}if(this.stack.length&&(this.options.xmlMode||!d.has(e))){var r=this.stack.lastIndexOf(e);if(r!==-1){if(this.cbs.onclosetag){r=this.stack.length-r;while(r--){this.cbs.onclosetag(this.stack.pop())}}else this.stack.length=r}else if(e==="p"&&!this.options.xmlMode){this.onopentagname(e);this.closeCurrentTag()}}else if(!this.options.xmlMode&&(e==="br"||e==="p")){this.onopentagname(e);this.closeCurrentTag()}};Parser.prototype.onselfclosingtag=function(){if(this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]){this.closeCurrentTag()}else{this.onopentagend()}};Parser.prototype.closeCurrentTag=function(){var e,r;var n=this.tagname;this.onopentagend();if(this.stack[this.stack.length-1]===n){(r=(e=this.cbs).onclosetag)===null||r===void 0?void 0:r.call(e,n);this.stack.pop()}};Parser.prototype.onattribname=function(e){if(this.lowerCaseAttributeNames){e=e.toLowerCase()}this.attribname=e};Parser.prototype.onattribdata=function(e){this.attribvalue+=e};Parser.prototype.onattribend=function(e){var r,n;(n=(r=this.cbs).onattribute)===null||n===void 0?void 0:n.call(r,this.attribname,this.attribvalue,e);if(this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)){this.attribs[this.attribname]=this.attribvalue}this.attribname="";this.attribvalue=""};Parser.prototype.getInstructionName=function(e){var r=e.search(g);var n=r<0?e:e.substr(0,r);if(this.lowerCaseTagNames){n=n.toLowerCase()}return n};Parser.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+r,"!"+e)}};Parser.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+r,"?"+e)}};Parser.prototype.oncomment=function(e){var r,n,s,i;this.updatePosition(4);(n=(r=this.cbs).oncomment)===null||n===void 0?void 0:n.call(r,e);(i=(s=this.cbs).oncommentend)===null||i===void 0?void 0:i.call(s)};Parser.prototype.oncdata=function(e){var r,n,s,i,o,c;this.updatePosition(1);if(this.options.xmlMode||this.options.recognizeCDATA){(n=(r=this.cbs).oncdatastart)===null||n===void 0?void 0:n.call(r);(i=(s=this.cbs).ontext)===null||i===void 0?void 0:i.call(s,e);(c=(o=this.cbs).oncdataend)===null||c===void 0?void 0:c.call(o)}else{this.oncomment("[CDATA["+e+"]]")}};Parser.prototype.onerror=function(e){var r,n;(n=(r=this.cbs).onerror)===null||n===void 0?void 0:n.call(r,e)};Parser.prototype.onend=function(){var e,r;if(this.cbs.onclosetag){for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));}(r=(e=this.cbs).onend)===null||r===void 0?void 0:r.call(e)};Parser.prototype.reset=function(){var e,r,n,s;(r=(e=this.cbs).onreset)===null||r===void 0?void 0:r.call(e);this.tokenizer.reset();this.tagname="";this.attribname="";this.attribs=null;this.stack=[];(s=(n=this.cbs).onparserinit)===null||s===void 0?void 0:s.call(n,this)};Parser.prototype.parseComplete=function(e){this.reset();this.end(e)};Parser.prototype.write=function(e){this.tokenizer.write(e)};Parser.prototype.end=function(e){this.tokenizer.end(e)};Parser.prototype.pause=function(){this.tokenizer.pause()};Parser.prototype.resume=function(){this.tokenizer.resume()};Parser.prototype.parseChunk=function(e){this.write(e)};Parser.prototype.done=function(e){this.end(e)};return Parser}();r.Parser=m},54341:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});var i=s(n(74487));var o=s(n(94374));var c=s(n(51554));var u=s(n(57178));function whitespace(e){return e===" "||e==="\n"||e==="\t"||e==="\f"||e==="\r"}function isASCIIAlpha(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function ifElseState(e,r,n){var s=e.toLowerCase();if(e===s){return function(e,i){if(i===s){e._state=r}else{e._state=n;e._index--}}}return function(i,o){if(o===s||o===e){i._state=r}else{i._state=n;i._index--}}}function consumeSpecialNameChar(e,r){var n=e.toLowerCase();return function(s,i){if(i===n||i===e){s._state=r}else{s._state=3;s._index--}}}var d=ifElseState("C",24,16);var A=ifElseState("D",25,16);var h=ifElseState("A",26,16);var g=ifElseState("T",27,16);var m=ifElseState("A",28,16);var y=consumeSpecialNameChar("R",35);var E=consumeSpecialNameChar("I",36);var _=consumeSpecialNameChar("P",37);var b=consumeSpecialNameChar("T",38);var I=ifElseState("R",40,1);var v=ifElseState("I",41,1);var C=ifElseState("P",42,1);var w=ifElseState("T",43,1);var B=consumeSpecialNameChar("Y",45);var S=consumeSpecialNameChar("L",46);var T=consumeSpecialNameChar("E",47);var k=ifElseState("Y",49,1);var R=ifElseState("L",50,1);var Q=ifElseState("E",51,1);var P=consumeSpecialNameChar("I",54);var O=consumeSpecialNameChar("T",55);var D=consumeSpecialNameChar("L",56);var F=consumeSpecialNameChar("E",57);var M=ifElseState("I",58,1);var x=ifElseState("T",59,1);var U=ifElseState("L",60,1);var N=ifElseState("E",61,1);var L=ifElseState("#",63,64);var G=ifElseState("X",66,65);var j=function(){function Tokenizer(e,r){var n;this._state=1;this.buffer="";this.sectionStart=0;this._index=0;this.bufferOffset=0;this.baseState=1;this.special=1;this.running=true;this.ended=false;this.cbs=r;this.xmlMode=!!(e===null||e===void 0?void 0:e.xmlMode);this.decodeEntities=(n=e===null||e===void 0?void 0:e.decodeEntities)!==null&&n!==void 0?n:true}Tokenizer.prototype.reset=function(){this._state=1;this.buffer="";this.sectionStart=0;this._index=0;this.bufferOffset=0;this.baseState=1;this.special=1;this.running=true;this.ended=false};Tokenizer.prototype.write=function(e){if(this.ended)this.cbs.onerror(Error(".write() after done!"));this.buffer+=e;this.parse()};Tokenizer.prototype.end=function(e){if(this.ended)this.cbs.onerror(Error(".end() after done!"));if(e)this.write(e);this.ended=true;if(this.running)this.finish()};Tokenizer.prototype.pause=function(){this.running=false};Tokenizer.prototype.resume=function(){this.running=true;if(this._indexthis.sectionStart){this.cbs.ontext(this.getSection())}this._state=2;this.sectionStart=this._index}else if(this.decodeEntities&&e==="&"&&(this.special===1||this.special===4)){if(this._index>this.sectionStart){this.cbs.ontext(this.getSection())}this.baseState=1;this._state=62;this.sectionStart=this._index}};Tokenizer.prototype.isTagStartChar=function(e){return isASCIIAlpha(e)||this.xmlMode&&!whitespace(e)&&e!=="/"&&e!==">"};Tokenizer.prototype.stateBeforeTagName=function(e){if(e==="/"){this._state=5}else if(e==="<"){this.cbs.ontext(this.getSection());this.sectionStart=this._index}else if(e===">"||this.special!==1||whitespace(e)){this._state=1}else if(e==="!"){this._state=15;this.sectionStart=this._index+1}else if(e==="?"){this._state=17;this.sectionStart=this._index+1}else if(!this.isTagStartChar(e)){this._state=1}else{this._state=!this.xmlMode&&(e==="s"||e==="S")?32:!this.xmlMode&&(e==="t"||e==="T")?52:3;this.sectionStart=this._index}};Tokenizer.prototype.stateInTagName=function(e){if(e==="/"||e===">"||whitespace(e)){this.emitToken("onopentagname");this._state=8;this._index--}};Tokenizer.prototype.stateBeforeClosingTagName=function(e){if(whitespace(e)){}else if(e===">"){this._state=1}else if(this.special!==1){if(this.special!==4&&(e==="s"||e==="S")){this._state=33}else if(this.special===4&&(e==="t"||e==="T")){this._state=53}else{this._state=1;this._index--}}else if(!this.isTagStartChar(e)){this._state=20;this.sectionStart=this._index}else{this._state=6;this.sectionStart=this._index}};Tokenizer.prototype.stateInClosingTagName=function(e){if(e===">"||whitespace(e)){this.emitToken("onclosetag");this._state=7;this._index--}};Tokenizer.prototype.stateAfterClosingTagName=function(e){if(e===">"){this._state=1;this.sectionStart=this._index+1}};Tokenizer.prototype.stateBeforeAttributeName=function(e){if(e===">"){this.cbs.onopentagend();this._state=1;this.sectionStart=this._index+1}else if(e==="/"){this._state=4}else if(!whitespace(e)){this._state=9;this.sectionStart=this._index}};Tokenizer.prototype.stateInSelfClosingTag=function(e){if(e===">"){this.cbs.onselfclosingtag();this._state=1;this.sectionStart=this._index+1;this.special=1}else if(!whitespace(e)){this._state=8;this._index--}};Tokenizer.prototype.stateInAttributeName=function(e){if(e==="="||e==="/"||e===">"||whitespace(e)){this.cbs.onattribname(this.getSection());this.sectionStart=-1;this._state=10;this._index--}};Tokenizer.prototype.stateAfterAttributeName=function(e){if(e==="="){this._state=11}else if(e==="/"||e===">"){this.cbs.onattribend(undefined);this._state=8;this._index--}else if(!whitespace(e)){this.cbs.onattribend(undefined);this._state=9;this.sectionStart=this._index}};Tokenizer.prototype.stateBeforeAttributeValue=function(e){if(e==='"'){this._state=12;this.sectionStart=this._index+1}else if(e==="'"){this._state=13;this.sectionStart=this._index+1}else if(!whitespace(e)){this._state=14;this.sectionStart=this._index;this._index--}};Tokenizer.prototype.handleInAttributeValue=function(e,r){if(e===r){this.emitToken("onattribdata");this.cbs.onattribend(r);this._state=8}else if(this.decodeEntities&&e==="&"){this.emitToken("onattribdata");this.baseState=this._state;this._state=62;this.sectionStart=this._index}};Tokenizer.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')};Tokenizer.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")};Tokenizer.prototype.stateInAttributeValueNoQuotes=function(e){if(whitespace(e)||e===">"){this.emitToken("onattribdata");this.cbs.onattribend(null);this._state=8;this._index--}else if(this.decodeEntities&&e==="&"){this.emitToken("onattribdata");this.baseState=this._state;this._state=62;this.sectionStart=this._index}};Tokenizer.prototype.stateBeforeDeclaration=function(e){this._state=e==="["?23:e==="-"?18:16};Tokenizer.prototype.stateInDeclaration=function(e){if(e===">"){this.cbs.ondeclaration(this.getSection());this._state=1;this.sectionStart=this._index+1}};Tokenizer.prototype.stateInProcessingInstruction=function(e){if(e===">"){this.cbs.onprocessinginstruction(this.getSection());this._state=1;this.sectionStart=this._index+1}};Tokenizer.prototype.stateBeforeComment=function(e){if(e==="-"){this._state=19;this.sectionStart=this._index+1}else{this._state=16}};Tokenizer.prototype.stateInComment=function(e){if(e==="-")this._state=21};Tokenizer.prototype.stateInSpecialComment=function(e){if(e===">"){this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index));this._state=1;this.sectionStart=this._index+1}};Tokenizer.prototype.stateAfterComment1=function(e){if(e==="-"){this._state=22}else{this._state=19}};Tokenizer.prototype.stateAfterComment2=function(e){if(e===">"){this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2));this._state=1;this.sectionStart=this._index+1}else if(e!=="-"){this._state=19}};Tokenizer.prototype.stateBeforeCdata6=function(e){if(e==="["){this._state=29;this.sectionStart=this._index+1}else{this._state=16;this._index--}};Tokenizer.prototype.stateInCdata=function(e){if(e==="]")this._state=30};Tokenizer.prototype.stateAfterCdata1=function(e){if(e==="]")this._state=31;else this._state=29};Tokenizer.prototype.stateAfterCdata2=function(e){if(e===">"){this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2));this._state=1;this.sectionStart=this._index+1}else if(e!=="]"){this._state=29}};Tokenizer.prototype.stateBeforeSpecialS=function(e){if(e==="c"||e==="C"){this._state=34}else if(e==="t"||e==="T"){this._state=44}else{this._state=3;this._index--}};Tokenizer.prototype.stateBeforeSpecialSEnd=function(e){if(this.special===2&&(e==="c"||e==="C")){this._state=39}else if(this.special===3&&(e==="t"||e==="T")){this._state=48}else this._state=1};Tokenizer.prototype.stateBeforeSpecialLast=function(e,r){if(e==="/"||e===">"||whitespace(e)){this.special=r}this._state=3;this._index--};Tokenizer.prototype.stateAfterSpecialLast=function(e,r){if(e===">"||whitespace(e)){this.special=1;this._state=6;this.sectionStart=this._index-r;this._index--}else this._state=1};Tokenizer.prototype.parseFixedEntity=function(e){if(e===void 0){e=this.xmlMode?u.default:o.default}if(this.sectionStart+1=2){var n=this.buffer.substr(e,r);if(Object.prototype.hasOwnProperty.call(c.default,n)){this.emitPartial(c.default[n]);this.sectionStart+=r+1;return}r--}};Tokenizer.prototype.stateInNamedEntity=function(e){if(e===";"){this.parseFixedEntity();if(this.baseState===1&&this.sectionStart+1"9")&&!isASCIIAlpha(e)){if(this.xmlMode||this.sectionStart+1===this._index){}else if(this.baseState!==1){if(e!=="="){this.parseFixedEntity(c.default)}}else{this.parseLegacyEntity()}this._state=this.baseState;this._index--}};Tokenizer.prototype.decodeNumericEntity=function(e,r,n){var s=this.sectionStart+e;if(s!==this._index){var o=this.buffer.substring(s,this._index);var c=parseInt(o,r);this.emitPartial(i.default(c));this.sectionStart=n?this._index+1:this._index}this._state=this.baseState};Tokenizer.prototype.stateInNumericEntity=function(e){if(e===";"){this.decodeNumericEntity(2,10,true)}else if(e<"0"||e>"9"){if(!this.xmlMode){this.decodeNumericEntity(2,10,false)}else{this._state=this.baseState}this._index--}};Tokenizer.prototype.stateInHexEntity=function(e){if(e===";"){this.decodeNumericEntity(3,16,true)}else if((e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")){if(!this.xmlMode){this.decodeNumericEntity(3,16,false)}else{this._state=this.baseState}this._index--}};Tokenizer.prototype.cleanup=function(){if(this.sectionStart<0){this.buffer="";this.bufferOffset+=this._index;this._index=0}else if(this.running){if(this._state===1){if(this.sectionStart!==this._index){this.cbs.ontext(this.buffer.substr(this.sectionStart))}this.buffer="";this.bufferOffset+=this._index;this._index=0}else if(this.sectionStart===this._index){this.buffer="";this.bufferOffset+=this._index;this._index=0}else{this.buffer=this.buffer.substr(this.sectionStart);this._index-=this.sectionStart;this.bufferOffset+=this.sectionStart}this.sectionStart=0}};Tokenizer.prototype.parse=function(){while(this._index{ +/** + * @preserve + * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013) + * + * @author Jens Taylor + * @see http://github.com/homebrewing/brauhaus-diff + * @author Gary Court + * @see http://github.com/garycourt/murmurhash-js + * @author Austin Appleby + * @see http://sites.google.com/site/murmurhash/ + */ +(function(){var r;function MurmurHash3(e,n){var s=this instanceof MurmurHash3?this:r;s.reset(n);if(typeof e==="string"&&e.length>0){s.hash(e)}if(s!==this){return s}}MurmurHash3.prototype.hash=function(e){var r,n,s,i,o;o=e.length;this.len+=o;n=this.k1;s=0;switch(this.rem){case 0:n^=o>s?e.charCodeAt(s++)&65535:0;case 1:n^=o>s?(e.charCodeAt(s++)&65535)<<8:0;case 2:n^=o>s?(e.charCodeAt(s++)&65535)<<16:0;case 3:n^=o>s?(e.charCodeAt(s)&255)<<24:0;n^=o>s?(e.charCodeAt(s++)&65280)>>8:0}this.rem=o+this.rem&3;o-=this.rem;if(o>0){r=this.h1;while(1){n=n*11601+(n&65535)*3432906752&4294967295;n=n<<15|n>>>17;n=n*13715+(n&65535)*461832192&4294967295;r^=n;r=r<<13|r>>>19;r=r*5+3864292196&4294967295;if(s>=o){break}n=e.charCodeAt(s++)&65535^(e.charCodeAt(s++)&65535)<<8^(e.charCodeAt(s++)&65535)<<16;i=e.charCodeAt(s++);n^=(i&255)<<24^(i&65280)>>8}n=0;switch(this.rem){case 3:n^=(e.charCodeAt(s+2)&65535)<<16;case 2:n^=(e.charCodeAt(s+1)&65535)<<8;case 1:n^=e.charCodeAt(s)&65535}this.h1=r}this.k1=n;return this};MurmurHash3.prototype.result=function(){var e,r;e=this.k1;r=this.h1;if(e>0){e=e*11601+(e&65535)*3432906752&4294967295;e=e<<15|e>>>17;e=e*13715+(e&65535)*461832192&4294967295;r^=e}r^=this.len;r^=r>>>16;r=r*51819+(r&65535)*2246770688&4294967295;r^=r>>>13;r=r*44597+(r&65535)*3266445312&4294967295;r^=r>>>16;return r>>>0};MurmurHash3.prototype.reset=function(e){this.h1=typeof e==="number"?e:0;this.rem=this.k1=this.len=0;return this};r=new MurmurHash3;if(true){e.exports=MurmurHash3}else{}})()},68850:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.AddressError=void 0;class AddressError extends Error{constructor(e,r){super(e);this.name="AddressError";if(r!==null){this.parseMessage=r}}}r.AddressError=AddressError},45864:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isCorrect=r.isInSubnet=void 0;function isInSubnet(e){if(this.subnetMasku.BITS){throw new d.AddressError("Invalid subnet mask.")}e=e.replace(u.RE_SUBNET_STRING,"")}this.addressMinusSuffix=e;this.parsedAddress=this.parse(e)}static isValid(e){try{new Address4(e);return true}catch(e){return false}}parse(e){const r=e.split(".");if(!e.match(u.RE_ADDRESS)){throw new d.AddressError("Invalid IPv4 address.")}return r}correctForm(){return this.parsedAddress.map((e=>parseInt(e,10))).join(".")}static fromHex(e){const r=e.replace(/:/g,"").padStart(8,"0");const n=[];let s;for(s=0;s<8;s+=2){const e=r.slice(s,s+2);n.push(parseInt(e,16))}return new Address4(n.join("."))}static fromInteger(e){return Address4.fromHex(e.toString(16))}static fromArpa(e){const r=e.replace(/(\.in-addr\.arpa)?\.$/,"");const n=r.split(".").reverse().join(".");return new Address4(n)}toHex(){return this.parsedAddress.map((e=>(0,h.sprintf)("%02x",parseInt(e,10)))).join(":")}toArray(){return this.parsedAddress.map((e=>parseInt(e,10)))}toGroup6(){const e=[];let r;for(r=0;r(0,h.sprintf)("%02x",parseInt(e,10)))).join(""),16)}_startAddress(){return new A.BigInteger(this.mask()+"0".repeat(u.BITS-this.subnetMask),2)}startAddress(){return Address4.fromBigInteger(this._startAddress())}startAddressExclusive(){const e=new A.BigInteger("1");return Address4.fromBigInteger(this._startAddress().add(e))}_endAddress(){return new A.BigInteger(this.mask()+"1".repeat(u.BITS-this.subnetMask),2)}endAddress(){return Address4.fromBigInteger(this._endAddress())}endAddressExclusive(){const e=new A.BigInteger("1");return Address4.fromBigInteger(this._endAddress().subtract(e))}static fromBigInteger(e){return Address4.fromInteger(parseInt(e.toString(),10))}mask(e){if(e===undefined){e=this.subnetMask}return this.getBitsBase2(0,e)}getBitsBase2(e,r){return this.binaryZeroPad().slice(e,r)}reverseForm(e){if(!e){e={}}const r=this.correctForm().split(".").reverse().join(".");if(e.omitSuffix){return r}return(0,h.sprintf)("%s.in-addr.arpa.",r)}isMulticast(){return this.isInSubnet(new Address4("224.0.0.0/4"))}binaryZeroPad(){return this.bigInteger().toString(2).padStart(u.BITS,"0")}groupForV6(){const e=this.parsedAddress;return this.address.replace(u.RE_ADDRESS,(0,h.sprintf)('%s.%s',e.slice(0,2).join("."),e.slice(2,4).join(".")))}}r.Address4=Address4},38096:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.Address6=void 0;const c=o(n(45864));const u=o(n(66437));const d=o(n(52899));const A=o(n(20339));const h=n(17946);const g=n(72016);const m=n(68850);const y=n(95947);const E=n(19973);function assert(e){if(!e){throw new Error("Assertion failed.")}}function addCommas(e){const r=/(\d+)(\d{3})/;while(r.test(e)){e=e.replace(r,"$1,$2")}return e}function spanLeadingZeroes4(e){e=e.replace(/^(0{1,})([1-9]+)$/,'$1$2');e=e.replace(/^(0{1,})(0)$/,'$1$2');return e}function compact(e,r){const n=[];const s=[];let i;for(i=0;ir[1]){s.push(e[i])}}return n.concat(["compact"]).concat(s)}function paddedHex(e){return(0,E.sprintf)("%04x",parseInt(e,16))}function unsignByte(e){return e&255}class Address6{constructor(e,r){this.addressMinusSuffix="";this.parsedSubnet="";this.subnet="/128";this.subnetMask=128;this.v4=false;this.zone="";this.isInSubnet=c.isInSubnet;this.isCorrect=c.isCorrect(d.BITS);if(r===undefined){this.groups=d.GROUPS}else{this.groups=r}this.address=e;const n=d.RE_SUBNET_STRING.exec(e);if(n){this.parsedSubnet=n[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>d.BITS){throw new m.AddressError("Invalid subnet mask.")}e=e.replace(d.RE_SUBNET_STRING,"")}else if(/\//.test(e)){throw new m.AddressError("Invalid subnet mask.")}const s=d.RE_ZONE_STRING.exec(e);if(s){this.zone=s[0];e=e.replace(d.RE_ZONE_STRING,"")}this.addressMinusSuffix=e;this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(e){try{new Address6(e);return true}catch(e){return false}}static fromBigInteger(e){const r=e.toString(16).padStart(32,"0");const n=[];let s;for(s=0;s65536){n=null}}else{n=null}return{address:new Address6(r),port:n}}static fromAddress4(e){const r=new h.Address4(e);const n=d.BITS-(u.BITS-r.subnetMask);return new Address6(`::ffff:${r.correctForm()}/${n}`)}static fromArpa(e){let r=e.replace(/(\.ip6\.arpa)?\.$/,"");const n=7;if(r.length!==63){throw new m.AddressError("Invalid 'ip6.arpa' form.")}const s=r.split(".").reverse();for(let e=n;e>0;e--){const r=e*4;s.splice(r,0,":")}r=s.join("");return new Address6(r)}microsoftTranscription(){return(0,E.sprintf)("%s.ipv6-literal.net",this.correctForm().replace(/:/g,"-"))}mask(e=this.subnetMask){return this.getBitsBase2(0,e)}possibleSubnets(e=128){const r=d.BITS-this.subnetMask;const n=Math.abs(e-d.BITS);const s=r-n;if(s<0){return"0"}return addCommas(new y.BigInteger("2",10).pow(s).toString(10))}_startAddress(){return new y.BigInteger(this.mask()+"0".repeat(d.BITS-this.subnetMask),2)}startAddress(){return Address6.fromBigInteger(this._startAddress())}startAddressExclusive(){const e=new y.BigInteger("1");return Address6.fromBigInteger(this._startAddress().add(e))}_endAddress(){return new y.BigInteger(this.mask()+"1".repeat(d.BITS-this.subnetMask),2)}endAddress(){return Address6.fromBigInteger(this._endAddress())}endAddressExclusive(){const e=new y.BigInteger("1");return Address6.fromBigInteger(this._endAddress().subtract(e))}getScope(){let e=d.SCOPES[this.getBits(12,16).intValue()];if(this.getType()==="Global unicast"&&e!=="Link local"){e="Global"}return e||"Unknown"}getType(){for(const e of Object.keys(d.TYPES)){if(this.isInSubnet(new Address6(e))){return d.TYPES[e]}}return"Global unicast"}getBits(e,r){return new y.BigInteger(this.getBitsBase2(e,r),2)}getBitsBase2(e,r){return this.binaryZeroPad().slice(e,r)}getBitsBase16(e,r){const n=r-e;if(n%4!==0){throw new Error("Length of bits to retrieve must be divisible by four")}return this.getBits(e,r).toString(16).padStart(n/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,d.BITS)}reverseForm(e){if(!e){e={}}const r=Math.floor(this.subnetMask/4);const n=this.canonicalForm().replace(/:/g,"").split("").slice(0,r).reverse().join(".");if(r>0){if(e.omitSuffix){return n}return(0,E.sprintf)("%s.ip6.arpa.",n)}if(e.omitSuffix){return""}return"ip6.arpa."}correctForm(){let e;let r=[];let n=0;const s=[];for(e=0;e0){if(n>1){s.push([e-n,e-1])}n=0}}if(n>1){s.push([this.parsedAddress.length-n,this.parsedAddress.length-1])}const i=s.map((e=>e[1]-e[0]+1));if(s.length>0){const e=i.indexOf(Math.max(...i));r=compact(this.parsedAddress,s[e])}else{r=this.parsedAddress}for(e=0;e1?"s":"",r.join("")),e.replace(d.RE_BAD_CHARACTERS,'$1'))}const n=e.match(d.RE_BAD_ADDRESS);if(n){throw new m.AddressError((0,E.sprintf)("Address failed regex: %s",n.join("")),e.replace(d.RE_BAD_ADDRESS,'$1'))}let s=[];const i=e.split("::");if(i.length===2){let e=i[0].split(":");let r=i[1].split(":");if(e.length===1&&e[0]===""){e=[]}if(r.length===1&&r[0]===""){r=[]}const n=this.groups-(e.length+r.length);if(!n){throw new m.AddressError("Error parsing groups")}this.elidedGroups=n;this.elisionBegin=e.length;this.elisionEnd=e.length+this.elidedGroups;s=s.concat(e);for(let e=0;e(0,E.sprintf)("%x",parseInt(e,16))));if(s.length!==this.groups){throw new m.AddressError("Incorrect number of groups found")}return s}canonicalForm(){return this.parsedAddress.map(paddedHex).join(":")}decimal(){return this.parsedAddress.map((e=>(0,E.sprintf)("%05d",parseInt(e,16)))).join(":")}bigInteger(){return new y.BigInteger(this.parsedAddress.map(paddedHex).join(""),16)}to4(){const e=this.binaryZeroPad().split("");return h.Address4.fromHex(new y.BigInteger(e.slice(96,128).join(""),2).toString(16))}to4in6(){const e=this.to4();const r=new Address6(this.parsedAddress.slice(0,6).join(":"),6);const n=r.correctForm();let s="";if(!/:$/.test(n)){s=":"}return n+s+e.address}inspectTeredo(){const e=this.getBitsBase16(0,32);const r=this.getBits(80,96).xor(new y.BigInteger("ffff",16)).toString();const n=h.Address4.fromHex(this.getBitsBase16(32,64));const s=h.Address4.fromHex(this.getBits(96,128).xor(new y.BigInteger("ffffffff",16)).toString(16));const i=this.getBits(64,80);const o=this.getBitsBase2(64,80);const c=i.testBit(15);const u=i.testBit(14);const d=i.testBit(8);const A=i.testBit(9);const g=new y.BigInteger(o.slice(2,6)+o.slice(8,16),2).toString(10);return{prefix:(0,E.sprintf)("%s:%s",e.slice(0,4),e.slice(4,8)),server4:n.address,client4:s.address,flags:o,coneNat:c,microsoft:{reserved:u,universalLocal:A,groupIndividual:d,nonce:g},udpPort:r}}inspect6to4(){const e=this.getBitsBase16(0,16);const r=h.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:(0,E.sprintf)("%s",e.slice(0,4)),gateway:r.address}}to6to4(){if(!this.is4()){return null}const e=["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),"","/16"].join(":");return new Address6(e)}toByteArray(){const e=this.bigInteger().toByteArray();if(e.length===17&&e[0]===0){return e.slice(1)}return e}toUnsignedByteArray(){return this.toByteArray().map(unsignByte)}static fromByteArray(e){return this.fromUnsignedByteArray(e.map(unsignByte))}static fromUnsignedByteArray(e){const r=new y.BigInteger("256",10);let n=new y.BigInteger("0",10);let s=new y.BigInteger("1",10);for(let i=e.length-1;i>=0;i--){n=n.add(s.multiply(new y.BigInteger(e[i].toString(10),10)));s=s.multiply(r)}return Address6.fromBigInteger(n)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){if(this.getBitsBase2(0,64)==="1111111010000000000000000000000000000000000000000000000000000000"){return true}return false}isMulticast(){return this.getType()==="Multicast"}is4(){return this.v4}isTeredo(){return this.isInSubnet(new Address6("2001::/32"))}is6to4(){return this.isInSubnet(new Address6("2002::/16"))}isLoopback(){return this.getType()==="Loopback"}href(e){if(e===undefined){e=""}else{e=(0,E.sprintf)(":%s",e)}return(0,E.sprintf)("http://[%s]%s/",this.correctForm(),e)}link(e){if(!e){e={}}if(e.className===undefined){e.className=""}if(e.prefix===undefined){e.prefix="/#address="}if(e.v4===undefined){e.v4=false}let r=this.correctForm;if(e.v4){r=this.to4in6}if(e.className){return(0,E.sprintf)('%2$s',e.prefix,r.call(this),e.className)}return(0,E.sprintf)('%2$s',e.prefix,r.call(this))}group(){if(this.elidedGroups===0){return A.simpleGroup(this.address).join(":")}assert(typeof this.elidedGroups==="number");assert(typeof this.elisionBegin==="number");const e=[];const[r,n]=this.address.split("::");if(r.length){e.push(...A.simpleGroup(r))}else{e.push("")}const s=["hover-group"];for(let e=this.elisionBegin;e',s.join(" ")));if(n.length){e.push(...A.simpleGroup(n,this.elisionEnd))}else{e.push("")}if(this.is4()){assert(this.address4 instanceof h.Address4);e.pop();e.push(this.address4.groupForV6())}return e.join(":")}regularExpressionString(e=false){let r=[];const n=new Address6(this.correctForm());if(n.elidedGroups===0){r.push((0,g.simpleRegularExpression)(n.parsedAddress))}else if(n.elidedGroups===d.GROUPS){r.push((0,g.possibleElisions)(d.GROUPS))}else{const e=n.address.split("::");if(e[0].length){r.push((0,g.simpleRegularExpression)(e[0].split(":")))}assert(typeof n.elidedGroups==="number");r.push((0,g.possibleElisions)(n.elidedGroups,e[0].length!==0,e[1].length!==0));if(e[1].length){r.push((0,g.simpleRegularExpression)(e[1].split(":")))}r=[r.join(":")]}if(!e){r=["(?=^|",g.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...r,")(?=[^\\w\\:]|",g.ADDRESS_BOUNDARY,"|$)"]}return r.join("")}regularExpression(e=false){return new RegExp(this.regularExpressionString(e),"i")}}r.Address6=Address6},66437:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.RE_SUBNET_STRING=r.RE_ADDRESS=r.GROUPS=r.BITS=void 0;r.BITS=32;r.GROUPS=4;r.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;r.RE_SUBNET_STRING=/\/\d{1,2}$/},52899:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.RE_URL_WITH_PORT=r.RE_URL=r.RE_ZONE_STRING=r.RE_SUBNET_STRING=r.RE_BAD_ADDRESS=r.RE_BAD_CHARACTERS=r.TYPES=r.SCOPES=r.GROUPS=r.BITS=void 0;r.BITS=128;r.GROUPS=8;r.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"};r.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","ff00::/8":"Multicast","fe80::/10":"Link-local unicast"};r.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi;r.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi;r.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/;r.RE_ZONE_STRING=/%.*$/;r.RE_URL=new RegExp(/^\[{0,1}([0-9a-f:]+)\]{0,1}/);r.RE_URL_WITH_PORT=new RegExp(/\[([0-9a-f:]+)\]:([0-9]{1,5})/)},20339:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.simpleGroup=r.spanLeadingZeroes=r.spanAll=r.spanAllZeroes=void 0;const s=n(19973);function spanAllZeroes(e){return e.replace(/(0+)/g,'$1')}r.spanAllZeroes=spanAllZeroes;function spanAll(e,r=0){const n=e.split("");return n.map(((e,n)=>(0,s.sprintf)('%s',e,n+r,spanAllZeroes(e)))).join("")}r.spanAll=spanAll;function spanLeadingZeroesSimple(e){return e.replace(/^(0+)/,'$1')}function spanLeadingZeroes(e){const r=e.split(":");return r.map((e=>spanLeadingZeroesSimple(e))).join(":")}r.spanLeadingZeroes=spanLeadingZeroes;function simpleGroup(e,r=0){const n=e.split(":");return n.map(((e,n)=>{if(/group-v4/.test(e)){return e}return(0,s.sprintf)('%s',n+r,spanLeadingZeroesSimple(e))}))}r.simpleGroup=simpleGroup},72016:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.possibleElisions=r.simpleRegularExpression=r.ADDRESS_BOUNDARY=r.padGroup=r.groupPossibilities=void 0;const c=o(n(52899));const u=n(19973);function groupPossibilities(e){return(0,u.sprintf)("(%s)",e.join("|"))}r.groupPossibilities=groupPossibilities;function padGroup(e){if(e.length<4){return(0,u.sprintf)("0{0,%d}%s",4-e.length,e)}return e}r.padGroup=padGroup;r.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]";function simpleRegularExpression(e){const r=[];e.forEach(((e,n)=>{const s=parseInt(e,16);if(s===0){r.push(n)}}));const n=r.map((r=>e.map(((e,n)=>{if(n===r){const r=n===0||n===c.GROUPS-1?":":"";return groupPossibilities([padGroup(e),r])}return padGroup(e)})).join(":")));n.push(e.map(padGroup).join(":"));return groupPossibilities(n)}r.simpleRegularExpression=simpleRegularExpression;function possibleElisions(e,r,n){const s=r?"":":";const i=n?"":":";const o=[];if(!r&&!n){o.push("::")}if(r&&n){o.push("")}if(n&&!r||!n&&r){o.push(":")}o.push((0,u.sprintf)("%s(:0{1,4}){1,%d}",s,e-1));o.push((0,u.sprintf)("(0{1,4}:){1,%d}%s",e-1,i));o.push((0,u.sprintf)("(0{1,4}:){%d}0{1,4}",e-1));for(let r=1;r{e.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var r=Object.prototype.toString;var n={"[object Int8Array]":true,"[object Int16Array]":true,"[object Int32Array]":true,"[object Uint8Array]":true,"[object Uint8ClampedArray]":true,"[object Uint16Array]":true,"[object Uint32Array]":true,"[object Float32Array]":true,"[object Float64Array]":true};function isTypedArray(e){return isStrictTypedArray(e)||isLooseTypedArray(e)}function isStrictTypedArray(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function isLooseTypedArray(e){return n[r.call(e)]}},95947:function(e,r){(function(){var n;var s=0xdeadbeefcafe;var i=(s&16777215)==15715070;function BigInteger(e,r,n){if(e!=null)if("number"==typeof e)this.fromNumber(e,r,n);else if(r==null&&"string"!=typeof e)this.fromString(e,256);else this.fromString(e,r)}function nbi(){return new BigInteger(null)}function am1(e,r,n,s,i,o){while(--o>=0){var c=r*this[e++]+n[s]+i;i=Math.floor(c/67108864);n[s++]=c&67108863}return i}function am2(e,r,n,s,i,o){var c=r&32767,u=r>>15;while(--o>=0){var d=this[e]&32767;var A=this[e++]>>15;var h=u*d+A*c;d=c*d+((h&32767)<<15)+n[s]+(i&1073741823);i=(d>>>30)+(h>>>15)+u*A+(i>>>30);n[s++]=d&1073741823}return i}function am3(e,r,n,s,i,o){var c=r&16383,u=r>>14;while(--o>=0){var d=this[e]&16383;var A=this[e++]>>14;var h=u*d+A*c;d=c*d+((h&16383)<<14)+n[s]+i;i=(d>>28)+(h>>14)+u*A;n[s++]=d&268435455}return i}var o=typeof navigator!=="undefined";if(o&&i&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;n=30}else if(o&&i&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;n=26}else{BigInteger.prototype.am=am3;n=28}BigInteger.prototype.DB=n;BigInteger.prototype.DM=(1<=0;--r)e[r]=this[r];e.t=this.t;e.s=this.s}function bnpFromInt(e){this.t=1;this.s=e<0?-1:0;if(e>0)this[0]=e;else if(e<-1)this[0]=e+this.DV;else this.t=0}function nbv(e){var r=nbi();r.fromInt(e);return r}function bnpFromString(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0;this.s=0;var s=e.length,i=false,o=0;while(--s>=0){var c=n==8?e[s]&255:intAt(e,s);if(c<0){if(e.charAt(s)=="-")i=true;continue}i=false;if(o==0)this[this.t++]=c;else if(o+n>this.DB){this[this.t-1]|=(c&(1<>this.DB-o}else this[this.t-1]|=c<=this.DB)o-=this.DB}if(n==8&&(e[0]&128)!=0){this.s=-1;if(o>0)this[this.t-1]|=(1<0&&this[this.t-1]==e)--this.t}function bnToString(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<0){if(u>u)>0){i=true;o=int2char(s)}while(c>=0){if(u>(u+=this.DB-r)}else{s=this[c]>>(u-=r)&n;if(u<=0){u+=this.DB;--c}}if(s>0)i=true;if(i)o+=int2char(s)}}return i?o:"0"}function bnNegate(){var e=nbi();BigInteger.ZERO.subTo(this,e);return e}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;r=n-e.t;if(r!=0)return this.s<0?-r:r;while(--n>=0)if((r=this[n]-e[n])!=0)return r;return 0}function nbits(e){var r=1,n;if((n=e>>>16)!=0){e=n;r+=16}if((n=e>>8)!=0){e=n;r+=8}if((n=e>>4)!=0){e=n;r+=4}if((n=e>>2)!=0){e=n;r+=2}if((n=e>>1)!=0){e=n;r+=1}return r}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e;r.s=this.s}function bnpDRShiftTo(e,r){for(var n=e;n=0;--u){r[u+o+1]=this[u]>>s|c;c=(this[u]&i)<=0;--u)r[u]=0;r[o]=c;r.t=this.t+o+1;r.s=this.s;r.clamp()}function bnpRShiftTo(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var s=e%this.DB;var i=this.DB-s;var o=(1<>s;for(var c=n+1;c>s}if(s>0)r[this.t-n-1]|=(this.s&o)<>=this.DB}if(e.t>=this.DB}s+=this.s}else{s+=this.s;while(n>=this.DB}s-=e.s}r.s=s<0?-1:0;if(s<-1)r[n++]=this.DV+s;else if(s>0)r[n++]=s;r.t=n;r.clamp()}function bnpMultiplyTo(e,r){var n=this.abs(),s=e.abs();var i=n.t;r.t=i+s.t;while(--i>=0)r[i]=0;for(i=0;i=0)e[n]=0;for(n=0;n=r.DV){e[n+r.t]-=r.DV;e[n+r.t+1]=1}}if(e.t>0)e[e.t-1]+=r.am(n,r[n],e,2*n,0,1);e.s=0;e.clamp()}function bnpDivRemTo(e,r,n){var s=e.abs();if(s.t<=0)return;var i=this.abs();if(i.t0){s.lShiftTo(d,o);i.lShiftTo(d,n)}else{s.copyTo(o);i.copyTo(n)}var A=o.t;var h=o[A-1];if(h==0)return;var g=h*(1<1?o[A-2]>>this.F2:0);var m=this.FV/g,y=(1<=0){n[n.t++]=1;n.subTo(I,n)}BigInteger.ONE.dlShiftTo(A,I);I.subTo(o,o);while(o.t=0){var v=n[--_]==h?this.DM:Math.floor(n[_]*m+(n[_-1]+E)*y);if((n[_]+=o.am(0,v,n,b,0,A))0)n.rShiftTo(d,n);if(c<0)BigInteger.ZERO.subTo(n,n)}function bnMod(e){var r=nbi();this.abs().divRemTo(e,null,r);if(this.s<0&&r.compareTo(BigInteger.ZERO)>0)e.subTo(r,r);return r}function Classic(e){this.m=e}function cConvert(e){if(e.s<0||e.compareTo(this.m)>=0)return e.mod(this.m);else return e}function cRevert(e){return e}function cReduce(e){e.divRemTo(this.m,null,e)}function cMulTo(e,r,n){e.multiplyTo(r,n);this.reduce(n)}function cSqrTo(e,r){e.squareTo(r);this.reduce(r)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var r=e&3;r=r*(2-(e&15)*r)&15;r=r*(2-(e&255)*r)&255;r=r*(2-((e&65535)*r&65535))&65535;r=r*(2-e*r%this.DV)%this.DV;return r>0?this.DV-r:-r}function Montgomery(e){this.m=e;this.mp=e.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<0)this.m.subTo(r,r);return r}function montRevert(e){var r=nbi();e.copyTo(r);this.reduce(r);return r}function montReduce(e){while(e.t<=this.mt2)e[e.t++]=0;for(var r=0;r>15)*this.mpl&this.um)<<15)&e.DM;n=r+this.m.t;e[n]+=this.m.am(0,s,e,r,0,this.m.t);while(e[n]>=e.DV){e[n]-=e.DV;e[++n]++}}e.clamp();e.drShiftTo(this.m.t,e);if(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function montSqrTo(e,r){e.squareTo(r);this.reduce(r)}function montMulTo(e,r,n){e.multiplyTo(r,n);this.reduce(n)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)==0}function bnpExp(e,r){if(e>4294967295||e<1)return BigInteger.ONE;var n=nbi(),s=nbi(),i=r.convert(this),o=nbits(e)-1;i.copyTo(n);while(--o>=0){r.sqrTo(n,s);if((e&1<0)r.mulTo(s,i,n);else{var c=n;n=s;s=c}}return r.revert(n)}function bnModPowInt(e,r){var n;if(e<256||r.isEven())n=new Classic(r);else n=new Montgomery(r);return this.exp(e,n)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnClone(){var e=nbi();this.copyTo(e);return e}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t==0)return-1}else if(this.t==1)return this[0];else if(this.t==0)return 0;return(this[1]&(1<<32-this.DB)-1)<>24}function bnShortValue(){return this.t==0?this.s:this[0]<<16>>16}function bnpChunkSize(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpToRadix(e){if(e==null)e=10;if(this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e);var n=Math.pow(e,r);var s=nbv(n),i=nbi(),o=nbi(),c="";this.divRemTo(s,i,o);while(i.signum()>0){c=(n+o.intValue()).toString(e).substr(1)+c;i.divRemTo(s,i,o)}return o.intValue().toString(e)+c}function bnpFromRadix(e,r){this.fromInt(0);if(r==null)r=10;var n=this.chunkSize(r);var s=Math.pow(r,n),i=false,o=0,c=0;for(var u=0;u=n){this.dMultiply(s);this.dAddOffset(c,0);o=0;c=0}}if(o>0){this.dMultiply(Math.pow(r,o));this.dAddOffset(c,0)}if(i)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(e,r,n){if("number"==typeof r){if(e<2)this.fromInt(1);else{this.fromNumber(e,n);if(!this.testBit(e-1))this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),op_or,this);if(this.isEven())this.dAddOffset(1,0);while(!this.isProbablePrime(r)){this.dAddOffset(2,0);if(this.bitLength()>e)this.subTo(BigInteger.ONE.shiftLeft(e-1),this)}}}else{var s=new Array,i=e&7;s.length=(e>>3)+1;r.nextBytes(s);if(i>0)s[0]&=(1<0){if(n>n)!=(this.s&this.DM)>>n)r[i++]=s|this.s<=0){if(n<8){s=(this[e]&(1<>(n+=this.DB-8)}else{s=this[e]>>(n-=8)&255;if(n<=0){n+=this.DB;--e}}if((s&128)!=0)s|=-256;if(i==0&&(this.s&128)!=(s&128))++i;if(i>0||s!=this.s)r[i++]=s}}return r}function bnEquals(e){return this.compareTo(e)==0}function bnMin(e){return this.compareTo(e)<0?this:e}function bnMax(e){return this.compareTo(e)>0?this:e}function bnpBitwiseTo(e,r,n){var s,i,o=Math.min(e.t,this.t);for(s=0;s>=16;r+=16}if((e&255)==0){e>>=8;r+=8}if((e&15)==0){e>>=4;r+=4}if((e&3)==0){e>>=2;r+=2}if((e&1)==0)++r;return r}function bnGetLowestSetBit(){for(var e=0;e=this.t)return this.s!=0;return(this[r]&1<>=this.DB}if(e.t>=this.DB}s+=this.s}else{s+=this.s;while(n>=this.DB}s+=e.s}r.s=s<0?-1:0;if(s>0)r[n++]=s;else if(s<-1)r[n++]=this.DV+s;r.t=n;r.clamp()}function bnAdd(e){var r=nbi();this.addTo(e,r);return r}function bnSubtract(e){var r=nbi();this.subTo(e,r);return r}function bnMultiply(e){var r=nbi();this.multiplyTo(e,r);return r}function bnSquare(){var e=nbi();this.squareTo(e);return e}function bnDivide(e){var r=nbi();this.divRemTo(e,r,null);return r}function bnRemainder(e){var r=nbi();this.divRemTo(e,null,r);return r}function bnDivideAndRemainder(e){var r=nbi(),n=nbi();this.divRemTo(e,r,n);return new Array(r,n)}function bnpDMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(e,r){if(e==0)return;while(this.t<=r)this[this.t++]=0;this[r]+=e;while(this[r]>=this.DV){this[r]-=this.DV;if(++r>=this.t)this[this.t++]=0;++this[r]}}function NullExp(){}function nNop(e){return e}function nMulTo(e,r,n){e.multiplyTo(r,n)}function nSqrTo(e,r){e.squareTo(r)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(e){return this.exp(e,new NullExp)}function bnpMultiplyLowerTo(e,r,n){var s=Math.min(this.t+e.t,r);n.s=0;n.t=s;while(s>0)n[--s]=0;var i;for(i=n.t-this.t;s=0)n[s]=0;for(s=Math.max(r-this.t,0);s2*this.m.t)return e.mod(this.m);else if(e.compareTo(this.m)<0)return e;else{var r=nbi();e.copyTo(r);this.reduce(r);return r}}function barrettRevert(e){return e}function barrettReduce(e){e.drShiftTo(this.m.t-1,this.r2);if(e.t>this.m.t+1){e.t=this.m.t+1;e.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.dAddOffset(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function barrettSqrTo(e,r){e.squareTo(r);this.reduce(r)}function barrettMulTo(e,r,n){e.multiplyTo(r,n);this.reduce(n)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,r){var n=e.bitLength(),s,i=nbv(1),o;if(n<=0)return i;else if(n<18)s=1;else if(n<48)s=3;else if(n<144)s=4;else if(n<768)s=5;else s=6;if(n<8)o=new Classic(r);else if(r.isEven())o=new Barrett(r);else o=new Montgomery(r);var c=new Array,u=3,d=s-1,A=(1<1){var h=nbi();o.sqrTo(c[1],h);while(u<=A){c[u]=nbi();o.mulTo(h,c[u-2],c[u]);u+=2}}var g=e.t-1,m,y=true,E=nbi(),_;n=nbits(e[g])-1;while(g>=0){if(n>=d)m=e[g]>>n-d&A;else{m=(e[g]&(1<0)m|=e[g-1]>>this.DB+n-d}u=s;while((m&1)==0){m>>=1;--u}if((n-=u)<0){n+=this.DB;--g}if(y){c[m].copyTo(i);y=false}else{while(u>1){o.sqrTo(i,E);o.sqrTo(E,i);u-=2}if(u>0)o.sqrTo(i,E);else{_=i;i=E;E=_}o.mulTo(E,c[m],i)}while(g>=0&&(e[g]&1<0){r.rShiftTo(o,r);n.rShiftTo(o,n)}while(r.signum()>0){if((i=r.getLowestSetBit())>0)r.rShiftTo(i,r);if((i=n.getLowestSetBit())>0)n.rShiftTo(i,n);if(r.compareTo(n)>=0){r.subTo(n,r);r.rShiftTo(1,r)}else{n.subTo(r,n);n.rShiftTo(1,n)}}if(o>0)n.lShiftTo(o,n);return n}function bnpModInt(e){if(e<=0)return 0;var r=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(r==0)n=this[0]%e;else for(var s=this.t-1;s>=0;--s)n=(r*n+this[s])%e;return n}function bnModInverse(e){var r=e.isEven();if(this.isEven()&&r||e.signum()==0)return BigInteger.ZERO;var n=e.clone(),s=this.clone();var i=nbv(1),o=nbv(0),c=nbv(0),u=nbv(1);while(n.signum()!=0){while(n.isEven()){n.rShiftTo(1,n);if(r){if(!i.isEven()||!o.isEven()){i.addTo(this,i);o.subTo(e,o)}i.rShiftTo(1,i)}else if(!o.isEven())o.subTo(e,o);o.rShiftTo(1,o)}while(s.isEven()){s.rShiftTo(1,s);if(r){if(!c.isEven()||!u.isEven()){c.addTo(this,c);u.subTo(e,u)}c.rShiftTo(1,c)}else if(!u.isEven())u.subTo(e,u);u.rShiftTo(1,u)}if(n.compareTo(s)>=0){n.subTo(s,n);if(r)i.subTo(c,i);o.subTo(u,o)}else{s.subTo(n,s);if(r)c.subTo(i,c);u.subTo(o,u)}}if(s.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(u.compareTo(e)>=0)return u.subtract(e);if(u.signum()<0)u.addTo(e,u);else return u;if(u.signum()<0)return u.add(e);else return u}var g=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997];var m=(1<<26)/g[g.length-1];function bnIsProbablePrime(e){var r,n=this.abs();if(n.t==1&&n[0]<=g[g.length-1]){for(r=0;r>1;if(e>g.length)e=g.length;var i=nbi();for(var o=0;o>8&255;E[_++]^=e>>16&255;E[_++]^=e>>24&255;if(_>=C)_-=C}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(E==null){E=new Array;_=0;var b;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var I=new Uint8Array(32);window.crypto.getRandomValues(I);for(b=0;b<32;++b)E[_++]=I[b]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var v=window.crypto.random(32);for(b=0;b>>8;E[_++]=b&255}_=0;rng_seed_time()}function rng_get_byte(){if(y==null){rng_seed_time();y=prng_newstate();y.init(E);for(_=0;_{function Mime(){this._types=Object.create(null);this._extensions=Object.create(null);for(let e=0;e{let s=n(14402);e.exports=new s(n(83725),n(68548))},68548:e=>{e.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},83725:e=>{e.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},70744:e=>{var r=1e3;var n=r*60;var s=n*60;var i=s*24;var o=i*7;var c=i*365.25;e.exports=function(e,r){r=r||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isFinite(e)){return r.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!u){return}var d=parseFloat(u[1]);var A=(u[2]||"ms").toLowerCase();switch(A){case"years":case"year":case"yrs":case"yr":case"y":return d*c;case"weeks":case"week":case"w":return d*o;case"days":case"day":case"d":return d*i;case"hours":case"hour":case"hrs":case"hr":case"h":return d*s;case"minutes":case"minute":case"mins":case"min":case"m":return d*n;case"seconds":case"second":case"secs":case"sec":case"s":return d*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=i){return Math.round(e/i)+"d"}if(o>=s){return Math.round(e/s)+"h"}if(o>=n){return Math.round(e/n)+"m"}if(o>=r){return Math.round(e/r)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=i){return plural(e,o,i,"day")}if(o>=s){return plural(e,o,s,"hour")}if(o>=n){return plural(e,o,n,"minute")}if(o>=r){return plural(e,o,r,"second")}return e+" ms"}function plural(e,r,n,s){var i=r>=n*1.5;return Math.round(e/n)+" "+s+(i?"s":"")}},49086:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=_interopDefault(n(2203));var i=_interopDefault(n(58611));var o=_interopDefault(n(87016));var c=_interopDefault(n(62686));var u=_interopDefault(n(65692));var d=_interopDefault(n(43106));const A=s.Readable;const h=Symbol("buffer");const g=Symbol("type");class Blob{constructor(){this[g]="";const e=arguments[0];const r=arguments[1];const n=[];let s=0;if(e){const r=e;const i=Number(r.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},i=n.size;let o=i===undefined?0:i;var c=n.timeout;let u=c===undefined?0:c;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e));else if(Buffer.isBuffer(e));else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof s);else{e=Buffer.from(String(e))}this[y]={body:e,disturbed:false,error:null};this.size=o;this.timeout=u;if(e instanceof s){e.on("error",(function(e){const n=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[y].error=n}))}}Body.prototype={get body(){return this[y].body},get bodyUsed(){return this[y].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(r){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[h]:r})}))},json(){var e=this;return consumeBody.call(this).then((function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(e){return e.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then((function(r){return convertBody(r,e.headers)}))}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const r of Object.getOwnPropertyNames(Body.prototype)){if(!(r in e)){const n=Object.getOwnPropertyDescriptor(Body.prototype,r);Object.defineProperty(e,r,n)}}};function consumeBody(){var e=this;if(this[y].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[y].disturbed=true;if(this[y].error){return Body.Promise.reject(this[y].error)}let r=this.body;if(r===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(r)){r=r.stream()}if(Buffer.isBuffer(r)){return Body.Promise.resolve(r)}if(!(r instanceof s)){return Body.Promise.resolve(Buffer.alloc(0))}let n=[];let i=0;let o=false;return new Body.Promise((function(s,c){let u;if(e.timeout){u=setTimeout((function(){o=true;c(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)}r.on("error",(function(r){if(r.name==="AbortError"){o=true;c(r)}else{c(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${r.message}`,"system",r))}}));r.on("data",(function(r){if(o||r===null){return}if(e.size&&i+r.length>e.size){o=true;c(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=r.length;n.push(r)}));r.on("end",(function(){if(o){return}clearTimeout(u);try{s(Buffer.concat(n,i))}catch(r){c(new FetchError(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}}))}))}function convertBody(e,r){if(typeof m!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const n=r.get("content-type");let s="utf-8";let i,o;if(n){i=/charset=([^;]*)/i.exec(n)}o=e.slice(0,1024).toString();if(!i&&o){i=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[I]=Object.create(null);if(e instanceof Headers){const r=e.raw();const n=Object.keys(r);for(const e of n){for(const n of r[e]){this.append(e,n)}}return}if(e==null);else if(typeof e==="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!=="function"){throw new TypeError("Header pairs must be iterable")}const n=[];for(const r of e){if(typeof r!=="object"||typeof r[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}n.push(Array.from(r))}for(const e of n){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const r of Object.keys(e)){const n=e[r];this.append(r,n)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const r=find(this[I],e);if(r===undefined){return null}return this[I][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let n=getHeaders(this);let s=0;while(s1&&arguments[1]!==undefined?arguments[1]:"key+value";const n=Object.keys(e[I]).sort();return n.map(r==="key"?function(e){return e.toLowerCase()}:r==="value"?function(r){return e[I][r].join(", ")}:function(r){return[r.toLowerCase(),e[I][r].join(", ")]})}const v=Symbol("internal");function createHeadersIterator(e,r){const n=Object.create(C);n[v]={target:e,kind:r,index:0};return n}const C=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==C){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[v];const r=e.target,n=e.kind,s=e.index;const i=getHeaders(r,n);const o=i.length;if(s>=o){return{value:undefined,done:true}}this[v].index=s+1;return{value:i[s],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(C,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const r=Object.assign({__proto__:null},e[I]);const n=find(e[I],"Host");if(n!==undefined){r[n]=r[n][0]}return r}function createHeadersLenient(e){const r=new Headers;for(const n of Object.keys(e)){if(_.test(n)){continue}if(Array.isArray(e[n])){for(const s of e[n]){if(b.test(s)){continue}if(r[I][n]===undefined){r[I][n]=[s]}else{r[I][n].push(s)}}}else if(!b.test(e[n])){r[I][n]=[e[n]]}}return r}const w=Symbol("Response internals");const B=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,r);const n=r.status||200;const s=new Headers(r.headers);if(e!=null&&!s.has("Content-Type")){const r=extractContentType(e);if(r){s.append("Content-Type",r)}}this[w]={url:r.url,status:n,statusText:r.statusText||B[n],headers:s,counter:r.counter}}get url(){return this[w].url||""}get status(){return this[w].status}get ok(){return this[w].status>=200&&this[w].status<300}get redirected(){return this[w].counter>0}get statusText(){return this[w].statusText}get headers(){return this[w].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const S=Symbol("Request internals");const T=o.URL||c.URL;const k=o.parse;const R=o.format;function parseURL(e){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)){e=new T(e).toString()}return k(e)}const Q="destroy"in s.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[S]==="object"}function isAbortSignal(e){const r=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(r&&r.constructor.name==="AbortSignal")}class Request{constructor(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n;if(!isRequest(e)){if(e&&e.href){n=parseURL(e.href)}else{n=parseURL(`${e}`)}e={}}else{n=parseURL(e.url)}let s=r.method||e.method||"GET";s=s.toUpperCase();if((r.body!=null||isRequest(e)&&e.body!==null)&&(s==="GET"||s==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=r.body!=null?r.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const o=new Headers(r.headers||e.headers||{});if(i!=null&&!o.has("Content-Type")){const e=extractContentType(i);if(e){o.append("Content-Type",e)}}let c=isRequest(e)?e.signal:null;if("signal"in r)c=r.signal;if(c!=null&&!isAbortSignal(c)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[S]={method:s,redirect:r.redirect||e.redirect||"follow",headers:o,parsedURL:n,signal:c};this.follow=r.follow!==undefined?r.follow:e.follow!==undefined?e.follow:20;this.compress=r.compress!==undefined?r.compress:e.compress!==undefined?e.compress:true;this.counter=r.counter||e.counter||0;this.agent=r.agent||e.agent}get method(){return this[S].method}get url(){return R(this[S].parsedURL)}get headers(){return this[S].headers}get redirect(){return this[S].redirect}get signal(){return this[S].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const r=e[S].parsedURL;const n=new Headers(e[S].headers);if(!n.has("Accept")){n.set("Accept","*/*")}if(!r.protocol||!r.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(r.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof s.Readable&&!Q){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const r=getTotalBytes(e);if(typeof r==="number"){i=String(r)}}if(i){n.set("Content-Length",i)}if(!n.has("User-Agent")){n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!n.has("Accept-Encoding")){n.set("Accept-Encoding","gzip,deflate")}let o=e.agent;if(typeof o==="function"){o=o(r)}return Object.assign({},r,{method:e.method,headers:exportNodeCompatibleHeaders(n),agent:o})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const P=o.URL||c.URL;const O=s.PassThrough;const D=function isDomainOrSubdomain(e,r){const n=new P(r).hostname;const s=new P(e).hostname;return n===s||n[n.length-s.length-1]==="."&&n.endsWith(s)};const F=function isSameProtocol(e,r){const n=new P(r).protocol;const s=new P(e).protocol;return n===s};function fetch(e,r){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise((function(n,o){const c=new Request(e,r);const A=getNodeRequestOptions(c);const h=(A.protocol==="https:"?u:i).request;const g=c.signal;let m=null;const y=function abort(){let e=new AbortError("The user aborted a request.");o(e);if(c.body&&c.body instanceof s.Readable){destroyStream(c.body,e)}if(!m||!m.body)return;m.body.emit("error",e)};if(g&&g.aborted){y();return}const E=function abortAndFinalize(){y();finalize()};const _=h(A);let b;if(g){g.addEventListener("abort",E)}function finalize(){_.abort();if(g)g.removeEventListener("abort",E);clearTimeout(b)}if(c.timeout){_.once("socket",(function(e){b=setTimeout((function(){o(new FetchError(`network timeout at: ${c.url}`,"request-timeout"));finalize()}),c.timeout)}))}_.on("error",(function(e){o(new FetchError(`request to ${c.url} failed, reason: ${e.message}`,"system",e));if(m&&m.body){destroyStream(m.body,e)}finalize()}));fixResponseChunkedTransferBadEnding(_,(function(e){if(g&&g.aborted){return}if(m&&m.body){destroyStream(m.body,e)}}));if(parseInt(process.version.substring(1))<14){_.on("socket",(function(e){e.addListener("close",(function(r){const n=e.listenerCount("data")>0;if(m&&n&&!r&&!(g&&g.aborted)){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";m.body.emit("error",e)}}))}))}_.on("response",(function(e){clearTimeout(b);const r=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const s=r.get("Location");let i=null;try{i=s===null?null:new P(s,c.url).toString()}catch(e){if(c.redirect!=="manual"){o(new FetchError(`uri requested responds with an invalid redirect URL: ${s}`,"invalid-redirect"));finalize();return}}switch(c.redirect){case"error":o(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${c.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{r.set("Location",i)}catch(e){o(e)}}break;case"follow":if(i===null){break}if(c.counter>=c.follow){o(new FetchError(`maximum redirect reached at: ${c.url}`,"max-redirect"));finalize();return}const s={headers:new Headers(c.headers),follow:c.follow,counter:c.counter+1,agent:c.agent,compress:c.compress,method:c.method,body:c.body,signal:c.signal,timeout:c.timeout,size:c.size};if(!D(c.url,i)||!F(c.url,i)){for(const e of["authorization","www-authenticate","cookie","cookie2"]){s.headers.delete(e)}}if(e.statusCode!==303&&c.body&&getTotalBytes(c)===null){o(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&c.method==="POST"){s.method="GET";s.body=undefined;s.headers.delete("content-length")}n(fetch(new Request(i,s)));finalize();return}}e.once("end",(function(){if(g)g.removeEventListener("abort",E)}));let s=e.pipe(new O);const i={url:c.url,status:e.statusCode,statusText:e.statusMessage,headers:r,size:c.size,timeout:c.timeout,counter:c.counter};const u=r.get("Content-Encoding");if(!c.compress||c.method==="HEAD"||u===null||e.statusCode===204||e.statusCode===304){m=new Response(s,i);n(m);return}const A={flush:d.Z_SYNC_FLUSH,finishFlush:d.Z_SYNC_FLUSH};if(u=="gzip"||u=="x-gzip"){s=s.pipe(d.createGunzip(A));m=new Response(s,i);n(m);return}if(u=="deflate"||u=="x-deflate"){const r=e.pipe(new O);r.once("data",(function(e){if((e[0]&15)===8){s=s.pipe(d.createInflate())}else{s=s.pipe(d.createInflateRaw())}m=new Response(s,i);n(m)}));r.on("end",(function(){if(!m){m=new Response(s,i);n(m)}}));return}if(u=="br"&&typeof d.createBrotliDecompress==="function"){s=s.pipe(d.createBrotliDecompress());m=new Response(s,i);n(m);return}m=new Response(s,i);n(m)}));writeToStream(_,c)}))}function fixResponseChunkedTransferBadEnding(e,r){let n;e.on("socket",(function(e){n=e}));e.on("response",(function(e){const s=e.headers;if(s["transfer-encoding"]==="chunked"&&!s["content-length"]){e.once("close",(function(e){const s=n&&n.listenerCount("data")>0;if(s&&!e){const e=new Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE";r(e)}}))}}))}function destroyStream(e,r){if(e.destroy){e.destroy(r)}else{e.emit("error",r);e.end()}}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=r=fetch;Object.defineProperty(r,"__esModule",{value:true});r["default"]=r;r.Headers=Headers;r.Request=Request;r.Response=Response;r.FetchError=FetchError;r.AbortError=AbortError},80347:function(e,r,n){(function(){var e,s,i,o,c,u,d,A,h,g,m,y,E,_,extend=function(e,r){for(var n in r){if(b.call(r,n))e[n]=r[n]}function ctor(){this.constructor=e}ctor.prototype=r.prototype;e.prototype=new ctor;e.__super__=r.prototype;return e},b={}.hasOwnProperty;E=n(16928);y=n(79896);m=n(24434);_=n(78298).sync;s="---.EMPTY_STRING.---";d=function(e){var r,n,s,i,o;i=y.readdirSync(e);o=[];for(r=0,n=i.length;rthis.quota){throw new c}_(d,b,{encoding:"utf8"});if(!i){g=new o(n,this._keys.push(e)-1);g.size=I;this._metaKeyMap[e]=g;this.length+=1;this._bytesInUse+=I}if(h){s=new u(e,y,r,this._eventUrl);return this.emit("storage",s)}};LocalStorage.prototype.getItem=function(e){var r,n;e=A(e);n=this._metaKeyMap[e];if(!!n){r=E.join(this._location,n.key);return y.readFileSync(r,"utf8")}else{return null}};LocalStorage.prototype._getStat=function(e){var r;e=A(e);r=E.join(this._location,encodeURIComponent(e));try{return y.statSync(r)}catch(e){return null}};LocalStorage.prototype.removeItem=function(e){var r,n,s,i,o,c,d,g,m;e=A(e);c=this._metaKeyMap[e];if(!!c){s=this.listenerCount("storage");d=null;if(s){d=this.getItem(e)}delete this._metaKeyMap[e];this.length-=1;this._bytesInUse-=c.size;n=E.join(this._location,c.key);this._keys.splice(c.index,1);g=this._metaKeyMap;for(i in g){m=g[i];o=this._metaKeyMap[i];if(o.index>c.index){o.index-=1}}h(n);if(s){r=new u(e,d,null,this._eventUrl);return this.emit("storage",r)}}};LocalStorage.prototype.key=function(e){var r;r=this._keys[e];if(r===s){return""}else{return r}};LocalStorage.prototype.clear=function(){var e;d(this._location);this._metaKeyMap=g();this._keys=[];this.length=0;this._bytesInUse=0;if(this.listenerCount("storage")){e=new u(null,null,null,this._eventUrl);return this.emit("storage",e)}};LocalStorage.prototype._getBytesInUse=function(){return this._bytesInUse};LocalStorage.prototype._deleteLocation=function(){delete r[this._location];h(this._location);this._metaKeyMap={};this._keys=[];this.length=0;return this._bytesInUse=0};return LocalStorage}(m.EventEmitter);e=function(e){extend(JSONStorage,e);function JSONStorage(){return JSONStorage.__super__.constructor.apply(this,arguments)}JSONStorage.prototype.setItem=function(e,r){var n;n=JSON.stringify(r);return JSONStorage.__super__.setItem.call(this,e,n)};JSONStorage.prototype.getItem=function(e){return JSON.parse(JSONStorage.__super__.getItem.call(this,e))};return JSONStorage}(i);r.LocalStorage=i;r.JSONStorage=e;r.QUOTA_EXCEEDED_ERR=c}).call(this)},55560:(e,r,n)=>{var s=n(58264);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 r=e.name||"Function wrapped with `once`";f.onceError=r+" shouldn't be called more than once";f.called=false;return f}},43585:(e,r,n)=>{const{Deflate:s,deflate:i,deflateRaw:o,gzip:c}=n(9854);const{Inflate:u,inflate:d,inflateRaw:A,ungzip:h}=n(17902);const g=n(8958);e.exports.Deflate=s;e.exports.deflate=i;e.exports.deflateRaw=o;e.exports.gzip=c;e.exports.Inflate=u;e.exports.inflate=d;e.exports.inflateRaw=A;e.exports.ungzip=h;e.exports.constants=g},9854:(e,r,n)=>{const s=n(99760);const i=n(55538);const o=n(49153);const c=n(52523);const u=n(89137);const d=Object.prototype.toString;const{Z_NO_FLUSH:A,Z_SYNC_FLUSH:h,Z_FULL_FLUSH:g,Z_FINISH:m,Z_OK:y,Z_STREAM_END:E,Z_DEFAULT_COMPRESSION:_,Z_DEFAULT_STRATEGY:b,Z_DEFLATED:I}=n(8958);function Deflate(e){this.options=i.assign({level:_,method:I,chunkSize:16384,windowBits:15,memLevel:8,strategy:b},e||{});let r=this.options;if(r.raw&&r.windowBits>0){r.windowBits=-r.windowBits}else if(r.gzip&&r.windowBits>0&&r.windowBits<16){r.windowBits+=16}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new u;this.strm.avail_out=0;let n=s.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(n!==y){throw new Error(c[n])}if(r.header){s.deflateSetHeader(this.strm,r.header)}if(r.dictionary){let e;if(typeof r.dictionary==="string"){e=o.string2buf(r.dictionary)}else if(d.call(r.dictionary)==="[object ArrayBuffer]"){e=new Uint8Array(r.dictionary)}else{e=r.dictionary}n=s.deflateSetDictionary(this.strm,e);if(n!==y){throw new Error(c[n])}this._dict_set=true}}Deflate.prototype.push=function(e,r){const n=this.strm;const i=this.options.chunkSize;let c,u;if(this.ended){return false}if(r===~~r)u=r;else u=r===true?m:A;if(typeof e==="string"){n.input=o.string2buf(e)}else if(d.call(e)==="[object ArrayBuffer]"){n.input=new Uint8Array(e)}else{n.input=e}n.next_in=0;n.avail_in=n.input.length;for(;;){if(n.avail_out===0){n.output=new Uint8Array(i);n.next_out=0;n.avail_out=i}if((u===h||u===g)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out));n.avail_out=0;continue}c=s.deflate(n,u);if(c===E){if(n.next_out>0){this.onData(n.output.subarray(0,n.next_out))}c=s.deflateEnd(this.strm);this.onEnd(c);this.ended=true;return c===y}if(n.avail_out===0){this.onData(n.output);continue}if(u>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out));n.avail_out=0;continue}if(n.avail_in===0)break}return true};Deflate.prototype.onData=function(e){this.chunks.push(e)};Deflate.prototype.onEnd=function(e){if(e===y){this.result=i.flattenChunks(this.chunks)}this.chunks=[];this.err=e;this.msg=this.strm.msg};function deflate(e,r){const n=new Deflate(r);n.push(e,true);if(n.err){throw n.msg||c[n.err]}return n.result}function deflateRaw(e,r){r=r||{};r.raw=true;return deflate(e,r)}function gzip(e,r){r=r||{};r.gzip=true;return deflate(e,r)}e.exports.Deflate=Deflate;e.exports.deflate=deflate;e.exports.deflateRaw=deflateRaw;e.exports.gzip=gzip;e.exports.constants=n(8958)},17902:(e,r,n)=>{const s=n(76716);const i=n(55538);const o=n(49153);const c=n(52523);const u=n(89137);const d=n(88991);const A=Object.prototype.toString;const{Z_NO_FLUSH:h,Z_FINISH:g,Z_OK:m,Z_STREAM_END:y,Z_NEED_DICT:E,Z_STREAM_ERROR:_,Z_DATA_ERROR:b,Z_MEM_ERROR:I}=n(8958);function Inflate(e){this.options=i.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new u;this.strm.avail_out=0;let n=s.inflateInit2(this.strm,r.windowBits);if(n!==m){throw new Error(c[n])}this.header=new d;s.inflateGetHeader(this.strm,this.header);if(r.dictionary){if(typeof r.dictionary==="string"){r.dictionary=o.string2buf(r.dictionary)}else if(A.call(r.dictionary)==="[object ArrayBuffer]"){r.dictionary=new Uint8Array(r.dictionary)}if(r.raw){n=s.inflateSetDictionary(this.strm,r.dictionary);if(n!==m){throw new Error(c[n])}}}}Inflate.prototype.push=function(e,r){const n=this.strm;const i=this.options.chunkSize;const c=this.options.dictionary;let u,d,v;if(this.ended)return false;if(r===~~r)d=r;else d=r===true?g:h;if(A.call(e)==="[object ArrayBuffer]"){n.input=new Uint8Array(e)}else{n.input=e}n.next_in=0;n.avail_in=n.input.length;for(;;){if(n.avail_out===0){n.output=new Uint8Array(i);n.next_out=0;n.avail_out=i}u=s.inflate(n,d);if(u===E&&c){u=s.inflateSetDictionary(n,c);if(u===m){u=s.inflate(n,d)}else if(u===b){u=E}}while(n.avail_in>0&&u===y&&n.state.wrap>0&&e[n.next_in]!==0){s.inflateReset(n);u=s.inflate(n,d)}switch(u){case _:case b:case E:case I:this.onEnd(u);this.ended=true;return false}v=n.avail_out;if(n.next_out){if(n.avail_out===0||u===y){if(this.options.to==="string"){let e=o.utf8border(n.output,n.next_out);let r=n.next_out-e;let s=o.buf2string(n.output,e);n.next_out=r;n.avail_out=i-r;if(r)n.output.set(n.output.subarray(e,e+r),0);this.onData(s)}else{this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out))}}}if(u===m&&v===0)continue;if(u===y){u=s.inflateEnd(this.strm);this.onEnd(u);this.ended=true;return true}if(n.avail_in===0)break}return true};Inflate.prototype.onData=function(e){this.chunks.push(e)};Inflate.prototype.onEnd=function(e){if(e===m){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=i.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function inflate(e,r){const n=new Inflate(r);n.push(e);if(n.err)throw n.msg||c[n.err];return n.result}function inflateRaw(e,r){r=r||{};r.raw=true;return inflate(e,r)}e.exports.Inflate=Inflate;e.exports.inflate=inflate;e.exports.inflateRaw=inflateRaw;e.exports.ungzip=inflate;e.exports.constants=n(8958)},55538:e=>{const _has=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);e.exports.assign=function(e){const r=Array.prototype.slice.call(arguments,1);while(r.length){const n=r.shift();if(!n){continue}if(typeof n!=="object"){throw new TypeError(n+"must be non-object")}for(const r in n){if(_has(n,r)){e[r]=n[r]}}}return e};e.exports.flattenChunks=e=>{let r=0;for(let n=0,s=e.length;n{let r=true;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){r=false}const n=new Uint8Array(256);for(let e=0;e<256;e++){n[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1}n[254]=n[254]=1;e.exports.string2buf=e=>{if(typeof TextEncoder==="function"&&TextEncoder.prototype.encode){return(new TextEncoder).encode(e)}let r,n,s,i,o,c=e.length,u=0;for(i=0;i>>6;r[o++]=128|n&63}else if(n<65536){r[o++]=224|n>>>12;r[o++]=128|n>>>6&63;r[o++]=128|n&63}else{r[o++]=240|n>>>18;r[o++]=128|n>>>12&63;r[o++]=128|n>>>6&63;r[o++]=128|n&63}}return r};const buf2binstring=(e,n)=>{if(n<65534){if(e.subarray&&r){return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n))}}let s="";for(let r=0;r{const s=r||e.length;if(typeof TextDecoder==="function"&&TextDecoder.prototype.decode){return(new TextDecoder).decode(e.subarray(0,r))}let i,o;const c=new Array(s*2);for(o=0,i=0;i4){c[o++]=65533;i+=u-1;continue}r&=u===2?31:u===3?15:7;while(u>1&&i1){c[o++]=65533;continue}if(r<65536){c[o++]=r}else{r-=65536;c[o++]=55296|r>>10&1023;c[o++]=56320|r&1023}}return buf2binstring(c,o)};e.exports.utf8border=(e,r)=>{r=r||e.length;if(r>e.length){r=e.length}let s=r-1;while(s>=0&&(e[s]&192)===128){s--}if(s<0){return r}if(s===0){return r}return s+n[e[s]]>r?s:r}},19834:e=>{const adler32=(e,r,n,s)=>{let i=e&65535|0,o=e>>>16&65535|0,c=0;while(n!==0){c=n>2e3?2e3:n;n-=c;do{i=i+r[s++]|0;o=o+i|0}while(--c);i%=65521;o%=65521}return i|o<<16|0};e.exports=adler32},8958:e=>{e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},63780:e=>{const makeTable=()=>{let e,r=[];for(var n=0;n<256;n++){e=n;for(var s=0;s<8;s++){e=e&1?3988292384^e>>>1:e>>>1}r[n]=e}return r};const r=new Uint32Array(makeTable());const crc32=(e,n,s,i)=>{const o=r;const c=i+s;e^=-1;for(let r=i;r>>8^o[(e^n[r])&255]}return e^-1};e.exports=crc32},99760:(e,r,n)=>{const{_tr_init:s,_tr_stored_block:i,_tr_flush_block:o,_tr_tally:c,_tr_align:u}=n(31666);const d=n(19834);const A=n(63780);const h=n(52523);const{Z_NO_FLUSH:g,Z_PARTIAL_FLUSH:m,Z_FULL_FLUSH:y,Z_FINISH:E,Z_BLOCK:_,Z_OK:b,Z_STREAM_END:I,Z_STREAM_ERROR:v,Z_DATA_ERROR:C,Z_BUF_ERROR:w,Z_DEFAULT_COMPRESSION:B,Z_FILTERED:S,Z_HUFFMAN_ONLY:T,Z_RLE:k,Z_FIXED:R,Z_DEFAULT_STRATEGY:Q,Z_UNKNOWN:P,Z_DEFLATED:O}=n(8958);const D=9;const F=15;const M=8;const x=29;const U=256;const N=U+1+x;const L=30;const G=19;const j=2*N+1;const V=15;const q=3;const H=258;const W=H+q+1;const K=32;const J=42;const Y=57;const z=69;const $=73;const Z=91;const X=103;const ee=113;const te=666;const re=1;const ne=2;const se=3;const ie=4;const oe=3;const err=(e,r)=>{e.msg=h[r];return r};const rank=e=>e*2-(e>4?9:0);const zero=e=>{let r=e.length;while(--r>=0){e[r]=0}};const slide_hash=e=>{let r,n;let s;let i=e.w_size;r=e.hash_size;s=r;do{n=e.head[--s];e.head[s]=n>=i?n-i:0}while(--r);r=i;s=r;do{n=e.prev[--s];e.prev[s]=n>=i?n-i:0}while(--r)};let HASH_ZLIB=(e,r,n)=>(r<{const r=e.state;let n=r.pending;if(n>e.avail_out){n=e.avail_out}if(n===0){return}e.output.set(r.pending_buf.subarray(r.pending_out,r.pending_out+n),e.next_out);e.next_out+=n;r.pending_out+=n;e.total_out+=n;e.avail_out-=n;r.pending-=n;if(r.pending===0){r.pending_out=0}};const flush_block_only=(e,r)=>{o(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r);e.block_start=e.strstart;flush_pending(e.strm)};const put_byte=(e,r)=>{e.pending_buf[e.pending++]=r};const putShortMSB=(e,r)=>{e.pending_buf[e.pending++]=r>>>8&255;e.pending_buf[e.pending++]=r&255};const read_buf=(e,r,n,s)=>{let i=e.avail_in;if(i>s){i=s}if(i===0){return 0}e.avail_in-=i;r.set(e.input.subarray(e.next_in,e.next_in+i),n);if(e.state.wrap===1){e.adler=d(e.adler,r,i,n)}else if(e.state.wrap===2){e.adler=A(e.adler,r,i,n)}e.next_in+=i;e.total_in+=i;return i};const longest_match=(e,r)=>{let n=e.max_chain_length;let s=e.strstart;let i;let o;let c=e.prev_length;let u=e.nice_match;const d=e.strstart>e.w_size-W?e.strstart-(e.w_size-W):0;const A=e.window;const h=e.w_mask;const g=e.prev;const m=e.strstart+H;let y=A[s+c-1];let E=A[s+c];if(e.prev_length>=e.good_match){n>>=2}if(u>e.lookahead){u=e.lookahead}do{i=r;if(A[i+c]!==E||A[i+c-1]!==y||A[i]!==A[s]||A[++i]!==A[s+1]){continue}s+=2;i++;do{}while(A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&A[++s]===A[++i]&&sc){e.match_start=r;c=o;if(o>=u){break}y=A[s+c-1];E=A[s+c]}}while((r=g[r&h])>d&&--n!==0);if(c<=e.lookahead){return c}return e.lookahead};const fill_window=e=>{const r=e.w_size;let n,s,i;do{s=e.window_size-e.lookahead-e.strstart;if(e.strstart>=r+(r-W)){e.window.set(e.window.subarray(r,r+r-s),0);e.match_start-=r;e.strstart-=r;e.block_start-=r;if(e.insert>e.strstart){e.insert=e.strstart}slide_hash(e);s+=r}if(e.strm.avail_in===0){break}n=read_buf(e.strm,e.window,e.strstart+e.lookahead,s);e.lookahead+=n;if(e.lookahead+e.insert>=q){i=e.strstart-e.insert;e.ins_h=e.window[i];e.ins_h=ae(e,e.ins_h,e.window[i+1]);while(e.insert){e.ins_h=ae(e,e.ins_h,e.window[i+q-1]);e.prev[i&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=i;i++;e.insert--;if(e.lookahead+e.insert{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5;let s,o,c,u=0;let d=e.strm.avail_in;do{s=65535;c=e.bi_valid+42>>3;if(e.strm.avail_outo+e.strm.avail_in){s=o+e.strm.avail_in}if(s>c){s=c}if(s>8;e.pending_buf[e.pending-2]=~s;e.pending_buf[e.pending-1]=~s>>8;flush_pending(e.strm);if(o){if(o>s){o=s}e.strm.output.set(e.window.subarray(e.block_start,e.block_start+o),e.strm.next_out);e.strm.next_out+=o;e.strm.avail_out-=o;e.strm.total_out+=o;e.block_start+=o;s-=o}if(s){read_buf(e.strm,e.strm.output,e.strm.next_out,s);e.strm.next_out+=s;e.strm.avail_out-=s;e.strm.total_out+=s}}while(u===0);d-=e.strm.avail_in;if(d){if(d>=e.w_size){e.matches=2;e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0);e.strstart=e.w_size;e.insert=e.strstart}else{if(e.window_size-e.strstart<=d){e.strstart-=e.w_size;e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0);if(e.matches<2){e.matches++}if(e.insert>e.strstart){e.insert=e.strstart}}e.window.set(e.strm.input.subarray(e.strm.next_in-d,e.strm.next_in),e.strstart);e.strstart+=d;e.insert+=d>e.w_size-e.insert?e.w_size-e.insert:d}e.block_start=e.strstart}if(e.high_waterc&&e.block_start>=e.w_size){e.block_start-=e.w_size;e.strstart-=e.w_size;e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0);if(e.matches<2){e.matches++}c+=e.w_size;if(e.insert>e.strstart){e.insert=e.strstart}}if(c>e.strm.avail_in){c=e.strm.avail_in}if(c){read_buf(e.strm,e.window,e.strstart,c);e.strstart+=c;e.insert+=c>e.w_size-e.insert?e.w_size-e.insert:c}if(e.high_water>3;c=e.pending_buf_size-c>65535?65535:e.pending_buf_size-c;n=c>e.w_size?e.w_size:c;o=e.strstart-e.block_start;if(o>=n||(o||r===E)&&r!==g&&e.strm.avail_in===0&&o<=c){s=o>c?c:o;u=r===E&&e.strm.avail_in===0&&s===o?1:0;i(e,e.block_start,s,u);e.block_start+=s;flush_pending(e.strm)}return u?se:re};const deflate_fast=(e,r)=>{let n;let s;for(;;){if(e.lookahead=q){e.ins_h=ae(e,e.ins_h,e.window[e.strstart+q-1]);n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}if(n!==0&&e.strstart-n<=e.w_size-W){e.match_length=longest_match(e,n)}if(e.match_length>=q){s=c(e,e.strstart-e.match_start,e.match_length-q);e.lookahead-=e.match_length;if(e.match_length<=e.max_lazy_match&&e.lookahead>=q){e.match_length--;do{e.strstart++;e.ins_h=ae(e,e.ins_h,e.window[e.strstart+q-1]);n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}while(--e.match_length!==0);e.strstart++}else{e.strstart+=e.match_length;e.match_length=0;e.ins_h=e.window[e.strstart];e.ins_h=ae(e,e.ins_h,e.window[e.strstart+1])}}else{s=c(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(s){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}}e.insert=e.strstart{let n;let s;let i;for(;;){if(e.lookahead=q){e.ins_h=ae(e,e.ins_h,e.window[e.strstart+q-1]);n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}e.prev_length=e.match_length;e.prev_match=e.match_start;e.match_length=q-1;if(n!==0&&e.prev_length4096)){e.match_length=q-1}}if(e.prev_length>=q&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-q;s=c(e,e.strstart-1-e.prev_match,e.prev_length-q);e.lookahead-=e.prev_length-1;e.prev_length-=2;do{if(++e.strstart<=i){e.ins_h=ae(e,e.ins_h,e.window[e.strstart+q-1]);n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}}while(--e.prev_length!==0);e.match_available=0;e.match_length=q-1;e.strstart++;if(s){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}}else if(e.match_available){s=c(e,0,e.window[e.strstart-1]);if(s){flush_block_only(e,false)}e.strstart++;e.lookahead--;if(e.strm.avail_out===0){return re}}else{e.match_available=1;e.strstart++;e.lookahead--}}if(e.match_available){s=c(e,0,e.window[e.strstart-1]);e.match_available=0}e.insert=e.strstart{let n;let s;let i,o;const u=e.window;for(;;){if(e.lookahead<=H){fill_window(e);if(e.lookahead<=H&&r===g){return re}if(e.lookahead===0){break}}e.match_length=0;if(e.lookahead>=q&&e.strstart>0){i=e.strstart-1;s=u[i];if(s===u[++i]&&s===u[++i]&&s===u[++i]){o=e.strstart+H;do{}while(s===u[++i]&&s===u[++i]&&s===u[++i]&&s===u[++i]&&s===u[++i]&&s===u[++i]&&s===u[++i]&&s===u[++i]&&ie.lookahead){e.match_length=e.lookahead}}}if(e.match_length>=q){n=c(e,1,e.match_length-q);e.lookahead-=e.match_length;e.strstart+=e.match_length;e.match_length=0}else{n=c(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(n){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}}e.insert=0;if(r===E){flush_block_only(e,true);if(e.strm.avail_out===0){return se}return ie}if(e.sym_next){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}return ne};const deflate_huff=(e,r)=>{let n;for(;;){if(e.lookahead===0){fill_window(e);if(e.lookahead===0){if(r===g){return re}break}}e.match_length=0;n=c(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++;if(n){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}}e.insert=0;if(r===E){flush_block_only(e,true);if(e.strm.avail_out===0){return se}return ie}if(e.sym_next){flush_block_only(e,false);if(e.strm.avail_out===0){return re}}return ne};function Config(e,r,n,s,i){this.good_length=e;this.max_lazy=r;this.nice_length=n;this.max_chain=s;this.func=i}const ce=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];const lm_init=e=>{e.window_size=2*e.w_size;zero(e.head);e.max_lazy_match=ce[e.level].max_lazy;e.good_match=ce[e.level].good_length;e.nice_match=ce[e.level].nice_length;e.max_chain_length=ce[e.level].max_chain;e.strstart=0;e.block_start=0;e.lookahead=0;e.insert=0;e.match_length=e.prev_length=q-1;e.match_available=0;e.ins_h=0};function DeflateState(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=O;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new Uint16Array(j*2);this.dyn_dtree=new Uint16Array((2*L+1)*2);this.bl_tree=new Uint16Array((2*G+1)*2);zero(this.dyn_ltree);zero(this.dyn_dtree);zero(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new Uint16Array(V+1);this.heap=new Uint16Array(2*N+1);zero(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new Uint16Array(2*N+1);zero(this.depth);this.sym_buf=0;this.lit_bufsize=0;this.sym_next=0;this.sym_end=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}const deflateStateCheck=e=>{if(!e){return 1}const r=e.state;if(!r||r.strm!==e||r.status!==J&&r.status!==Y&&r.status!==z&&r.status!==$&&r.status!==Z&&r.status!==X&&r.status!==ee&&r.status!==te){return 1}return 0};const deflateResetKeep=e=>{if(deflateStateCheck(e)){return err(e,v)}e.total_in=e.total_out=0;e.data_type=P;const r=e.state;r.pending=0;r.pending_out=0;if(r.wrap<0){r.wrap=-r.wrap}r.status=r.wrap===2?Y:r.wrap?J:ee;e.adler=r.wrap===2?0:1;r.last_flush=-2;s(r);return b};const deflateReset=e=>{const r=deflateResetKeep(e);if(r===b){lm_init(e.state)}return r};const deflateSetHeader=(e,r)=>{if(deflateStateCheck(e)||e.state.wrap!==2){return v}e.state.gzhead=r;return b};const deflateInit2=(e,r,n,s,i,o)=>{if(!e){return v}let c=1;if(r===B){r=6}if(s<0){c=0;s=-s}else if(s>15){c=2;s-=16}if(i<1||i>D||n!==O||s<8||s>15||r<0||r>9||o<0||o>R||s===8&&c!==1){return err(e,v)}if(s===8){s=9}const u=new DeflateState;e.state=u;u.strm=e;u.status=J;u.wrap=c;u.gzhead=null;u.w_bits=s;u.w_size=1<deflateInit2(e,r,O,F,M,Q);const deflate=(e,r)=>{if(deflateStateCheck(e)||r>_||r<0){return e?err(e,v):v}const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===te&&r!==E){return err(e,e.avail_out===0?w:v)}const s=n.last_flush;n.last_flush=r;if(n.pending!==0){flush_pending(e);if(e.avail_out===0){n.last_flush=-1;return b}}else if(e.avail_in===0&&rank(r)<=rank(s)&&r!==E){return err(e,w)}if(n.status===te&&e.avail_in!==0){return err(e,w)}if(n.status===J&&n.wrap===0){n.status=ee}if(n.status===J){let r=O+(n.w_bits-8<<4)<<8;let s=-1;if(n.strategy>=T||n.level<2){s=0}else if(n.level<6){s=1}else if(n.level===6){s=2}else{s=3}r|=s<<6;if(n.strstart!==0){r|=K}r+=31-r%31;putShortMSB(n,r);if(n.strstart!==0){putShortMSB(n,e.adler>>>16);putShortMSB(n,e.adler&65535)}e.adler=1;n.status=ee;flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}}if(n.status===Y){e.adler=0;put_byte(n,31);put_byte(n,139);put_byte(n,8);if(!n.gzhead){put_byte(n,0);put_byte(n,0);put_byte(n,0);put_byte(n,0);put_byte(n,0);put_byte(n,n.level===9?2:n.strategy>=T||n.level<2?4:0);put_byte(n,oe);n.status=ee;flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}}else{put_byte(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(!n.gzhead.extra?0:4)+(!n.gzhead.name?0:8)+(!n.gzhead.comment?0:16));put_byte(n,n.gzhead.time&255);put_byte(n,n.gzhead.time>>8&255);put_byte(n,n.gzhead.time>>16&255);put_byte(n,n.gzhead.time>>24&255);put_byte(n,n.level===9?2:n.strategy>=T||n.level<2?4:0);put_byte(n,n.gzhead.os&255);if(n.gzhead.extra&&n.gzhead.extra.length){put_byte(n,n.gzhead.extra.length&255);put_byte(n,n.gzhead.extra.length>>8&255)}if(n.gzhead.hcrc){e.adler=A(e.adler,n.pending_buf,n.pending,0)}n.gzindex=0;n.status=z}}if(n.status===z){if(n.gzhead.extra){let r=n.pending;let s=(n.gzhead.extra.length&65535)-n.gzindex;while(n.pending+s>n.pending_buf_size){let i=n.pending_buf_size-n.pending;n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+i),n.pending);n.pending=n.pending_buf_size;if(n.gzhead.hcrc&&n.pending>r){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}n.gzindex+=i;flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}r=0;s-=i}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+s),n.pending);n.pending+=s;if(n.gzhead.hcrc&&n.pending>r){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}n.gzindex=0}n.status=$}if(n.status===$){if(n.gzhead.name){let r=n.pending;let s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}r=0}if(n.gzindexr){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}n.gzindex=0}n.status=Z}if(n.status===Z){if(n.gzhead.comment){let r=n.pending;let s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}r=0}if(n.gzindexr){e.adler=A(e.adler,n.pending_buf,n.pending-r,r)}}n.status=X}if(n.status===X){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size){flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}}put_byte(n,e.adler&255);put_byte(n,e.adler>>8&255);e.adler=0}n.status=ee;flush_pending(e);if(n.pending!==0){n.last_flush=-1;return b}}if(e.avail_in!==0||n.lookahead!==0||r!==g&&n.status!==te){let s=n.level===0?deflate_stored(n,r):n.strategy===T?deflate_huff(n,r):n.strategy===k?deflate_rle(n,r):ce[n.level].func(n,r);if(s===se||s===ie){n.status=te}if(s===re||s===se){if(e.avail_out===0){n.last_flush=-1}return b}if(s===ne){if(r===m){u(n)}else if(r!==_){i(n,0,0,false);if(r===y){zero(n.head);if(n.lookahead===0){n.strstart=0;n.block_start=0;n.insert=0}}}flush_pending(e);if(e.avail_out===0){n.last_flush=-1;return b}}}if(r!==E){return b}if(n.wrap<=0){return I}if(n.wrap===2){put_byte(n,e.adler&255);put_byte(n,e.adler>>8&255);put_byte(n,e.adler>>16&255);put_byte(n,e.adler>>24&255);put_byte(n,e.total_in&255);put_byte(n,e.total_in>>8&255);put_byte(n,e.total_in>>16&255);put_byte(n,e.total_in>>24&255)}else{putShortMSB(n,e.adler>>>16);putShortMSB(n,e.adler&65535)}flush_pending(e);if(n.wrap>0){n.wrap=-n.wrap}return n.pending!==0?b:I};const deflateEnd=e=>{if(deflateStateCheck(e)){return v}const r=e.state.status;e.state=null;return r===ee?err(e,C):b};const deflateSetDictionary=(e,r)=>{let n=r.length;if(deflateStateCheck(e)){return v}const s=e.state;const i=s.wrap;if(i===2||i===1&&s.status!==J||s.lookahead){return v}if(i===1){e.adler=d(e.adler,r,n,0)}s.wrap=0;if(n>=s.w_size){if(i===0){zero(s.head);s.strstart=0;s.block_start=0;s.insert=0}let e=new Uint8Array(s.w_size);e.set(r.subarray(n-s.w_size,n),0);r=e;n=s.w_size}const o=e.avail_in;const c=e.next_in;const u=e.input;e.avail_in=n;e.next_in=0;e.input=r;fill_window(s);while(s.lookahead>=q){let e=s.strstart;let r=s.lookahead-(q-1);do{s.ins_h=ae(s,s.ins_h,s.window[e+q-1]);s.prev[e&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=e;e++}while(--r);s.strstart=e;s.lookahead=q-1;fill_window(s)}s.strstart+=s.lookahead;s.block_start=s.strstart;s.insert=s.lookahead;s.lookahead=0;s.match_length=s.prev_length=q-1;s.match_available=0;e.next_in=c;e.input=u;e.avail_in=o;s.wrap=i;return b};e.exports.deflateInit=deflateInit;e.exports.deflateInit2=deflateInit2;e.exports.deflateReset=deflateReset;e.exports.deflateResetKeep=deflateResetKeep;e.exports.deflateSetHeader=deflateSetHeader;e.exports.deflate=deflate;e.exports.deflateEnd=deflateEnd;e.exports.deflateSetDictionary=deflateSetDictionary;e.exports.deflateInfo="pako deflate (from Nodeca project)"},88991:e=>{function GZheader(){this.text=0;this.time=0;this.xflags=0;this.os=0;this.extra=null;this.extra_len=0;this.name="";this.comment="";this.hcrc=0;this.done=false}e.exports=GZheader},47894:e=>{const r=16209;const n=16191;e.exports=function inflate_fast(e,s){let i;let o;let c;let u;let d;let A;let h;let g;let m;let y;let E;let _;let b;let I;let v;let C;let w;let B;let S;let T;let k;let R;let Q,P;const O=e.state;i=e.next_in;Q=e.input;o=i+(e.avail_in-5);c=e.next_out;P=e.output;u=c-(s-e.avail_out);d=c+(e.avail_out-257);A=O.dmax;h=O.wsize;g=O.whave;m=O.wnext;y=O.window;E=O.hold;_=O.bits;b=O.lencode;I=O.distcode;v=(1<>>24;E>>>=B;_-=B;B=w>>>16&255;if(B===0){P[c++]=w&65535}else if(B&16){S=w&65535;B&=15;if(B){if(_>>=B;_-=B}if(_<15){E+=Q[i++]<<_;_+=8;E+=Q[i++]<<_;_+=8}w=I[E&C];r:for(;;){B=w>>>24;E>>>=B;_-=B;B=w>>>16&255;if(B&16){T=w&65535;B&=15;if(_A){e.msg="invalid distance too far back";O.mode=r;break e}E>>>=B;_-=B;B=c-u;if(T>B){B=T-B;if(B>g){if(O.sane){e.msg="invalid distance too far back";O.mode=r;break e}}k=0;R=y;if(m===0){k+=h-B;if(B2){P[c++]=R[k++];P[c++]=R[k++];P[c++]=R[k++];S-=3}if(S){P[c++]=R[k++];if(S>1){P[c++]=R[k++]}}}else{k=c-T;do{P[c++]=P[k++];P[c++]=P[k++];P[c++]=P[k++];S-=3}while(S>2);if(S){P[c++]=P[k++];if(S>1){P[c++]=P[k++]}}}}else if((B&64)===0){w=I[(w&65535)+(E&(1<>3;i-=S;_-=S<<3;E&=(1<<_)-1;e.next_in=i;e.next_out=c;e.avail_in=i{const s=n(19834);const i=n(63780);const o=n(47894);const c=n(8611);const u=0;const d=1;const A=2;const{Z_FINISH:h,Z_BLOCK:g,Z_TREES:m,Z_OK:y,Z_STREAM_END:E,Z_NEED_DICT:_,Z_STREAM_ERROR:b,Z_DATA_ERROR:I,Z_MEM_ERROR:v,Z_BUF_ERROR:C,Z_DEFLATED:w}=n(8958);const B=16180;const S=16181;const T=16182;const k=16183;const R=16184;const Q=16185;const P=16186;const O=16187;const D=16188;const F=16189;const M=16190;const x=16191;const U=16192;const N=16193;const L=16194;const G=16195;const j=16196;const V=16197;const q=16198;const H=16199;const W=16200;const K=16201;const J=16202;const Y=16203;const z=16204;const $=16205;const Z=16206;const X=16207;const ee=16208;const te=16209;const re=16210;const ne=16211;const se=852;const ie=592;const oe=15;const ae=oe;const zswap32=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function InflateState(){this.strm=null;this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new Uint16Array(320);this.work=new Uint16Array(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}const inflateStateCheck=e=>{if(!e){return 1}const r=e.state;if(!r||r.strm!==e||r.modene){return 1}return 0};const inflateResetKeep=e=>{if(inflateStateCheck(e)){return b}const r=e.state;e.total_in=e.total_out=r.total=0;e.msg="";if(r.wrap){e.adler=r.wrap&1}r.mode=B;r.last=0;r.havedict=0;r.flags=-1;r.dmax=32768;r.head=null;r.hold=0;r.bits=0;r.lencode=r.lendyn=new Int32Array(se);r.distcode=r.distdyn=new Int32Array(ie);r.sane=1;r.back=-1;return y};const inflateReset=e=>{if(inflateStateCheck(e)){return b}const r=e.state;r.wsize=0;r.whave=0;r.wnext=0;return inflateResetKeep(e)};const inflateReset2=(e,r)=>{let n;if(inflateStateCheck(e)){return b}const s=e.state;if(r<0){n=0;r=-r}else{n=(r>>4)+5;if(r<48){r&=15}}if(r&&(r<8||r>15)){return b}if(s.window!==null&&s.wbits!==r){s.window=null}s.wrap=n;s.wbits=r;return inflateReset(e)};const inflateInit2=(e,r)=>{if(!e){return b}const n=new InflateState;e.state=n;n.strm=e;n.window=null;n.mode=B;const s=inflateReset2(e,r);if(s!==y){e.state=null}return s};const inflateInit=e=>inflateInit2(e,ae);let ce=true;let le,ue;const fixedtables=e=>{if(ce){le=new Int32Array(512);ue=new Int32Array(32);let r=0;while(r<144){e.lens[r++]=8}while(r<256){e.lens[r++]=9}while(r<280){e.lens[r++]=7}while(r<288){e.lens[r++]=8}c(d,e.lens,0,288,le,0,e.work,{bits:9});r=0;while(r<32){e.lens[r++]=5}c(A,e.lens,0,32,ue,0,e.work,{bits:5});ce=false}e.lencode=le;e.lenbits=9;e.distcode=ue;e.distbits=5};const updatewindow=(e,r,n,s)=>{let i;const o=e.state;if(o.window===null){o.wsize=1<=o.wsize){o.window.set(r.subarray(n-o.wsize,n),0);o.wnext=0;o.whave=o.wsize}else{i=o.wsize-o.wnext;if(i>s){i=s}o.window.set(r.subarray(n-s,n-s+i),o.wnext);s-=i;if(s){o.window.set(r.subarray(n-s,n),0);o.wnext=s;o.whave=o.wsize}else{o.wnext+=i;if(o.wnext===o.wsize){o.wnext=0}if(o.whave{let n;let se,ie;let oe;let ae;let ce,le;let ue;let de;let pe,fe;let Ae;let he;let ge;let me=0;let ye,Ee,_e;let be,Ie,ve;let Ce;let we;const Be=new Uint8Array(4);let Se;let Te;const ke=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(inflateStateCheck(e)||!e.output||!e.input&&e.avail_in!==0){return b}n=e.state;if(n.mode===x){n.mode=U}ae=e.next_out;ie=e.output;le=e.avail_out;oe=e.next_in;se=e.input;ce=e.avail_in;ue=n.hold;de=n.bits;pe=ce;fe=le;we=y;e:for(;;){switch(n.mode){case B:if(n.wrap===0){n.mode=U;break}while(de<16){if(ce===0){break e}ce--;ue+=se[oe++]<>>8&255;n.check=i(n.check,Be,2,0);ue=0;de=0;n.mode=S;break}if(n.head){n.head.done=false}if(!(n.wrap&1)||(((ue&255)<<8)+(ue>>8))%31){e.msg="incorrect header check";n.mode=te;break}if((ue&15)!==w){e.msg="unknown compression method";n.mode=te;break}ue>>>=4;de-=4;Ce=(ue&15)+8;if(n.wbits===0){n.wbits=Ce}if(Ce>15||Ce>n.wbits){e.msg="invalid window size";n.mode=te;break}n.dmax=1<>8&1}if(n.flags&512&&n.wrap&4){Be[0]=ue&255;Be[1]=ue>>>8&255;n.check=i(n.check,Be,2,0)}ue=0;de=0;n.mode=T;case T:while(de<32){if(ce===0){break e}ce--;ue+=se[oe++]<>>8&255;Be[2]=ue>>>16&255;Be[3]=ue>>>24&255;n.check=i(n.check,Be,4,0)}ue=0;de=0;n.mode=k;case k:while(de<16){if(ce===0){break e}ce--;ue+=se[oe++]<>8}if(n.flags&512&&n.wrap&4){Be[0]=ue&255;Be[1]=ue>>>8&255;n.check=i(n.check,Be,2,0)}ue=0;de=0;n.mode=R;case R:if(n.flags&1024){while(de<16){if(ce===0){break e}ce--;ue+=se[oe++]<>>8&255;n.check=i(n.check,Be,2,0)}ue=0;de=0}else if(n.head){n.head.extra=null}n.mode=Q;case Q:if(n.flags&1024){Ae=n.length;if(Ae>ce){Ae=ce}if(Ae){if(n.head){Ce=n.head.extra_len-n.length;if(!n.head.extra){n.head.extra=new Uint8Array(n.head.extra_len)}n.head.extra.set(se.subarray(oe,oe+Ae),Ce)}if(n.flags&512&&n.wrap&4){n.check=i(n.check,se,Ae,oe)}ce-=Ae;oe+=Ae;n.length-=Ae}if(n.length){break e}}n.length=0;n.mode=P;case P:if(n.flags&2048){if(ce===0){break e}Ae=0;do{Ce=se[oe+Ae++];if(n.head&&Ce&&n.length<65536){n.head.name+=String.fromCharCode(Ce)}}while(Ce&&Ae>9&1;n.head.done=true}e.adler=n.check=0;n.mode=x;break;case F:while(de<32){if(ce===0){break e}ce--;ue+=se[oe++]<>>=de&7;de-=de&7;n.mode=Z;break}while(de<3){if(ce===0){break e}ce--;ue+=se[oe++]<>>=1;de-=1;switch(ue&3){case 0:n.mode=N;break;case 1:fixedtables(n);n.mode=H;if(r===m){ue>>>=2;de-=2;break e}break;case 2:n.mode=j;break;case 3:e.msg="invalid block type";n.mode=te}ue>>>=2;de-=2;break;case N:ue>>>=de&7;de-=de&7;while(de<32){if(ce===0){break e}ce--;ue+=se[oe++]<>>16^65535)){e.msg="invalid stored block lengths";n.mode=te;break}n.length=ue&65535;ue=0;de=0;n.mode=L;if(r===m){break e}case L:n.mode=G;case G:Ae=n.length;if(Ae){if(Ae>ce){Ae=ce}if(Ae>le){Ae=le}if(Ae===0){break e}ie.set(se.subarray(oe,oe+Ae),ae);ce-=Ae;oe+=Ae;le-=Ae;ae+=Ae;n.length-=Ae;break}n.mode=x;break;case j:while(de<14){if(ce===0){break e}ce--;ue+=se[oe++]<>>=5;de-=5;n.ndist=(ue&31)+1;ue>>>=5;de-=5;n.ncode=(ue&15)+4;ue>>>=4;de-=4;if(n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols";n.mode=te;break}n.have=0;n.mode=V;case V:while(n.have>>=3;de-=3}while(n.have<19){n.lens[ke[n.have++]]=0}n.lencode=n.lendyn;n.lenbits=7;Se={bits:n.lenbits};we=c(u,n.lens,0,19,n.lencode,0,n.work,Se);n.lenbits=Se.bits;if(we){e.msg="invalid code lengths set";n.mode=te;break}n.have=0;n.mode=q;case q:while(n.have>>24;Ee=me>>>16&255;_e=me&65535;if(ye<=de){break}if(ce===0){break e}ce--;ue+=se[oe++]<>>=ye;de-=ye;n.lens[n.have++]=_e}else{if(_e===16){Te=ye+2;while(de>>=ye;de-=ye;if(n.have===0){e.msg="invalid bit length repeat";n.mode=te;break}Ce=n.lens[n.have-1];Ae=3+(ue&3);ue>>>=2;de-=2}else if(_e===17){Te=ye+3;while(de>>=ye;de-=ye;Ce=0;Ae=3+(ue&7);ue>>>=3;de-=3}else{Te=ye+7;while(de>>=ye;de-=ye;Ce=0;Ae=11+(ue&127);ue>>>=7;de-=7}if(n.have+Ae>n.nlen+n.ndist){e.msg="invalid bit length repeat";n.mode=te;break}while(Ae--){n.lens[n.have++]=Ce}}}if(n.mode===te){break}if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block";n.mode=te;break}n.lenbits=9;Se={bits:n.lenbits};we=c(d,n.lens,0,n.nlen,n.lencode,0,n.work,Se);n.lenbits=Se.bits;if(we){e.msg="invalid literal/lengths set";n.mode=te;break}n.distbits=6;n.distcode=n.distdyn;Se={bits:n.distbits};we=c(A,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Se);n.distbits=Se.bits;if(we){e.msg="invalid distances set";n.mode=te;break}n.mode=H;if(r===m){break e}case H:n.mode=W;case W:if(ce>=6&&le>=258){e.next_out=ae;e.avail_out=le;e.next_in=oe;e.avail_in=ce;n.hold=ue;n.bits=de;o(e,fe);ae=e.next_out;ie=e.output;le=e.avail_out;oe=e.next_in;se=e.input;ce=e.avail_in;ue=n.hold;de=n.bits;if(n.mode===x){n.back=-1}break}n.back=0;for(;;){me=n.lencode[ue&(1<>>24;Ee=me>>>16&255;_e=me&65535;if(ye<=de){break}if(ce===0){break e}ce--;ue+=se[oe++]<>be)];ye=me>>>24;Ee=me>>>16&255;_e=me&65535;if(be+ye<=de){break}if(ce===0){break e}ce--;ue+=se[oe++]<>>=be;de-=be;n.back+=be}ue>>>=ye;de-=ye;n.back+=ye;n.length=_e;if(Ee===0){n.mode=$;break}if(Ee&32){n.back=-1;n.mode=x;break}if(Ee&64){e.msg="invalid literal/length code";n.mode=te;break}n.extra=Ee&15;n.mode=K;case K:if(n.extra){Te=n.extra;while(de>>=n.extra;de-=n.extra;n.back+=n.extra}n.was=n.length;n.mode=J;case J:for(;;){me=n.distcode[ue&(1<>>24;Ee=me>>>16&255;_e=me&65535;if(ye<=de){break}if(ce===0){break e}ce--;ue+=se[oe++]<>be)];ye=me>>>24;Ee=me>>>16&255;_e=me&65535;if(be+ye<=de){break}if(ce===0){break e}ce--;ue+=se[oe++]<>>=be;de-=be;n.back+=be}ue>>>=ye;de-=ye;n.back+=ye;if(Ee&64){e.msg="invalid distance code";n.mode=te;break}n.offset=_e;n.extra=Ee&15;n.mode=Y;case Y:if(n.extra){Te=n.extra;while(de>>=n.extra;de-=n.extra;n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back";n.mode=te;break}n.mode=z;case z:if(le===0){break e}Ae=fe-le;if(n.offset>Ae){Ae=n.offset-Ae;if(Ae>n.whave){if(n.sane){e.msg="invalid distance too far back";n.mode=te;break}}if(Ae>n.wnext){Ae-=n.wnext;he=n.wsize-Ae}else{he=n.wnext-Ae}if(Ae>n.length){Ae=n.length}ge=n.window}else{ge=ie;he=ae-n.offset;Ae=n.length}if(Ae>le){Ae=le}le-=Ae;n.length-=Ae;do{ie[ae++]=ge[he++]}while(--Ae);if(n.length===0){n.mode=W}break;case $:if(le===0){break e}ie[ae++]=n.length;le--;n.mode=W;break;case Z:if(n.wrap){while(de<32){if(ce===0){break e}ce--;ue|=se[oe++]<{if(inflateStateCheck(e)){return b}let r=e.state;if(r.window){r.window=null}e.state=null;return y};const inflateGetHeader=(e,r)=>{if(inflateStateCheck(e)){return b}const n=e.state;if((n.wrap&2)===0){return b}n.head=r;r.done=false;return y};const inflateSetDictionary=(e,r)=>{const n=r.length;let i;let o;let c;if(inflateStateCheck(e)){return b}i=e.state;if(i.wrap!==0&&i.mode!==M){return b}if(i.mode===M){o=1;o=s(o,r,n,0);if(o!==i.check){return I}}c=updatewindow(e,r,n,n);if(c){i.mode=re;return v}i.havedict=1;return y};e.exports.inflateReset=inflateReset;e.exports.inflateReset2=inflateReset2;e.exports.inflateResetKeep=inflateResetKeep;e.exports.inflateInit=inflateInit;e.exports.inflateInit2=inflateInit2;e.exports.inflate=inflate;e.exports.inflateEnd=inflateEnd;e.exports.inflateGetHeader=inflateGetHeader;e.exports.inflateSetDictionary=inflateSetDictionary;e.exports.inflateInfo="pako inflate (from Nodeca project)"},8611:e=>{const r=15;const n=852;const s=592;const i=0;const o=1;const c=2;const u=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]);const d=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]);const A=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]);const h=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);const inflate_table=(e,g,m,y,E,_,b,I)=>{const v=I.bits;let C=0;let w=0;let B=0,S=0;let T=0;let k=0;let R=0;let Q=0;let P=0;let O=0;let D;let F;let M;let x;let U;let N=null;let L;const G=new Uint16Array(r+1);const j=new Uint16Array(r+1);let V=null;let q,H,W;for(C=0;C<=r;C++){G[C]=0}for(w=0;w=1;S--){if(G[S]!==0){break}}if(T>S){T=S}if(S===0){E[_++]=1<<24|64<<16|0;E[_++]=1<<24|64<<16|0;I.bits=1;return 0}for(B=1;B0&&(e===i||S!==1)){return-1}j[1]=0;for(C=1;Cn||e===c&&P>s){return 1}for(;;){q=C-R;if(b[w]+1=L){H=V[b[w]-L];W=N[b[w]-L]}else{H=32+64;W=0}D=1<>R)+F]=q<<24|H<<16|W|0}while(F!==0);D=1<>=1}if(D!==0){O&=D-1;O+=D}else{O=0}w++;if(--G[C]===0){if(C===S){break}C=g[m+b[w]]}if(C>T&&(O&x)!==M){if(R===0){R=T}U+=B;k=C-R;Q=1<n||e===c&&P>s){return 1}M=O&x;E[M]=T<<24|k<<16|U-_|0}}if(O!==0){E[U+O]=C-R<<24|64<<16|0}I.bits=T;return 0};e.exports=inflate_table},52523:e=>{e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},31666:e=>{const r=4;const n=0;const s=1;const i=2;function zero(e){let r=e.length;while(--r>=0){e[r]=0}}const o=0;const c=1;const u=2;const d=3;const A=258;const h=29;const g=256;const m=g+1+h;const y=30;const E=19;const _=2*m+1;const b=15;const I=16;const v=7;const C=256;const w=16;const B=17;const S=18;const T=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);const k=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);const R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);const Q=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);const P=512;const O=new Array((m+2)*2);zero(O);const D=new Array(y*2);zero(D);const F=new Array(P);zero(F);const M=new Array(A-d+1);zero(M);const x=new Array(h);zero(x);const U=new Array(y);zero(U);function StaticTreeDesc(e,r,n,s,i){this.static_tree=e;this.extra_bits=r;this.extra_base=n;this.elems=s;this.max_length=i;this.has_stree=e&&e.length}let N;let L;let G;function TreeDesc(e,r){this.dyn_tree=e;this.max_code=0;this.stat_desc=r}const d_code=e=>e<256?F[e]:F[256+(e>>>7)];const put_short=(e,r)=>{e.pending_buf[e.pending++]=r&255;e.pending_buf[e.pending++]=r>>>8&255};const send_bits=(e,r,n)=>{if(e.bi_valid>I-n){e.bi_buf|=r<>I-e.bi_valid;e.bi_valid+=n-I}else{e.bi_buf|=r<{send_bits(e,n[r*2],n[r*2+1])};const bi_reverse=(e,r)=>{let n=0;do{n|=e&1;e>>>=1;n<<=1}while(--r>0);return n>>>1};const bi_flush=e=>{if(e.bi_valid===16){put_short(e,e.bi_buf);e.bi_buf=0;e.bi_valid=0}else if(e.bi_valid>=8){e.pending_buf[e.pending++]=e.bi_buf&255;e.bi_buf>>=8;e.bi_valid-=8}};const gen_bitlen=(e,r)=>{const n=r.dyn_tree;const s=r.max_code;const i=r.stat_desc.static_tree;const o=r.stat_desc.has_stree;const c=r.stat_desc.extra_bits;const u=r.stat_desc.extra_base;const d=r.stat_desc.max_length;let A;let h,g;let m;let y;let E;let I=0;for(m=0;m<=b;m++){e.bl_count[m]=0}n[e.heap[e.heap_max]*2+1]=0;for(A=e.heap_max+1;A<_;A++){h=e.heap[A];m=n[n[h*2+1]*2+1]+1;if(m>d){m=d;I++}n[h*2+1]=m;if(h>s){continue}e.bl_count[m]++;y=0;if(h>=u){y=c[h-u]}E=n[h*2];e.opt_len+=E*(m+y);if(o){e.static_len+=E*(i[h*2+1]+y)}}if(I===0){return}do{m=d-1;while(e.bl_count[m]===0){m--}e.bl_count[m]--;e.bl_count[m+1]+=2;e.bl_count[d]--;I-=2}while(I>0);for(m=d;m!==0;m--){h=e.bl_count[m];while(h!==0){g=e.heap[--A];if(g>s){continue}if(n[g*2+1]!==m){e.opt_len+=(m-n[g*2+1])*n[g*2];n[g*2+1]=m}h--}}};const gen_codes=(e,r,n)=>{const s=new Array(b+1);let i=0;let o;let c;for(o=1;o<=b;o++){i=i+n[o-1]<<1;s[o]=i}for(c=0;c<=r;c++){let r=e[c*2+1];if(r===0){continue}e[c*2]=bi_reverse(s[r]++,r)}};const tr_static_init=()=>{let e;let r;let n;let s;let i;const o=new Array(b+1);n=0;for(s=0;s>=7;for(;s{let r;for(r=0;r{if(e.bi_valid>8){put_short(e,e.bi_buf)}else if(e.bi_valid>0){e.pending_buf[e.pending++]=e.bi_buf}e.bi_buf=0;e.bi_valid=0};const smaller=(e,r,n,s)=>{const i=r*2;const o=n*2;return e[i]{const s=e.heap[n];let i=n<<1;while(i<=e.heap_len){if(i{let s;let i;let o=0;let c;let u;if(e.sym_next!==0){do{s=e.pending_buf[e.sym_buf+o++]&255;s+=(e.pending_buf[e.sym_buf+o++]&255)<<8;i=e.pending_buf[e.sym_buf+o++];if(s===0){send_code(e,i,r)}else{c=M[i];send_code(e,c+g+1,r);u=T[c];if(u!==0){i-=x[c];send_bits(e,i,u)}s--;c=d_code(s);send_code(e,c,n);u=k[c];if(u!==0){s-=U[c];send_bits(e,s,u)}}}while(o{const n=r.dyn_tree;const s=r.stat_desc.static_tree;const i=r.stat_desc.has_stree;const o=r.stat_desc.elems;let c,u;let d=-1;let A;e.heap_len=0;e.heap_max=_;for(c=0;c>1;c>=1;c--){pqdownheap(e,n,c)}A=o;do{c=e.heap[1];e.heap[1]=e.heap[e.heap_len--];pqdownheap(e,n,1);u=e.heap[1];e.heap[--e.heap_max]=c;e.heap[--e.heap_max]=u;n[A*2]=n[c*2]+n[u*2];e.depth[A]=(e.depth[c]>=e.depth[u]?e.depth[c]:e.depth[u])+1;n[c*2+1]=n[u*2+1]=A;e.heap[1]=A++;pqdownheap(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1];gen_bitlen(e,r);gen_codes(n,d,e.bl_count)};const scan_tree=(e,r,n)=>{let s;let i=-1;let o;let c=r[0*2+1];let u=0;let d=7;let A=4;if(c===0){d=138;A=3}r[(n+1)*2+1]=65535;for(s=0;s<=n;s++){o=c;c=r[(s+1)*2+1];if(++u{let s;let i=-1;let o;let c=r[0*2+1];let u=0;let d=7;let A=4;if(c===0){d=138;A=3}for(s=0;s<=n;s++){o=c;c=r[(s+1)*2+1];if(++u{let r;scan_tree(e,e.dyn_ltree,e.l_desc.max_code);scan_tree(e,e.dyn_dtree,e.d_desc.max_code);build_tree(e,e.bl_desc);for(r=E-1;r>=3;r--){if(e.bl_tree[Q[r]*2+1]!==0){break}}e.opt_len+=3*(r+1)+5+5+4;return r};const send_all_trees=(e,r,n,s)=>{let i;send_bits(e,r-257,5);send_bits(e,n-1,5);send_bits(e,s-4,4);for(i=0;i{let r=4093624447;let i;for(i=0;i<=31;i++,r>>>=1){if(r&1&&e.dyn_ltree[i*2]!==0){return n}}if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0){return s}for(i=32;i{if(!j){tr_static_init();j=true}e.l_desc=new TreeDesc(e.dyn_ltree,N);e.d_desc=new TreeDesc(e.dyn_dtree,L);e.bl_desc=new TreeDesc(e.bl_tree,G);e.bi_buf=0;e.bi_valid=0;init_block(e)};const _tr_stored_block=(e,r,n,s)=>{send_bits(e,(o<<1)+(s?1:0),3);bi_windup(e);put_short(e,n);put_short(e,~n);if(n){e.pending_buf.set(e.window.subarray(r,r+n),e.pending)}e.pending+=n};const _tr_align=e=>{send_bits(e,c<<1,3);send_code(e,C,O);bi_flush(e)};const _tr_flush_block=(e,n,s,o)=>{let d,A;let h=0;if(e.level>0){if(e.strm.data_type===i){e.strm.data_type=detect_data_type(e)}build_tree(e,e.l_desc);build_tree(e,e.d_desc);h=build_bl_tree(e);d=e.opt_len+3+7>>>3;A=e.static_len+3+7>>>3;if(A<=d){d=A}}else{d=A=s+5}if(s+4<=d&&n!==-1){_tr_stored_block(e,n,s,o)}else if(e.strategy===r||A===d){send_bits(e,(c<<1)+(o?1:0),3);compress_block(e,O,D)}else{send_bits(e,(u<<1)+(o?1:0),3);send_all_trees(e,e.l_desc.max_code+1,e.d_desc.max_code+1,h+1);compress_block(e,e.dyn_ltree,e.dyn_dtree)}init_block(e);if(o){bi_windup(e)}};const _tr_tally=(e,r,n)=>{e.pending_buf[e.sym_buf+e.sym_next++]=r;e.pending_buf[e.sym_buf+e.sym_next++]=r>>8;e.pending_buf[e.sym_buf+e.sym_next++]=n;if(r===0){e.dyn_ltree[n*2]++}else{e.matches++;r--;e.dyn_ltree[(M[n]+g+1)*2]++;e.dyn_dtree[d_code(r)*2]++}return e.sym_next===e.sym_end};e.exports._tr_init=_tr_init;e.exports._tr_stored_block=_tr_stored_block;e.exports._tr_flush_block=_tr_flush_block;e.exports._tr_tally=_tr_tally;e.exports._tr_align=_tr_align},89137:e=>{function ZStream(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}e.exports=ZStream},50118:e=>{e.exports=asyncMap;function asyncMap(){var e=Array.prototype.slice.call(arguments),r=e.shift()||[],n=e.pop();if(typeof n!=="function")throw new Error("No callback provided to asyncMap");if(!r)return n(null,[]);if(!Array.isArray(r))r=[r];var s=e.length,i=[],o=null,c=r.length,u=c*s;if(!u)return n(null,[]);function cb(d){if(d&&!o)o=d;var A=arguments.length;for(var h=1;hc){var g=r.slice(c);u+=(r.length-c)*s;c=r.length;process.nextTick((function(){g.forEach((function(r){e.forEach((function(e){e(r,cb)}))}))}))}if(--u===0)n.apply(null,[o].concat(i))}r.forEach((function(r){e.forEach((function(e){e(r,cb)}))}))}},2670:e=>{e.exports=bindActor;function bindActor(){var e=Array.prototype.slice.call(arguments),r=null,n;if(typeof e[0]==="object"){r=e.shift();n=e.shift();if(typeof n==="string")n=r[n]}else n=e.shift();return function(s){n.apply(r,e.concat(s))}}},51572:(e,r,n)=>{e.exports=chain;var s=n(2670);chain.first={};chain.last={};function chain(e,r){var n=[];(function LOOP(i,o){if(i>=o)return r(null,n);if(Array.isArray(e[i]))e[i]=s.apply(null,e[i].map((function(e){return e===chain.first?n[0]:e===chain.last?n[n.length-1]:e})));if(!e[i])return LOOP(i+1,o);e[i]((function(e,s){if(e)return r(e,n);if(s!==undefined)n=n.concat(s);LOOP(i+1,o)}))})(0,e.length)}},67324:(e,r,n)=>{n(50118);n(2670);r.chain=n(51572)},67290:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});const s=n(68632);const i=4096;const o="utf8";class SmartBuffer{constructor(e){this.length=0;this._encoding=o;this._writeOffset=0;this._readOffset=0;if(SmartBuffer.isSmartBufferOptions(e)){if(e.encoding){s.checkEncoding(e.encoding);this._encoding=e.encoding}if(e.size){if(s.isFiniteInteger(e.size)&&e.size>0){this._buff=Buffer.allocUnsafe(e.size)}else{throw new Error(s.ERRORS.INVALID_SMARTBUFFER_SIZE)}}else if(e.buff){if(Buffer.isBuffer(e.buff)){this._buff=e.buff;this.length=e.buff.length}else{throw new Error(s.ERRORS.INVALID_SMARTBUFFER_BUFFER)}}else{this._buff=Buffer.allocUnsafe(i)}}else{if(typeof e!=="undefined"){throw new Error(s.ERRORS.INVALID_SMARTBUFFER_OBJECT)}this._buff=Buffer.allocUnsafe(i)}}static fromSize(e,r){return new this({size:e,encoding:r})}static fromBuffer(e,r){return new this({buff:e,encoding:r})}static fromOptions(e){return new this(e)}static isSmartBufferOptions(e){const r=e;return r&&(r.encoding!==undefined||r.size!==undefined||r.buff!==undefined)}readInt8(e){return this._readNumberValue(Buffer.prototype.readInt8,1,e)}readInt16BE(e){return this._readNumberValue(Buffer.prototype.readInt16BE,2,e)}readInt16LE(e){return this._readNumberValue(Buffer.prototype.readInt16LE,2,e)}readInt32BE(e){return this._readNumberValue(Buffer.prototype.readInt32BE,4,e)}readInt32LE(e){return this._readNumberValue(Buffer.prototype.readInt32LE,4,e)}readBigInt64BE(e){s.bigIntAndBufferInt64Check("readBigInt64BE");return this._readNumberValue(Buffer.prototype.readBigInt64BE,8,e)}readBigInt64LE(e){s.bigIntAndBufferInt64Check("readBigInt64LE");return this._readNumberValue(Buffer.prototype.readBigInt64LE,8,e)}writeInt8(e,r){this._writeNumberValue(Buffer.prototype.writeInt8,1,e,r);return this}insertInt8(e,r){return this._insertNumberValue(Buffer.prototype.writeInt8,1,e,r)}writeInt16BE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,e,r)}insertInt16BE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,e,r)}writeInt16LE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,e,r)}insertInt16LE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,e,r)}writeInt32BE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,e,r)}insertInt32BE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,e,r)}writeInt32LE(e,r){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,e,r)}insertInt32LE(e,r){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,e,r)}writeBigInt64BE(e,r){s.bigIntAndBufferInt64Check("writeBigInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,e,r)}insertBigInt64BE(e,r){s.bigIntAndBufferInt64Check("writeBigInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,e,r)}writeBigInt64LE(e,r){s.bigIntAndBufferInt64Check("writeBigInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,e,r)}insertBigInt64LE(e,r){s.bigIntAndBufferInt64Check("writeBigInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,e,r)}readUInt8(e){return this._readNumberValue(Buffer.prototype.readUInt8,1,e)}readUInt16BE(e){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,e)}readUInt16LE(e){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,e)}readUInt32BE(e){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,e)}readUInt32LE(e){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,e)}readBigUInt64BE(e){s.bigIntAndBufferInt64Check("readBigUInt64BE");return this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,e)}readBigUInt64LE(e){s.bigIntAndBufferInt64Check("readBigUInt64LE");return this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,e)}writeUInt8(e,r){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,e,r)}insertUInt8(e,r){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,e,r)}writeUInt16BE(e,r){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,e,r)}insertUInt16BE(e,r){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,e,r)}writeUInt16LE(e,r){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,e,r)}insertUInt16LE(e,r){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,e,r)}writeUInt32BE(e,r){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,e,r)}insertUInt32BE(e,r){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,e,r)}writeUInt32LE(e,r){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,e,r)}insertUInt32LE(e,r){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,e,r)}writeBigUInt64BE(e,r){s.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,r)}insertBigUInt64BE(e,r){s.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,r)}writeBigUInt64LE(e,r){s.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,r)}insertBigUInt64LE(e,r){s.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,r)}readFloatBE(e){return this._readNumberValue(Buffer.prototype.readFloatBE,4,e)}readFloatLE(e){return this._readNumberValue(Buffer.prototype.readFloatLE,4,e)}writeFloatBE(e,r){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,e,r)}insertFloatBE(e,r){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,e,r)}writeFloatLE(e,r){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,e,r)}insertFloatLE(e,r){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,e,r)}readDoubleBE(e){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,e)}readDoubleLE(e){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,e)}writeDoubleBE(e,r){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,e,r)}insertDoubleBE(e,r){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,e,r)}writeDoubleLE(e,r){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,e,r)}insertDoubleLE(e,r){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,e,r)}readString(e,r){let n;if(typeof e==="number"){s.checkLengthValue(e);n=Math.min(e,this.length-this._readOffset)}else{r=e;n=this.length-this._readOffset}if(typeof r!=="undefined"){s.checkEncoding(r)}const i=this._buff.slice(this._readOffset,this._readOffset+n).toString(r||this._encoding);this._readOffset+=n;return i}insertString(e,r,n){s.checkOffsetValue(r);return this._handleString(e,true,r,n)}writeString(e,r,n){return this._handleString(e,false,r,n)}readStringNT(e){if(typeof e!=="undefined"){s.checkEncoding(e)}let r=this.length;for(let e=this._readOffset;ethis.length){throw new Error(s.ERRORS.INVALID_READ_BEYOND_BOUNDS)}}ensureInsertable(e,r){s.checkOffsetValue(r);this._ensureCapacity(this.length+e);if(rthis.length){this.length=r+e}else{this.length+=e}}_ensureWriteable(e,r){const n=typeof r==="number"?r:this._writeOffset;this._ensureCapacity(n+e);if(n+e>this.length){this.length=n+e}}_ensureCapacity(e){const r=this._buff.length;if(e>r){let n=this._buff;let s=r*3/2+1;if(s{Object.defineProperty(r,"__esModule",{value:true});const s=n(20181);const i={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};r.ERRORS=i;function checkEncoding(e){if(!s.Buffer.isEncoding(e)){throw new Error(i.INVALID_ENCODING)}}r.checkEncoding=checkEncoding;function isFiniteInteger(e){return typeof e==="number"&&isFinite(e)&&isInteger(e)}r.isFiniteInteger=isFiniteInteger;function checkOffsetOrLengthValue(e,r){if(typeof e==="number"){if(!isFiniteInteger(e)||e<0){throw new Error(r?i.INVALID_OFFSET:i.INVALID_LENGTH)}}else{throw new Error(r?i.INVALID_OFFSET_NON_NUMBER:i.INVALID_LENGTH_NON_NUMBER)}}function checkLengthValue(e){checkOffsetOrLengthValue(e,false)}r.checkLengthValue=checkLengthValue;function checkOffsetValue(e){checkOffsetOrLengthValue(e,true)}r.checkOffsetValue=checkOffsetValue;function checkTargetOffset(e,r){if(e<0||e>r.length){throw new Error(i.INVALID_TARGET_OFFSET)}}r.checkTargetOffset=checkTargetOffset;function isInteger(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e}function bigIntAndBufferInt64Check(e){if(typeof BigInt==="undefined"){throw new Error("Platform does not support JS BigInt type.")}if(typeof s.Buffer.prototype[e]==="undefined"){throw new Error(`Platform does not support Buffer.prototype.${e}.`)}}r.bigIntAndBufferInt64Check=bigIntAndBufferInt64Check},57142:function(e,r,n){var s=this&&this.__awaiter||function(e,r,n,s){function adopt(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.SocksClientError=r.SocksClient=void 0;const i=n(24434);const o=n(69278);const c=n(67290);const u=n(24223);const d=n(50639);const A=n(41129);const h=n(79712);Object.defineProperty(r,"SocksClientError",{enumerable:true,get:function(){return h.SocksClientError}});const g=n(79253);class SocksClient extends i.EventEmitter{constructor(e){super();this.options=Object.assign({},e);(0,d.validateSocksClientOptions)(e);this.setState(u.SocksClientState.Created)}static createConnection(e,r){return new Promise(((n,s)=>{try{(0,d.validateSocksClientOptions)(e,["connect"])}catch(e){if(typeof r==="function"){r(e);return n(e)}else{return s(e)}}const i=new SocksClient(e);i.connect(e.existing_socket);i.once("established",(e=>{i.removeAllListeners();if(typeof r==="function"){r(null,e);n(e)}else{n(e)}}));i.once("error",(e=>{i.removeAllListeners();if(typeof r==="function"){r(e);n(e)}else{s(e)}}))}))}static createConnectionChain(e,r){return new Promise(((n,i)=>s(this,void 0,void 0,(function*(){try{(0,d.validateSocksClientChainOptions)(e)}catch(e){if(typeof r==="function"){r(e);return n(e)}else{return i(e)}}if(e.randomizeChain){(0,h.shuffleArray)(e.proxies)}try{let s;for(let r=0;rthis.onDataReceivedHandler(e);this.onClose=()=>this.onCloseHandler();this.onError=e=>this.onErrorHandler(e);this.onConnect=()=>this.onConnectHandler();const r=setTimeout((()=>this.onEstablishedTimeout()),this.options.timeout||u.DEFAULT_TIMEOUT);if(r.unref&&typeof r.unref==="function"){r.unref()}if(e){this.socket=e}else{this.socket=new o.Socket}this.socket.once("close",this.onClose);this.socket.once("error",this.onError);this.socket.once("connect",this.onConnect);this.socket.on("data",this.onDataReceived);this.setState(u.SocksClientState.Connecting);this.receiveBuffer=new A.ReceiveBuffer;if(e){this.socket.emit("connect")}else{this.socket.connect(this.getSocketOptions());if(this.options.set_tcp_nodelay!==undefined&&this.options.set_tcp_nodelay!==null){this.socket.setNoDelay(!!this.options.set_tcp_nodelay)}}this.prependOnceListener("established",(e=>{setImmediate((()=>{if(this.receiveBuffer.length>0){const r=this.receiveBuffer.get(this.receiveBuffer.length);e.socket.emit("data",r)}e.socket.resume()}))}))}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){if(this.state!==u.SocksClientState.Established&&this.state!==u.SocksClientState.BoundWaitingForConnection){this.closeSocket(u.ERRORS.ProxyConnectionTimedOut)}}onConnectHandler(){this.setState(u.SocksClientState.Connected);if(this.options.proxy.type===4){this.sendSocks4InitialHandshake()}else{this.sendSocks5InitialHandshake()}this.setState(u.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(e){this.receiveBuffer.append(e);this.processData()}processData(){while(this.state!==u.SocksClientState.Established&&this.state!==u.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize){if(this.state===u.SocksClientState.SentInitialHandshake){if(this.options.proxy.type===4){this.handleSocks4FinalHandshakeResponse()}else{this.handleInitialSocks5HandshakeResponse()}}else if(this.state===u.SocksClientState.SentAuthentication){this.handleInitialSocks5AuthenticationHandshakeResponse()}else if(this.state===u.SocksClientState.SentFinalHandshake){this.handleSocks5FinalHandshakeResponse()}else if(this.state===u.SocksClientState.BoundWaitingForConnection){if(this.options.proxy.type===4){this.handleSocks4IncomingConnectionResponse()}else{this.handleSocks5IncomingConnectionResponse()}}else{this.closeSocket(u.ERRORS.InternalError);break}}}onCloseHandler(){this.closeSocket(u.ERRORS.SocketClosed)}onErrorHandler(e){this.closeSocket(e.message)}removeInternalSocketHandlers(){this.socket.pause();this.socket.removeListener("data",this.onDataReceived);this.socket.removeListener("close",this.onClose);this.socket.removeListener("error",this.onError);this.socket.removeListener("connect",this.onConnect)}closeSocket(e){if(this.state!==u.SocksClientState.Error){this.setState(u.SocksClientState.Error);this.socket.destroy();this.removeInternalSocketHandlers();this.emit("error",new h.SocksClientError(e,this.options))}}sendSocks4InitialHandshake(){const e=this.options.proxy.userId||"";const r=new c.SmartBuffer;r.writeUInt8(4);r.writeUInt8(u.SocksCommand[this.options.command]);r.writeUInt16BE(this.options.destination.port);if(o.isIPv4(this.options.destination.host)){r.writeBuffer((0,d.ipToBuffer)(this.options.destination.host));r.writeStringNT(e)}else{r.writeUInt8(0);r.writeUInt8(0);r.writeUInt8(0);r.writeUInt8(1);r.writeStringNT(e);r.writeStringNT(this.options.destination.host)}this.nextRequiredPacketBufferSize=u.SOCKS_INCOMING_PACKET_SIZES.Socks4Response;this.socket.write(r.toBuffer())}handleSocks4FinalHandshakeResponse(){const e=this.receiveBuffer.get(8);if(e[1]!==u.Socks4Response.Granted){this.closeSocket(`${u.ERRORS.Socks4ProxyRejectedConnection} - (${u.Socks4Response[e[1]]})`)}else{if(u.SocksCommand[this.options.command]===u.SocksCommand.bind){const r=c.SmartBuffer.fromBuffer(e);r.readOffset=2;const n={port:r.readUInt16BE(),host:(0,d.int32ToIpv4)(r.readUInt32BE())};if(n.host==="0.0.0.0"){n.host=this.options.proxy.ipaddress}this.setState(u.SocksClientState.BoundWaitingForConnection);this.emit("bound",{remoteHost:n,socket:this.socket})}else{this.setState(u.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{socket:this.socket})}}}handleSocks4IncomingConnectionResponse(){const e=this.receiveBuffer.get(8);if(e[1]!==u.Socks4Response.Granted){this.closeSocket(`${u.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${u.Socks4Response[e[1]]})`)}else{const r=c.SmartBuffer.fromBuffer(e);r.readOffset=2;const n={port:r.readUInt16BE(),host:(0,d.int32ToIpv4)(r.readUInt32BE())};this.setState(u.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:n,socket:this.socket})}}sendSocks5InitialHandshake(){const e=new c.SmartBuffer;const r=[u.Socks5Auth.NoAuth];if(this.options.proxy.userId||this.options.proxy.password){r.push(u.Socks5Auth.UserPass)}if(this.options.proxy.custom_auth_method!==undefined){r.push(this.options.proxy.custom_auth_method)}e.writeUInt8(5);e.writeUInt8(r.length);for(const n of r){e.writeUInt8(n)}this.nextRequiredPacketBufferSize=u.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse;this.socket.write(e.toBuffer());this.setState(u.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){const e=this.receiveBuffer.get(2);if(e[0]!==5){this.closeSocket(u.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion)}else if(e[1]===u.SOCKS5_NO_ACCEPTABLE_AUTH){this.closeSocket(u.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType)}else{if(e[1]===u.Socks5Auth.NoAuth){this.socks5ChosenAuthType=u.Socks5Auth.NoAuth;this.sendSocks5CommandRequest()}else if(e[1]===u.Socks5Auth.UserPass){this.socks5ChosenAuthType=u.Socks5Auth.UserPass;this.sendSocks5UserPassAuthentication()}else if(e[1]===this.options.proxy.custom_auth_method){this.socks5ChosenAuthType=this.options.proxy.custom_auth_method;this.sendSocks5CustomAuthentication()}else{this.closeSocket(u.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}}}sendSocks5UserPassAuthentication(){const e=this.options.proxy.userId||"";const r=this.options.proxy.password||"";const n=new c.SmartBuffer;n.writeUInt8(1);n.writeUInt8(Buffer.byteLength(e));n.writeString(e);n.writeUInt8(Buffer.byteLength(r));n.writeString(r);this.nextRequiredPacketBufferSize=u.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse;this.socket.write(n.toBuffer());this.setState(u.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return s(this,void 0,void 0,(function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size;this.socket.write(yield this.options.proxy.custom_auth_request_handler());this.setState(u.SocksClientState.SentAuthentication)}))}handleSocks5CustomAuthHandshakeResponse(e){return s(this,void 0,void 0,(function*(){return yield this.options.proxy.custom_auth_response_handler(e)}))}handleSocks5AuthenticationNoAuthHandshakeResponse(e){return s(this,void 0,void 0,(function*(){return e[1]===0}))}handleSocks5AuthenticationUserPassHandshakeResponse(e){return s(this,void 0,void 0,(function*(){return e[1]===0}))}handleInitialSocks5AuthenticationHandshakeResponse(){return s(this,void 0,void 0,(function*(){this.setState(u.SocksClientState.ReceivedAuthenticationResponse);let e=false;if(this.socks5ChosenAuthType===u.Socks5Auth.NoAuth){e=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===u.Socks5Auth.UserPass){e=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===this.options.proxy.custom_auth_method){e=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))}if(!e){this.closeSocket(u.ERRORS.Socks5AuthenticationFailed)}else{this.sendSocks5CommandRequest()}}))}sendSocks5CommandRequest(){const e=new c.SmartBuffer;e.writeUInt8(5);e.writeUInt8(u.SocksCommand[this.options.command]);e.writeUInt8(0);if(o.isIPv4(this.options.destination.host)){e.writeUInt8(u.Socks5HostType.IPv4);e.writeBuffer((0,d.ipToBuffer)(this.options.destination.host))}else if(o.isIPv6(this.options.destination.host)){e.writeUInt8(u.Socks5HostType.IPv6);e.writeBuffer((0,d.ipToBuffer)(this.options.destination.host))}else{e.writeUInt8(u.Socks5HostType.Hostname);e.writeUInt8(this.options.destination.host.length);e.writeString(this.options.destination.host)}e.writeUInt16BE(this.options.destination.port);this.nextRequiredPacketBufferSize=u.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader;this.socket.write(e.toBuffer());this.setState(u.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){const e=this.receiveBuffer.peek(5);if(e[0]!==5||e[1]!==u.Socks5Response.Granted){this.closeSocket(`${u.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${u.Socks5Response[e[1]]}`)}else{const r=e[3];let n;let s;if(r===u.Socks5HostType.IPv4){const e=u.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length{Object.defineProperty(r,"__esModule",{value:true});r.SOCKS5_NO_ACCEPTABLE_AUTH=r.SOCKS5_CUSTOM_AUTH_END=r.SOCKS5_CUSTOM_AUTH_START=r.SOCKS_INCOMING_PACKET_SIZES=r.SocksClientState=r.Socks5Response=r.Socks5HostType=r.Socks5Auth=r.Socks4Response=r.SocksCommand=r.ERRORS=r.DEFAULT_TIMEOUT=void 0;const n=3e4;r.DEFAULT_TIMEOUT=n;const s={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"};r.ERRORS=s;const i={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:e=>e+7,Socks4Response:8};r.SOCKS_INCOMING_PACKET_SIZES=i;var o;(function(e){e[e["connect"]=1]="connect";e[e["bind"]=2]="bind";e[e["associate"]=3]="associate"})(o||(r.SocksCommand=o={}));var c;(function(e){e[e["Granted"]=90]="Granted";e[e["Failed"]=91]="Failed";e[e["Rejected"]=92]="Rejected";e[e["RejectedIdent"]=93]="RejectedIdent"})(c||(r.Socks4Response=c={}));var u;(function(e){e[e["NoAuth"]=0]="NoAuth";e[e["GSSApi"]=1]="GSSApi";e[e["UserPass"]=2]="UserPass"})(u||(r.Socks5Auth=u={}));const d=128;r.SOCKS5_CUSTOM_AUTH_START=d;const A=254;r.SOCKS5_CUSTOM_AUTH_END=A;const h=255;r.SOCKS5_NO_ACCEPTABLE_AUTH=h;var g;(function(e){e[e["Granted"]=0]="Granted";e[e["Failure"]=1]="Failure";e[e["NotAllowed"]=2]="NotAllowed";e[e["NetworkUnreachable"]=3]="NetworkUnreachable";e[e["HostUnreachable"]=4]="HostUnreachable";e[e["ConnectionRefused"]=5]="ConnectionRefused";e[e["TTLExpired"]=6]="TTLExpired";e[e["CommandNotSupported"]=7]="CommandNotSupported";e[e["AddressNotSupported"]=8]="AddressNotSupported"})(g||(r.Socks5Response=g={}));var m;(function(e){e[e["IPv4"]=1]="IPv4";e[e["Hostname"]=3]="Hostname";e[e["IPv6"]=4]="IPv6"})(m||(r.Socks5HostType=m={}));var y;(function(e){e[e["Created"]=0]="Created";e[e["Connecting"]=1]="Connecting";e[e["Connected"]=2]="Connected";e[e["SentInitialHandshake"]=3]="SentInitialHandshake";e[e["ReceivedInitialHandshakeResponse"]=4]="ReceivedInitialHandshakeResponse";e[e["SentAuthentication"]=5]="SentAuthentication";e[e["ReceivedAuthenticationResponse"]=6]="ReceivedAuthenticationResponse";e[e["SentFinalHandshake"]=7]="SentFinalHandshake";e[e["ReceivedFinalResponse"]=8]="ReceivedFinalResponse";e[e["BoundWaitingForConnection"]=9]="BoundWaitingForConnection";e[e["Established"]=10]="Established";e[e["Disconnected"]=11]="Disconnected";e[e["Error"]=99]="Error"})(y||(r.SocksClientState=y={}))},50639:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ipToBuffer=r.int32ToIpv4=r.ipv4ToInt32=r.validateSocksClientChainOptions=r.validateSocksClientOptions=void 0;const s=n(79712);const i=n(24223);const o=n(2203);const c=n(79253);const u=n(69278);function validateSocksClientOptions(e,r=["connect","bind","associate"]){if(!i.SocksCommand[e.command]){throw new s.SocksClientError(i.ERRORS.InvalidSocksCommand,e)}if(r.indexOf(e.command)===-1){throw new s.SocksClientError(i.ERRORS.InvalidSocksCommandForOperation,e)}if(!isValidSocksRemoteHost(e.destination)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsDestination,e)}if(!isValidSocksProxy(e.proxy)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsProxy,e)}validateCustomProxyAuth(e.proxy,e);if(e.timeout&&!isValidTimeoutValue(e.timeout)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsTimeout,e)}if(e.existing_socket&&!(e.existing_socket instanceof o.Duplex)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsExistingSocket,e)}}r.validateSocksClientOptions=validateSocksClientOptions;function validateSocksClientChainOptions(e){if(e.command!=="connect"){throw new s.SocksClientError(i.ERRORS.InvalidSocksCommandChain,e)}if(!isValidSocksRemoteHost(e.destination)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsDestination,e)}if(!(e.proxies&&Array.isArray(e.proxies)&&e.proxies.length>=2)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsProxiesLength,e)}e.proxies.forEach((r=>{if(!isValidSocksProxy(r)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsProxy,e)}validateCustomProxyAuth(r,e)}));if(e.timeout&&!isValidTimeoutValue(e.timeout)){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsTimeout,e)}}r.validateSocksClientChainOptions=validateSocksClientChainOptions;function validateCustomProxyAuth(e,r){if(e.custom_auth_method!==undefined){if(e.custom_auth_methodi.SOCKS5_CUSTOM_AUTH_END){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsCustomAuthRange,r)}if(e.custom_auth_request_handler===undefined||typeof e.custom_auth_request_handler!=="function"){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,r)}if(e.custom_auth_response_size===undefined){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,r)}if(e.custom_auth_response_handler===undefined||typeof e.custom_auth_response_handler!=="function"){throw new s.SocksClientError(i.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,r)}}}function isValidSocksRemoteHost(e){return e&&typeof e.host==="string"&&typeof e.port==="number"&&e.port>=0&&e.port<=65535}function isValidSocksProxy(e){return e&&(typeof e.host==="string"||typeof e.ipaddress==="string")&&typeof e.port==="number"&&e.port>=0&&e.port<=65535&&(e.type===4||e.type===5)}function isValidTimeoutValue(e){return typeof e==="number"&&e>0}function ipv4ToInt32(e){const r=new c.Address4(e);return r.toArray().reduce(((e,r)=>(e<<8)+r),0)}r.ipv4ToInt32=ipv4ToInt32;function int32ToIpv4(e){const r=e>>>24&255;const n=e>>>16&255;const s=e>>>8&255;const i=e&255;return[r,n,s,i].join(".")}r.int32ToIpv4=int32ToIpv4;function ipToBuffer(e){if(u.isIPv4(e)){const r=new c.Address4(e);return Buffer.from(r.toArray())}else if(u.isIPv6(e)){const r=new c.Address6(e);return Buffer.from(r.canonicalForm().split(":").map((e=>e.padStart(4,"0"))).join(""),"hex")}else{throw new Error("Invalid IP address format")}}r.ipToBuffer=ipToBuffer},41129:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.ReceiveBuffer=void 0;class ReceiveBuffer{constructor(e=4096){this.buffer=Buffer.allocUnsafe(e);this.offset=0;this.originalSize=e}get length(){return this.offset}append(e){if(!Buffer.isBuffer(e)){throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.")}if(this.offset+e.length>=this.buffer.length){const r=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+e.length));r.copy(this.buffer)}e.copy(this.buffer,this.offset);return this.offset+=e.length}peek(e){if(e>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}return this.buffer.slice(0,e)}get(e){if(e>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}const r=Buffer.allocUnsafe(e);this.buffer.slice(0,e).copy(r);this.buffer.copyWithin(0,e,e+this.offset-e);this.offset-=e;return r}}r.ReceiveBuffer=ReceiveBuffer},79712:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.shuffleArray=r.SocksClientError=void 0;class SocksClientError extends Error{constructor(e,r){super(e);this.options=r}}r.SocksClientError=SocksClientError;function shuffleArray(e){for(let r=e.length-1;r>0;r--){const n=Math.floor(Math.random()*(r+1));[e[r],e[n]]=[e[n],e[r]]}}r.shuffleArray=shuffleArray},42474:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(57142),r)},19973:(e,r)=>{!function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function sprintf(e){return sprintf_format(sprintf_parse(e),arguments)}function vsprintf(e,r){return sprintf.apply(null,[e].concat(r||[]))}function sprintf_format(r,n){var s=1,i=r.length,o,c="",u,d,A,h,g,m,y,E;for(u=0;u=0}switch(A.type){case"b":o=parseInt(o,10).toString(2);break;case"c":o=String.fromCharCode(parseInt(o,10));break;case"d":case"i":o=parseInt(o,10);break;case"j":o=JSON.stringify(o,null,A.width?parseInt(A.width):0);break;case"e":o=A.precision?parseFloat(o).toExponential(A.precision):parseFloat(o).toExponential();break;case"f":o=A.precision?parseFloat(o).toFixed(A.precision):parseFloat(o);break;case"g":o=A.precision?String(Number(o.toPrecision(A.precision))):parseFloat(o);break;case"o":o=(parseInt(o,10)>>>0).toString(8);break;case"s":o=String(o);o=A.precision?o.substring(0,A.precision):o;break;case"t":o=String(!!o);o=A.precision?o.substring(0,A.precision):o;break;case"T":o=Object.prototype.toString.call(o).slice(8,-1).toLowerCase();o=A.precision?o.substring(0,A.precision):o;break;case"u":o=parseInt(o,10)>>>0;break;case"v":o=o.valueOf();o=A.precision?o.substring(0,A.precision):o;break;case"x":o=(parseInt(o,10)>>>0).toString(16);break;case"X":o=(parseInt(o,10)>>>0).toString(16).toUpperCase();break}if(e.json.test(A.type)){c+=o}else{if(e.number.test(A.type)&&(!y||A.sign)){E=y?"+":"-";o=o.toString().replace(e.sign,"")}else{E=""}g=A.pad_char?A.pad_char==="0"?"0":A.pad_char.charAt(1):" ";m=A.width-(E+o).length;h=A.width?m>0?g.repeat(m):"":"";c+=A.align?E+o+h:g==="0"?E+h+o:h+E+o}}}return c}var n=Object.create(null);function sprintf_parse(r){if(n[r]){return n[r]}var s=r,i,o=[],c=0;while(s){if((i=e.text.exec(s))!==null){o.push(i[0])}else if((i=e.modulo.exec(s))!==null){o.push("%")}else if((i=e.placeholder.exec(s))!==null){if(i[2]){c|=1;var u=[],d=i[2],A=[];if((A=e.key.exec(d))!==null){u.push(A[1]);while((d=d.substring(A[0].length))!==""){if((A=e.key_access.exec(d))!==null){u.push(A[1])}else if((A=e.index_access.exec(d))!==null){u.push(A[1])}else{throw new SyntaxError("[sprintf] failed to parse named argument key")}}}else{throw new SyntaxError("[sprintf] failed to parse named argument key")}i[2]=u}else{c|=2}if(c===3){throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported")}o.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else{throw new SyntaxError("[sprintf] unexpected placeholder")}s=s.substring(i[0].length)}return n[r]=o}if(true){r.sprintf=sprintf;r.vsprintf=vsprintf}if(typeof window!=="undefined"){window["sprintf"]=sprintf;window["vsprintf"]=vsprintf;if(typeof define==="function"&&define["amd"]){define((function(){return{sprintf:sprintf,vsprintf:vsprintf}}))}}}()},30977:function(e){(function(r,n){var s={version:"2.14.3",areas:{},apis:{},nsdelim:".",inherit:function(e,r){for(var n in e){if(!r.hasOwnProperty(n)){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))}}return r},stringify:function(e,r){return e===undefined||typeof e==="function"?e+"":JSON.stringify(e,r||s.replace)},parse:function(e,r){try{return JSON.parse(e,r||s.revive)}catch(r){return e}},fn:function(e,r){s.storeAPI[e]=r;for(var n in s.apis){s.apis[n][e]=r}},get:function(e,r){return e.getItem(r)},set:function(e,r,n){e.setItem(r,n)},remove:function(e,r){e.removeItem(r)},key:function(e,r){return e.key(r)},length:function(e){return e.length},clear:function(e){e.clear()},Store:function(e,r,n){var i=s.inherit(s.storeAPI,(function(e,r,n){if(arguments.length===0){return i.getAll()}if(typeof r==="function"){return i.transact(e,r,n)}if(r!==undefined){return i.set(e,r,n)}if(typeof e==="string"||typeof e==="number"){return i.get(e)}if(typeof e==="function"){return i.each(e)}if(!e){return i.clear()}return i.setAll(e,r)}));i._id=e;try{var o="__store2_test";r.setItem(o,"ok");i._area=r;r.removeItem(o)}catch(e){i._area=s.storage("fake")}i._ns=n||"";if(!s.areas[e]){s.areas[e]=i._area}if(!s.apis[i._ns+i._id]){s.apis[i._ns+i._id]=i}return i},storeAPI:{area:function(e,r){var n=this[e];if(!n||!n.area){n=s.Store(e,r,this._ns);if(!this[e]){this[e]=n}}return n},namespace:function(e,r,n){n=n||this._delim||s.nsdelim;if(!e){return this._ns?this._ns.substring(0,this._ns.length-n.length):""}var i=e,o=this[i];if(!o||!o.namespace){o=s.Store(this._id,this._area,this._ns+i+n);o._delim=n;if(!this[i]){this[i]=o}if(!r){for(var c in s.areas){o.area(c,s.areas[c])}}}return o},isFake:function(e){if(e){this._real=this._area;this._area=s.storage("fake")}else if(e===false){this._area=this._real||this._area}return this._area.name==="fake"},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(e){if(this._area.has){return this._area.has(this._in(e))}return!!(this._in(e)in this._area)},size:function(){return this.keys().length},each:function(e,r){for(var n=0,i=s.length(this._area);ns.length(this._area)){i--;n--}}return r||this},keys:function(e){return this.each((function(e,r,n){n.push(e)}),e||[])},get:function(e,r){var n=s.get(this._area,this._in(e)),i;if(typeof r==="function"){i=r;r=null}return n!==null?s.parse(n,i):r!=null?r:n},getAll:function(e){return this.each((function(e,r,n){n[e]=r}),e||{})},transact:function(e,r,n){var s=this.get(e,n),i=r(s);this.set(e,i===undefined?s:i);return this},set:function(e,r,n){var i=this.get(e),o;if(i!=null&&n===false){return r}if(typeof n==="function"){o=n;n=undefined}return s.set(this._area,this._in(e),s.stringify(r,o),n)||i},setAll:function(e,r){var n,s;for(var i in e){s=e[i];if(this.set(i,s,r)!==s){n=true}}return n},add:function(e,r,n){var i=this.get(e);if(i instanceof Array){r=i.concat(r)}else if(i!==null){var o=typeof i;if(o===typeof r&&o==="object"){for(var c in r){i[c]=r[c]}r=i}else{r=i+r}}s.set(this._area,this._in(e),s.stringify(r,n));return r},remove:function(e,r){var n=this.get(e,r);s.remove(this._area,this._in(e));return n},clear:function(){if(!this._ns){s.clear(this._area)}else{this.each((function(e){s.remove(this._area,this._in(e))}),1)}return this},clearAll:function(){var e=this._area;for(var r in s.areas){if(s.areas.hasOwnProperty(r)){this._area=s.areas[r];this.clear()}}this._area=e;return this},_in:function(e){if(typeof e!=="string"){e=s.stringify(e)}return this._ns?this._ns+e:e},_out:function(e){return this._ns?e&&e.indexOf(this._ns)===0?e.substring(this._ns.length):undefined:e}},storage:function(e){return s.inherit(s.storageAPI,{items:{},name:e})},storageAPI:{length:0,has:function(e){return this.items.hasOwnProperty(e)},key:function(e){var r=0;for(var n in this.items){if(this.has(n)&&e===r++){return n}}},setItem:function(e,r){if(!this.has(e)){this.length++}this.items[e]=r},removeItem:function(e){if(this.has(e)){delete this.items[e];this.length--}},getItem:function(e){return this.has(e)?this.items[e]:null},clear:function(){for(var e in this.items){this.removeItem(e)}}}};var i=s.Store("local",function(){try{return localStorage}catch(e){}}());i.local=i;i._=s;i.area("session",function(){try{return sessionStorage}catch(e){}}());i.area("page",s.storage("page"));if(typeof n==="function"&&n.amd!==undefined){n("store2",[],(function(){return i}))}else if(true&&e.exports){e.exports=i}else{if(r.store){s.conflict=r.store}r.store=i}})(this,this&&this.define)},21450:(e,r,n)=>{const s=n(70857);const i=n(52018);const o=n(83813);const{env:c}=process;let u;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){u=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){u=1}if("FORCE_COLOR"in c){if(c.FORCE_COLOR==="true"){u=1}else if(c.FORCE_COLOR==="false"){u=0}else{u=c.FORCE_COLOR.length===0?1:Math.min(parseInt(c.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,r){if(u===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!r&&u===undefined){return 0}const n=u||0;if(c.TERM==="dumb"){return n}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in c){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in c))||c.CI_NAME==="codeship"){return 1}return n}if("TEAMCITY_VERSION"in c){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0}if(c.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in c){const e=parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)){return 1}if("COLORTERM"in c){return 1}return n}function getSupportLevel(e){const r=supportsColor(e,e&&e.isTTY);return translateLevel(r)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,i.isatty(1))),stderr:translateLevel(supportsColor(true,i.isatty(2)))}},12228:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});const c=o(n(76982));r["default"]=c},10330:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r._entityType=r._EntityType=r.TotalList=r.crc32=r.bufferXor=r.sleep=r.getRandomInt=r.getMinBigInt=r.returnBigInt=r.getByteArray=r.modExp=r.sha256=r.sha1=r.convertToLittle=r.generateKeyDataFromNonce=r.stripText=r.generateRandomBytes=r.bigIntMod=r.mod=r.generateRandomLong=r.readBufferFromBigInt=r.toSignedLittleBuffer=r.isArrayLike=r.betterConsoleLog=r.groupBy=r.escapeRegex=r.generateRandomBigInt=r.readBigIntFromBuffer=void 0;const i=s(n(43269));const o=s(n(12228));const c=n(60720);function readBigIntFromBuffer(e,r=true,n=false){let s=Buffer.from(e);const o=s.length;if(r){s=s.reverse()}let c=(0,i.default)(s.toString("hex"),16);if(n&&Math.floor(c.toString(2).length/8)>=o){c=c.subtract((0,i.default)(2).pow((0,i.default)(o*8)))}return c}r.readBigIntFromBuffer=readBigIntFromBuffer;function generateRandomBigInt(){return readBigIntFromBuffer(generateRandomBytes(8),false)}r.generateRandomBigInt=generateRandomBigInt;function escapeRegex(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}r.escapeRegex=escapeRegex;function groupBy(e,r){const n=new Map;e.forEach((e=>{const s=r(e);const i=n.get(s);if(!i){n.set(s,[e])}else{i.push(e)}}));return n}r.groupBy=groupBy;function betterConsoleLog(e){const r={};for(const n in e){if(e.hasOwnProperty(n)){if(!n.startsWith("_")&&n!="originalArgs"){r[n]=e[n]}}}return r}r.betterConsoleLog=betterConsoleLog;const isArrayLike=e=>e&&typeof e.length==="number"&&typeof e!=="function"&&typeof e!=="string";r.isArrayLike=isArrayLike;function toSignedLittleBuffer(e,r=8){const n=returnBigInt(e);const s=[];for(let e=0;enew Promise((n=>r&&c.isNode?setTimeout(n,e).unref():setTimeout(n,e)));r.sleep=sleep;function bufferXor(e,r){const n=[];for(let s=0;s>>1:e>>>1}r[n]=e}return r}let u=undefined;function crc32(e){if(!u){u=makeCRCTable()}if(!Buffer.isBuffer(e)){e=Buffer.from(e)}let r=-1;for(let n=0;n>>8}return(r^-1)>>>0}r.crc32=crc32;class TotalList extends Array{constructor(){super();this.total=0}}r.TotalList=TotalList;r._EntityType={USER:0,CHAT:1,CHANNEL:2};Object.freeze(r._EntityType);function _entityType(e){if(typeof e!=="object"||!("SUBCLASS_OF_ID"in e)){throw new Error(`${e} is not a TLObject, cannot determine entity type`)}if(![47470215,3374092470,3865689926,1089602301,765557111,3316604308,524706233,3566872215].includes(e.SUBCLASS_OF_ID)){throw new Error(`${e} does not have any entity type`)}const n=e.className;if(n.includes("User")){return r._EntityType.USER}else if(n.includes("Chat")){return r._EntityType.CHAT}else if(n.includes("Channel")){return r._EntityType.CHANNEL}else if(n.includes("Self")){return r._EntityType.USER}throw new Error(`${e} does not have any entity type`)}r._entityType=_entityType},79138:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.computeDigest=r.computeCheck=void 0;const i=n(87440);const o=n(10330);const c=s(n(43269));const u=s(n(12228));const d=256;function checkPrimeAndGood(e,r){const n=Buffer.from([199,28,174,185,198,177,201,4,142,108,82,47,112,241,63,115,152,13,64,35,142,62,33,193,73,52,208,55,86,61,147,15,72,25,138,10,167,193,64,88,34,148,147,210,37,48,244,219,250,51,111,110,10,201,37,19,149,67,174,212,76,206,124,55,32,253,81,246,148,88,112,90,198,140,212,254,107,107,19,171,220,151,70,81,41,105,50,132,84,241,143,175,140,89,95,100,36,119,254,150,187,42,148,29,91,205,29,74,200,204,73,136,7,8,250,155,55,142,60,79,58,144,96,190,230,124,249,164,164,166,149,129,16,81,144,126,22,39,83,181,107,15,107,65,13,186,116,216,168,75,42,20,179,20,78,14,241,40,71,84,253,23,237,149,13,89,101,180,185,221,70,88,45,177,23,141,22,156,107,196,101,176,214,255,156,163,146,143,239,91,154,228,228,24,252,21,232,62,190,160,248,127,169,255,94,237,112,5,13,237,40,73,244,123,249,89,217,86,133,12,233,41,133,31,13,129,21,246,53,177,5,238,46,78,21,208,75,36,84,191,111,79,173,240,52,177,4,3,17,156,216,227,185,47,204,91]);if(n.equals(e)){if([3,4,5,7].includes(r)){return}}throw new Error("Changing passwords unsupported")}function isGoodLarge(e,r){return e.greater((0,c.default)(0))&&r.subtract(e).greater((0,c.default)(0))}function numBytesForHash(e){return Buffer.concat([Buffer.alloc(d-e.length),e])}function bigNumForHash(e){return(0,o.readBufferFromBigInt)(e,d,false)}function isGoodModExpFirst(e,r){const n=r.subtract(e);const s=2048-64;const i=256;return!(n.lesser((0,c.default)(0))||n.bitLength().toJSNumber()i)}function xor(e,r){const n=Math.min(e.length,r.length);for(let s=0;s{const e=256;while(true){const r=(0,o.generateRandomBytes)(e);const n=(0,o.readBigIntFromBuffer)(r,false);const s=(0,o.modExp)((0,c.default)(h),n,A);if(isGoodModExpFirst(s,A)){const e=bigNumForHash(s);const r=(0,o.readBigIntFromBuffer)(await(0,o.sha256)(Buffer.concat([e,_])),false);if(r.greater((0,c.default)(0))){return{a:n,aForHash:e,u:r}}}}};const{a:C,aForHash:w,u:B}=await generateAndCheckRandom();const S=(0,o.bigIntMod)(g.subtract(v),A);if(!isGoodModExpFirst(S,A)){throw new Error("bad gB")}const T=B.multiply(m);const k=C.add(T);const R=(0,o.modExp)(S,k,A);const[Q,P,O,D,F]=await Promise.all([(0,o.sha256)(bigNumForHash(R)),(0,o.sha256)(y),(0,o.sha256)(E),(0,o.sha256)(n.salt1),(0,o.sha256)(n.salt2)]);const M=await(0,o.sha256)(Buffer.concat([xor(P,O),D,F,w,_,Q]));return new i.Api.InputCheckPasswordSRP({srpId:u,A:Buffer.from(w),M1:M})}r.computeCheck=computeCheck},29078:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.getDisplayName=r.rtrim=r.parseUsername=r.resolveInviteLink=r.parseID=r.parsePhone=r.getMessageId=r.resolveId=r.getPeerId=r.sanitizeParseMode=r.getPeer=r.getAppropriatedPartSize=r.getInputMedia=r.getInputGeo=r.getAttributes=r.getExtension=r.isImage=r.isAudio=r.getInputDocument=r.getInputPhoto=r.strippedPhotoToJpg=r.getInputChatPhoto=r.getInputMessage=r.getInputUser=r.getInputChannel=r.getInnerText=r._getEntityPair=r._photoSizeByteCount=r.getInputPeer=r.chunks=r.getFileInfo=void 0;const i=n(87440);const o=s(n(43269));const c=s(n(94900));const u=n(94069);const d=n(88757);function getFileInfo(e){if(!e||!e.SUBCLASS_OF_ID){_raiseCastFail(e,"InputFileLocation")}if(e.SUBCLASS_OF_ID==354669666){return{dcId:undefined,location:e,size:undefined}}let r;if(e instanceof i.Api.Message){r=e.media}if(e instanceof i.Api.MessageMediaDocument){r=e.document}else if(e instanceof i.Api.MessageMediaPhoto){r=e.photo}if(r instanceof i.Api.Document){return{dcId:r.dcId,location:new i.Api.InputDocumentFileLocation({id:r.id,accessHash:r.accessHash,fileReference:r.fileReference,thumbSize:""}),size:r.size}}else if(r instanceof i.Api.Photo){return{dcId:r.dcId,location:new i.Api.InputPhotoFileLocation({id:r.id,accessHash:r.accessHash,fileReference:r.fileReference,thumbSize:r.sizes[r.sizes.length-1].type}),size:(0,o.default)(_photoSizeByteCount(r.sizes[r.sizes.length-1])||0)}}_raiseCastFail(e,"InputFileLocation")}r.getFileInfo=getFileInfo;function*chunks(e,r=100){for(let n=0;n{Object.defineProperty(r,"__esModule",{value:true});r.version=void 0;r.version="2.24.10"},77472:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.updateTwoFaSettings=void 0;const s=n(10330);const i=n(79138);const o=n(87440);const c=n(18219);async function updateTwoFaSettings(e,{isCheckPassword:r,currentPassword:n,newPassword:u,hint:d="",email:A,emailCodeCallback:h,onEmailCodeError:g}){if(!u&&!n){throw new Error("Neither `currentPassword` nor `newPassword` is present")}if(A&&!(h&&g)){throw new Error("`email` present without `emailCodeCallback` and `onEmailCodeError`")}const m=await e.invoke(new o.Api.account.GetPassword);if(!(m.newAlgo instanceof o.Api.PasswordKdfAlgoUnknown)){m.newAlgo.salt1=Buffer.concat([m.newAlgo.salt1,(0,s.generateRandomBytes)(32)])}if(!m.hasPassword&&n){n=undefined}const y=n?await(0,i.computeCheck)(m,n):new o.Api.InputCheckPasswordEmpty;if(r){await e.invoke(new o.Api.auth.CheckPassword({password:y}));return}if(m.newAlgo instanceof o.Api.PasswordKdfAlgoUnknown){throw new Error("Unknown password encryption method")}try{await e.invoke(new o.Api.account.UpdatePasswordSettings({password:y,newSettings:new o.Api.account.PasswordInputSettings({newAlgo:m.newAlgo,newPasswordHash:u?await(0,i.computeDigest)(m.newAlgo,u):Buffer.alloc(0),hint:d,email:A,newSecureSettings:undefined})}))}catch(r){if(r instanceof c.errors.EmailUnconfirmedError){while(true){try{const n=await h(r.codeLength);if(!n){throw new Error("Code is empty")}await e.invoke(new o.Api.account.ConfirmPasswordEmail({code:n}));break}catch(e){g(e)}}}else{throw r}}}r.updateTwoFaSettings=updateTwoFaSettings},74163:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.TelegramClient=void 0;const c=n(71966);const u=o(n(86769));const d=o(n(87237));const A=o(n(35054));const h=o(n(35130));const g=o(n(41197));const m=o(n(74827));const y=o(n(52753));const E=o(n(94417));const _=o(n(44431));const b=o(n(41380));const I=o(n(55314));const v=o(n(77472));const C=n(87440);const w=n(29078);const B=n(68722);const S=n(59415);const T=n(10330);const k=n(52753);const R=n(91932);const Q=n(42355);const P=n(60720);class TelegramClient extends c.TelegramBaseClient{constructor(e,r,n,s){super(e,r,n,s)}start(e){return u.start(this,e)}checkAuthorization(){return u.checkAuthorization(this)}signInUser(e,r){return u.signInUser(this,e,r)}signInUserWithQrCode(e,r){return u.signInUserWithQrCode(this,e,r)}sendCode(e,r,n=false){return u.sendCode(this,e,r,n)}signInWithPassword(e,r){return u.signInWithPassword(this,e,r)}signInBot(e,r){return u.signInBot(this,e,r)}async updateTwoFaSettings({isCheckPassword:e,currentPassword:r,newPassword:n,hint:s="",email:i,emailCodeCallback:o,onEmailCodeError:c}){return v.updateTwoFaSettings(this,{isCheckPassword:e,currentPassword:r,newPassword:n,hint:s,email:i,emailCodeCallback:o,onEmailCodeError:c})}inlineQuery(e,r,n,s,i){return d.inlineQuery(this,e,r,n,s,i)}buildReplyMarkup(e,r=false){return A.buildReplyMarkup(e,r)}downloadFile(e,r={}){return h.downloadFileV2(this,e,r)}iterDownload(e){return h.iterDownload(this,e)}downloadProfilePhoto(e,r={isBig:false}){return h.downloadProfilePhoto(this,e,r)}downloadMedia(e,r){return h.downloadMedia(this,e,r===null||r===void 0?void 0:r.outputFile,r===null||r===void 0?void 0:r.thumb,r===null||r===void 0?void 0:r.progressCallback)}get parseMode(){return this._parseMode}setParseMode(e){if(e){this._parseMode=(0,w.sanitizeParseMode)(e)}else{this._parseMode=undefined}}iterMessages(e,r={}){return m.iterMessages(this,e,r)}getMessages(e,r={}){return m.getMessages(this,e,r)}sendMessage(e,r={}){return m.sendMessage(this,e,r)}forwardMessages(e,r){return m.forwardMessages(this,e,r)}editMessage(e,r){return m.editMessage(this,e,r)}deleteMessages(e,r,{revoke:n=true}){return m.deleteMessages(this,e,r,{revoke:n})}pinMessage(e,r,n){return m.pinMessage(this,e,r,n)}unpinMessage(e,r,n){return m.unpinMessage(this,e,r,n)}markAsRead(e,r,n){return m.markAsRead(this,e,r,n)}iterDialogs(e={}){return I.iterDialogs(this,e)}getDialogs(e={}){return I.getDialogs(this,e)}iterParticipants(e,r={}){return b.iterParticipants(this,e,r)}getParticipants(e,r={}){return b.getParticipants(this,e,r)}kickParticipant(e,r){return b.kickParticipant(this,e,r)}on(e){return y.on(this,e)}addEventHandler(e,r){return y.addEventHandler(this,e,r)}removeEventHandler(e,r){return y.removeEventHandler(this,e,r)}listEventHandlers(){return y.listEventHandlers(this)}uploadFile(e){return E.uploadFile(this,e)}sendFile(e,r){return E.sendFile(this,e,r)}invoke(e,r){return _.invoke(this,e,r)}invokeWithSender(e,r){return _.invoke(this,e,undefined,r)}getMe(e=false){return _.getMe(this,e)}isBot(){return _.isBot(this)}isUserAuthorized(){return _.isUserAuthorized(this)}getEntity(e){return _.getEntity(this,e)}getInputEntity(e){return _.getInputEntity(this,e)}getPeerId(e,r=true){return _.getPeerId(this,e,r)}_getInputDialog(e){return _._getInputDialog(this,e)}_getInputNotify(e){return _._getInputNotify(this,e)}async _handleReconnect(){this._log.info("Handling reconnect!");try{const e=await this.getMe()}catch(e){this._log.error(`Error while trying to reconnect`);if(this._errorHandler){await this._errorHandler(e)}if(this._log.canSend(R.LogLevel.ERROR)){console.error(e)}}}async connect(){await this._initSession();if(this._sender===undefined){this._sender=new B.MTProtoSender(this.session.getAuthKey(),{logger:this._log,dcId:this.session.dcId||4,retries:this._connectionRetries,delay:this._retryDelay,autoReconnect:this._autoReconnect,connectTimeout:this._timeout,authKeyCallback:this._authKeyCallback.bind(this),updateCallback:k._handleUpdate.bind(this),isMainSender:true,client:this,securityChecks:this._securityChecks,autoReconnectCallback:this._handleReconnect.bind(this),_exportedSenderPromises:this._exportedSenderPromises})}const e=new this._connection({ip:this.session.serverAddress,port:this.useWSS?443:80,dcId:this.session.dcId,loggers:this._log,proxy:this._proxy,socket:this.networkSocket,testServers:this.testServers});if(!await this._sender.connect(e,false)){if(!this._loopStarted){(0,k._updateLoop)(this);this._loopStarted=true}return false}this.session.setAuthKey(this._sender.authKey);this.session.save();this._initRequest.query=new C.Api.help.GetConfig;this._log.info(`Using LAYER ${S.LAYER} for initial connect`);await this._sender.send(new C.Api.InvokeWithLayer({layer:S.LAYER,query:this._initRequest}));if(!this._loopStarted){(0,k._updateLoop)(this);this._loopStarted=true}this._connectedDeferred.resolve();this._isSwitchingDc=false;return true}async _switchDC(e){this._log.info(`Reconnecting to new data center ${e}`);const r=await this.getDC(e);this.session.setDC(e,r.ipAddress,r.port);await this._sender.authKey.setKey(undefined);this.session.setAuthKey(undefined);this.session.save();this._isSwitchingDc=true;await this._disconnect();this._sender=undefined;return await this.connect()}async getDC(e,r=false,n=false){this._log.debug(`Getting DC ${e}`);if(!P.isNode||n){switch(e){case 1:return{id:1,ipAddress:`pluto${r?"-1":""}.web.telegram.org`,port:443};case 2:return{id:2,ipAddress:`venus${r?"-1":""}.web.telegram.org`,port:443};case 3:return{id:3,ipAddress:`aurora${r?"-1":""}.web.telegram.org`,port:443};case 4:return{id:4,ipAddress:`vesta${r?"-1":""}.web.telegram.org`,port:443};case 5:return{id:5,ipAddress:`flora${r?"-1":""}.web.telegram.org`,port:443};default:throw new Error(`Cannot find the DC with the ID of ${e}`)}}if(!this._config){this._config=await this.invoke(new C.Api.help.GetConfig)}for(const r of this._config.dcOptions){if(r.id===e&&!!r.ipv6===this._useIPV6){return{id:r.id,ipAddress:r.ipAddress,port:443}}}throw new Error(`Cannot find the DC with the ID of ${e}`)}_removeSender(e){delete this._borrowedSenderPromises[e]}_getResponseMessage(e,r,n){return g._getResponseMessage(this,e,r,n)}[Q.inspect.custom](){return(0,T.betterConsoleLog)(this)}static get events(){return n(15737)}}r.TelegramClient=TelegramClient},86769:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r._authFlow=r.signInBot=r.signInWithPassword=r.sendCode=r.signInUserWithQrCode=r.signInUser=r.checkAuthorization=r.start=void 0;const c=n(87440);const u=o(n(29078));const d=n(10330);const A=n(79138);const h=3e4;async function start(e,r){if(!e.connected){await e.connect()}if(await e.checkAuthorization()){return}const n={apiId:e.apiId,apiHash:e.apiHash};await _authFlow(e,n,r)}r.start=start;async function checkAuthorization(e){try{await e.invoke(new c.Api.updates.GetState);return true}catch(e){return false}}r.checkAuthorization=checkAuthorization;async function signInUser(e,r,n){let s;let i;let o=false;while(1){try{if(typeof n.phoneNumber==="function"){try{s=await n.phoneNumber()}catch(s){if(s.errorMessage==="RESTART_AUTH_WITH_QR"){return e.signInUserWithQrCode(r,n)}throw s}}else{s=n.phoneNumber}const c=await e.sendCode(r,s,n.forceSMS);i=c.phoneCodeHash;o=c.isCodeViaApp;if(typeof i!=="string"){throw new Error("Failed to retrieve phone code hash")}break}catch(e){if(typeof n.phoneNumber!=="function"){throw e}const r=await n.onError(e);if(r){throw new Error("AUTH_USER_CANCEL")}}}let u;let d=false;let A;while(1){try{try{u=await n.phoneCode(o)}catch(s){if(s.errorMessage==="RESTART_AUTH"){return e.signInUser(r,n)}}if(!u){throw new Error("Code is empty")}const h=await e.invoke(new c.Api.auth.SignIn({phoneNumber:s,phoneCodeHash:i,phoneCode:u}));if(h instanceof c.Api.auth.AuthorizationSignUpRequired){d=true;A=h.termsOfService;break}return h.user}catch(s){if(s.errorMessage==="SESSION_PASSWORD_NEEDED"){return e.signInWithPassword(r,n)}else{const e=await n.onError(s);if(e){throw new Error("AUTH_USER_CANCEL")}}}}if(d){while(1){try{let r;let o="first name";if(n.firstAndLastNames){const e=await n.firstAndLastNames();o=e[0];r=e[1]}if(!o){throw new Error("First name is required")}const{user:u}=await e.invoke(new c.Api.auth.SignUp({phoneNumber:s,phoneCodeHash:i,firstName:o,lastName:r}));if(A){await e.invoke(new c.Api.help.AcceptTermsOfService({id:A.id}))}return u}catch(e){const r=await n.onError(e);if(r){throw new Error("AUTH_USER_CANCEL")}}}}await n.onError(new Error("Auth failed"));return e.signInUser(r,n)}r.signInUser=signInUser;async function signInUserWithQrCode(e,r,n){let s=false;if(n.qrCode==undefined){throw new Error("qrCode callback not defined")}const i=(async()=>{while(1){if(s){break}const i=await e.invoke(new c.Api.auth.ExportLoginToken({apiId:Number(r.apiId),apiHash:r.apiHash,exceptIds:[]}));if(!(i instanceof c.Api.auth.LoginToken)){throw new Error("Unexpected")}const{token:o,expires:u}=i;await Promise.race([n.qrCode({token:o,expires:u}),(0,d.sleep)(h)]);await(0,d.sleep)(h)}})();const o=new Promise((r=>{e.addEventHandler((e=>{if(e instanceof c.Api.UpdateLoginToken){r(undefined)}}))}));try{await Promise.race([o,i])}catch(e){throw e}finally{s=true}try{const n=await e.invoke(new c.Api.auth.ExportLoginToken({apiId:Number(r.apiId),apiHash:r.apiHash,exceptIds:[]}));if(n instanceof c.Api.auth.LoginTokenSuccess&&n.authorization instanceof c.Api.auth.Authorization){return n.authorization.user}else if(n instanceof c.Api.auth.LoginTokenMigrateTo){await e._switchDC(n.dcId);const r=await e.invoke(new c.Api.auth.ImportLoginToken({token:n.token}));if(r instanceof c.Api.auth.LoginTokenSuccess&&r.authorization instanceof c.Api.auth.Authorization){return r.authorization.user}else{e._log.error(`Received unknown result while scanning QR ${n.className}`);throw new Error(`Received unknown result while scanning QR ${n.className}`)}}else{e._log.error(`Received unknown result while scanning QR ${n.className}`);throw new Error(`Received unknown result while scanning QR ${n.className}`)}}catch(s){if(s.errorMessage==="SESSION_PASSWORD_NEEDED"){return e.signInWithPassword(r,n)}throw s}await n.onError(new Error("QR auth failed"));throw new Error("QR auth failed")}r.signInUserWithQrCode=signInUserWithQrCode;async function sendCode(e,r,n,s=false){try{const{apiId:i,apiHash:o}=r;const u=await e.invoke(new c.Api.auth.SendCode({phoneNumber:n,apiId:i,apiHash:o,settings:new c.Api.CodeSettings({})}));if(u instanceof c.Api.auth.SentCodeSuccess)throw new Error("logged in right after sending the code");if(!s||u.type instanceof c.Api.auth.SentCodeTypeSms){return{phoneCodeHash:u.phoneCodeHash,isCodeViaApp:u.type instanceof c.Api.auth.SentCodeTypeApp}}const d=await e.invoke(new c.Api.auth.ResendCode({phoneNumber:n,phoneCodeHash:u.phoneCodeHash}));if(d instanceof c.Api.auth.SentCodeSuccess)throw new Error("logged in right after resending the code");return{phoneCodeHash:d.phoneCodeHash,isCodeViaApp:d.type instanceof c.Api.auth.SentCodeTypeApp}}catch(i){if(i.errorMessage==="AUTH_RESTART"){return e.sendCode(r,n,s)}else{throw i}}}r.sendCode=sendCode;async function signInWithPassword(e,r,n){let s=false;while(1){try{const r=await e.invoke(new c.Api.account.GetPassword);if(!n.password){s=true;break}const i=await n.password(r.hint);if(!i){throw new Error("Password is empty")}const o=await(0,A.computeCheck)(r,i);const{user:u}=await e.invoke(new c.Api.auth.CheckPassword({password:o}));return u}catch(e){const r=await n.onError(e);if(r){throw new Error("AUTH_USER_CANCEL")}}}if(s){throw new Error("Account has 2FA enabled.")}return undefined}r.signInWithPassword=signInWithPassword;async function signInBot(e,r,n){const{apiId:s,apiHash:i}=r;let{botAuthToken:o}=n;if(!o){throw new Error("a valid BotToken is required")}if(typeof o==="function"){let e;while(true){e=await o();if(e){o=e;break}}}const{user:u}=await e.invoke(new c.Api.auth.ImportBotAuthorization({apiId:s,apiHash:i,botAuthToken:o}));return u}r.signInBot=signInBot;async function _authFlow(e,r,n){const s="phoneNumber"in n?await e.signInUser(r,n):await e.signInBot(r,n);e._log.info("Signed in successfully as "+u.getDisplayName(s))}r._authFlow=_authFlow},87237:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.inlineQuery=void 0;const s=n(87440);const i=n(6743);var o=s.Api.messages.GetInlineBotResults;async function inlineQuery(e,r,n,c,u,d){r=await e.getInputEntity(r);let A=new s.Api.InputPeerSelf;if(c){A=await e.getInputEntity(c)}const h=await e.invoke(new o({bot:r,peer:A,query:n,offset:u||"",geoPoint:d}));return new i.InlineResults(e,h,c?A:undefined)}r.inlineQuery=inlineQuery},35054:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.buildReplyMarkup=void 0;const s=n(87440);const i=n(50808);const o=n(39093);const c=n(10330);function buildReplyMarkup(e,r=false){if(e==undefined){return undefined}if("SUBCLASS_OF_ID"in e){if(e.SUBCLASS_OF_ID==3806400242){return e}}if(!(0,c.isArrayLike)(e)){e=[[e]]}else if(!e||!(0,c.isArrayLike)(e[0])){e=[e]}let n=false;let u=false;let d=undefined;const A=false;const h=false;const g=[];for(const r of e){const e=[];for(let s of r){if(s instanceof i.Button){if(s.resize!=undefined){d=s.resize}if(s.singleUse!=undefined){d=s.singleUse}if(s.selective!=undefined){d=s.selective}s=s.button}else if(s instanceof o.MessageButton){s=s.button}const r=i.Button._isInline(s);if(!n&&r){n=true}if(!u&&r){u=false}if(s.SUBCLASS_OF_ID==195916963){e.push(s)}}if(e){g.push(new s.Api.KeyboardButtonRow({buttons:e}))}}if(r&&u){throw new Error("You cannot use non-inline buttons here")}else if(n===u&&u){throw new Error("You cannot mix inline with normal buttons")}else if(n){return new s.Api.ReplyInlineMarkup({rows:g})}return new s.Api.ReplyKeyboardMarkup({rows:g,resize:d,singleUse:A,selective:h})}r.buildReplyMarkup=buildReplyMarkup},41380:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.kickParticipant=r.getParticipants=r.iterParticipants=r._ParticipantsIter=void 0;const i=n(10330);const o=n(40776);const c=n(18219);const u=n(87440);const d=s(n(43269));const A=n(42355);const h=n(29078);const g=200;const m=100;const y=100;class _ChatAction{constructor(e,r,n,s={delay:4,autoCancel:true}){this._client=e;this._chat=r;this._action=n;this._delay=s.delay;this.autoCancel=s.autoCancel;this._request=undefined;this._task=null;this._running=false}[A.inspect.custom](){return(0,i.betterConsoleLog)(this)}async start(){this._request=new u.Api.messages.SetTyping({peer:this._chat,action:this._action});this._running=true;this._update()}async stop(){this._running=false;if(this.autoCancel){await this._client.invoke(new u.Api.messages.SetTyping({peer:this._chat,action:new u.Api.SendMessageCancelAction}))}}async _update(){while(this._running){if(this._request!=undefined){await this._client.invoke(this._request)}await(0,i.sleep)(this._delay*1e3)}}progress(e,r){if("progress"in this._action){this._action.progress=100*Math.round(e/r)}}}_ChatAction._str_mapping={typing:new u.Api.SendMessageTypingAction,contact:new u.Api.SendMessageChooseContactAction,game:new u.Api.SendMessageGamePlayAction,location:new u.Api.SendMessageGeoLocationAction,"record-audio":new u.Api.SendMessageRecordAudioAction,"record-voice":new u.Api.SendMessageRecordAudioAction,"record-round":new u.Api.SendMessageRecordRoundAction,"record-video":new u.Api.SendMessageRecordVideoAction,audio:new u.Api.SendMessageUploadAudioAction({progress:1}),voice:new u.Api.SendMessageUploadAudioAction({progress:1}),song:new u.Api.SendMessageUploadAudioAction({progress:1}),round:new u.Api.SendMessageUploadRoundAction({progress:1}),video:new u.Api.SendMessageUploadVideoAction({progress:1}),photo:new u.Api.SendMessageUploadPhotoAction({progress:1}),document:new u.Api.SendMessageUploadDocumentAction({progress:1}),file:new u.Api.SendMessageUploadDocumentAction({progress:1}),cancel:new u.Api.SendMessageCancelAction};class _ParticipantsIter extends o.RequestIter{[A.inspect.custom](){return(0,i.betterConsoleLog)(this)}async _init({entity:e,filter:r,offset:n,search:s,showTotal:i}){var o,A;if(!n){n=0}if(r&&r.constructor===Function){if([u.Api.ChannelParticipantsBanned,u.Api.ChannelParticipantsKicked,u.Api.ChannelParticipantsSearch,u.Api.ChannelParticipantsContacts].includes(r)){r=new r({q:""})}else{r=new r}}e=await this.client.getInputEntity(e);const h=c.helpers._entityType(e);if(s&&(r||h!=c.helpers._EntityType.CHANNEL)){s=s.toLowerCase();this.filterEntity=e=>c.utils.getDisplayName(e).toLowerCase().includes(s)||("username"in e?e.username||"":"").toLowerCase().includes(s)}else{this.filterEntity=e=>true}this.requests=[];if(h==c.helpers._EntityType.CHANNEL){if(i){const r=await this.client.invoke(new u.Api.channels.GetFullChannel({channel:e}));if(!(r.fullChat instanceof u.Api.ChatFull)){this.total=r.fullChat.participantsCount}}if(this.total&&this.total<=0){return false}this.requests.push(new u.Api.channels.GetParticipants({channel:e,filter:r||new u.Api.ChannelParticipantsSearch({q:s||""}),offset:n,limit:g,hash:d.default.zero}))}else if(h==c.helpers._EntityType.CHAT){if(!("chatId"in e)){throw new Error("Found chat without id "+JSON.stringify(e))}const r=await this.client.invoke(new u.Api.messages.GetFullChat({chatId:e.chatId}));if(r.fullChat instanceof u.Api.ChatFull){if(!(r.fullChat.participants instanceof u.Api.ChatParticipantsForbidden)){this.total=r.fullChat.participants.participants.length}else{this.total=0;return false}const e=new Map;for(const n of r.users){e.set(n.id.toString(),n)}for(const n of r.fullChat.participants.participants){const r=e.get(n.userId.toString());if(!this.filterEntity(r)){continue}r.participant=n;(o=this.buffer)===null||o===void 0?void 0:o.push(r)}return true}}else{this.total=1;if(this.limit!=0){const r=await this.client.getEntity(e);if(this.filterEntity(r)){r.participant=undefined;(A=this.buffer)===null||A===void 0?void 0:A.push(r)}}return true}}async _loadNextChunk(){var e,r;if(!((e=this.requests)===null||e===void 0?void 0:e.length)){return true}this.requests[0].limit=Math.min(this.limit-this.requests[0].offset,g);const n=[];for(const e of this.requests){n.push(await this.client.invoke(e))}for(let e=this.requests.length-1;e>=0;e--){const s=n[e];if(s instanceof u.Api.channels.ChannelParticipantsNotModified||!s.users.length){this.requests.splice(e,1);continue}this.requests[e].offset+=s.participants.length;const i=new Map;for(const e of s.users){i.set(e.id.toString(),e)}for(const e of s.participants){if(!("userId"in e)){continue}const n=i.get(e.userId.toString());if(this.filterEntity&&!this.filterEntity(n)){continue}n.participant=e;(r=this.buffer)===null||r===void 0?void 0:r.push(n)}}return undefined}[Symbol.asyncIterator](){return super[Symbol.asyncIterator]()}}r._ParticipantsIter=_ParticipantsIter;class _AdminLogIter extends o.RequestIter{[A.inspect.custom](){return(0,i.betterConsoleLog)(this)}async _init(e,r,n){let s=undefined;if(n&&Object.values(n).find((e=>e===true))){s=new u.Api.ChannelAdminLogEventsFilter(Object.assign({},n))}this.entity=await this.client.getInputEntity(e);const i=[];if(r&&r.admins){for(const e of r.admins){i.push(await this.client.getInputEntity(e))}}this.request=new u.Api.channels.GetAdminLog({channel:this.entity,q:(r===null||r===void 0?void 0:r.search)||"",minId:r===null||r===void 0?void 0:r.minId,maxId:r===null||r===void 0?void 0:r.maxId,limit:0,eventsFilter:s,admins:i||undefined})}async _loadNextChunk(){if(!this.request){return true}this.request.limit=Math.min(this.left,m);const e=await this.client.invoke(this.request);const r=new Map;for(const n of[...e.users,...e.chats]){r.set(c.utils.getPeerId(n),n)}const n=[];for(const r of e.events){n.push(r.id)}this.request.maxId=(0,i.getMinBigInt)([d.default.zero,...n]);for(const r of e.events){if(r.action instanceof u.Api.ChannelAdminLogEventActionEditMessage){}}}}function iterParticipants(e,r,{limit:n,offset:s,search:i,filter:o,showTotal:c=true}){return new _ParticipantsIter(e,n!==null&&n!==void 0?n:Number.MAX_SAFE_INTEGER,{},{entity:r,filter:o,offset:s!==null&&s!==void 0?s:0,search:i,showTotal:c})}r.iterParticipants=iterParticipants;async function getParticipants(e,r,n){const s=e.iterParticipants(r,n);return await s.collect()}r.getParticipants=getParticipants;async function kickParticipant(e,r,n){const s=await e.getInputEntity(r);const o=await e.getInputEntity(n);let d;let A;const g=c.helpers._entityType(s);if(g===c.helpers._EntityType.CHAT){A=new u.Api.messages.DeleteChatUser({chatId:(0,i.returnBigInt)((0,h.getPeerId)(r)),userId:(0,i.returnBigInt)((0,h.getPeerId)(n))});d=await e.invoke(A)}else if(g===c.helpers._EntityType.CHANNEL){if(o instanceof u.Api.InputPeerSelf){A=new u.Api.channels.LeaveChannel({channel:s});d=await e.invoke(A)}else{A=new u.Api.channels.EditBanned({channel:s,participant:o,bannedRights:new u.Api.ChatBannedRights({untilDate:0,viewMessages:true})});d=await e.invoke(A);await(0,i.sleep)(500);await e.invoke(new u.Api.channels.EditBanned({channel:s,participant:o,bannedRights:new u.Api.ChatBannedRights({untilDate:0})}))}}else{throw new Error("You must pass either a channel or a chat")}return e._getResponseMessage(A,d,r)}r.kickParticipant=kickParticipant},55314:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.getDialogs=r.iterDialogs=r._DialogsIter=void 0;const i=n(87440);const o=n(40776);const c=n(18219);const u=n(56556);const d=s(n(43269));const A=n(91932);const h=100;function _dialogMessageKey(e,r){return""+[e instanceof i.Api.PeerChannel?e.channelId:undefined,r]}class _DialogsIter extends o.RequestIter{async _init({offsetDate:e,offsetId:r,offsetPeer:n,ignorePinned:s,ignoreMigrated:o,folder:c}){this.request=new i.Api.messages.GetDialogs({offsetDate:e,offsetId:r,offsetPeer:n,limit:1,hash:d.default.zero,excludePinned:s,folderId:c});if(this.limit<=0){const e=await this.client.invoke(this.request);if("count"in e){this.total=e.count}else{this.total=e.dialogs.length}return true}this.seen=new Set;this.offsetDate=e;this.ignoreMigrated=o}[Symbol.asyncIterator](){return super[Symbol.asyncIterator]()}async _loadNextChunk(){var e;if(!this.request||!this.seen||!this.buffer){return}this.request.limit=Math.min(this.left,h);const r=await this.client.invoke(this.request);if(r instanceof i.Api.messages.DialogsNotModified){return}if("count"in r){this.total=r.count}else{this.total=r.dialogs.length}const n=new Map;const s=new Map;for(const e of[...r.users,...r.chats]){if(e instanceof i.Api.UserEmpty||e instanceof i.Api.ChatEmpty){continue}n.set(c.utils.getPeerId(e),e)}for(const e of r.messages){let r=e;try{if(r&&"_finishInit"in r){r._finishInit(this.client,n,undefined)}}catch(n){console.log("msg",r);this.client._log.error("Got error while trying to finish init message with id "+e.id);if(this.client._log.canSend(A.LogLevel.ERROR)){console.error(n)}if(this.client._errorHandler){await this.client._errorHandler(n)}}s.set(_dialogMessageKey(r.peerId,r.id),r)}for(const e of r.dialogs){if(e instanceof i.Api.DialogFolder){continue}const r=s.get(_dialogMessageKey(e.peer,e.topMessage));if(this.offsetDate!=undefined){const e=r===null||r===void 0?void 0:r.date;if(e==undefined||e>this.offsetDate){continue}}const o=c.utils.getPeerId(e.peer);if(!this.seen.has(o)){this.seen.add(o);if(!n.has(o)){continue}const s=new u.Dialog(this.client,e,n,r);if(!this.ignoreMigrated||s.entity!=undefined&&"migratedTo"in s.entity){this.buffer.push(s)}}}if(r.dialogs.length= chunkSize")}c-=c%w;if(cQ){c=Q}let m;if(o==c&&n.divide(Q).eq(v.default.zero)&&s%w==0&&(i==undefined||n.divide(i).eq(v.default.zero))){m=DirectDownloadIter;e._log.info(`Starting direct file download in chunks of ${c} at ${n}, stride ${s}`)}else{m=GenericDownloadIter;e._log.info(`Starting indirect file download in chunks of ${c} at ${n}, stride ${s}`)}return new m(e,i,{},{fileLocation:r,dcId:d,offset:n,stride:s,chunkSize:o,requestSize:c,fileSize:u,msgData:A})}r.iterDownload=iterDownload;function getWriter(e){if(!e||Buffer.isBuffer(e)){return new _.BinaryWriter(Buffer.alloc(0))}else if(typeof e=="string"){return(0,E.createWriteStream)(e)}else{return e}}function closeWriter(e){if("close"in e&&e.close){e.close()}}function returnWriterValue(e){if(e instanceof _.BinaryWriter){return e.getValue()}if(e instanceof b.WriteStream){if(typeof e.path=="string"){return I.default.resolve(e.path)}else{return Buffer.from(e.path)}}}async function downloadFileV2(e,r,{outputFile:n=undefined,partSizeKb:s=undefined,fileSize:i=undefined,progressCallback:o=undefined,dcId:u=undefined,msgData:d=undefined}){var A,h;if(!s){if(!i){s=64}else{s=g.utils.getAppropriatedPartSize(i)}}const m=Math.floor(s*1024);if(m%w!=0){throw new Error("The part size must be evenly divisible by 4096")}const y=getWriter(n);let E=v.default.zero;try{try{for(var _=c(iterDownload(e,{file:r,requestSize:m,dcId:u,msgData:d})),b;b=await _.next(),!b.done;){const e=b.value;await y.write(e);E=E.add(e.length);if(o){await o(E,(0,v.default)(i||v.default.zero))}}}catch(e){A={error:e}}finally{try{if(b&&!b.done&&(h=_.return))await h.call(_)}finally{if(A)throw A.error}}return returnWriterValue(y)}finally{closeWriter(y)}}r.downloadFileV2=downloadFileV2;class Foreman{constructor(e){this.maxWorkers=e;this.activeWorkers=0}requestWorker(){this.activeWorkers++;if(this.activeWorkers>this.maxWorkers){this.deferred=createDeferred();return this.deferred.promise}return Promise.resolve()}releaseWorker(){this.activeWorkers--;if(this.deferred&&this.activeWorkers<=this.maxWorkers){this.deferred.resolve()}}}function createDeferred(){let e;const r=new Promise((r=>{e=r}));return{promise:r,resolve:e}}async function downloadMedia(e,r,n,s,i){let o;let c;let u;if(r instanceof d.Api.Message){u=r.media;c=r.date;o=r.inputChat?[r.inputChat,r.id]:undefined}else{u=r;c=Date.now()}if(typeof u=="string"){throw new Error("not implemented")}if(u instanceof d.Api.MessageMediaWebPage){if(u.webpage instanceof d.Api.WebPage){u=u.webpage.document||u.webpage.photo}}if(u instanceof d.Api.MessageMediaPhoto||u instanceof d.Api.Photo){return _downloadPhoto(e,u,n,c,s,i)}else if(u instanceof d.Api.MessageMediaDocument||u instanceof d.Api.Document){return _downloadDocument(e,u,n,c,s,i,o)}else if(u instanceof d.Api.MessageMediaContact){return _downloadContact(e,u,{})}else if(u instanceof d.Api.WebDocument||u instanceof d.Api.WebDocumentNoProxy){return _downloadWebDocument(e,u,{})}else{return Buffer.alloc(0)}}r.downloadMedia=downloadMedia;async function _downloadDocument(e,r,n,s,i,o,c){if(r instanceof d.Api.MessageMediaDocument){if(!r.document){return Buffer.alloc(0)}r=r.document}if(!(r instanceof d.Api.Document)){return Buffer.alloc(0)}let u;if(i==undefined){n=getProperFilename(n,"document","."+(g.utils.getExtension(r)||"bin"),s)}else{n=getProperFilename(n,"photo",".jpg",s);u=getThumb(r.thumbs||[],i);if(u instanceof d.Api.PhotoCachedSize||u instanceof d.Api.PhotoStrippedSize){return _downloadCachedPhotoSize(u,n)}}return await downloadFileV2(e,new d.Api.InputDocumentFileLocation({id:r.id,accessHash:r.accessHash,fileReference:r.fileReference,thumbSize:u&&"type"in u?u.type:""}),{outputFile:n,fileSize:u&&"size"in u?(0,v.default)(u.size):r.size,progressCallback:o,msgData:c})}r._downloadDocument=_downloadDocument;async function _downloadContact(e,r,n){throw new Error("not implemented")}r._downloadContact=_downloadContact;async function _downloadWebDocument(e,r,n){throw new Error("not implemented")}r._downloadWebDocument=_downloadWebDocument;function pickFileSize(e,r){if(!r||!e||!e.length){return undefined}const n=C.indexOf(r);let s;for(let r=n;re.type===C[r]));if(s&&!(s instanceof d.Api.PhotoPathSize)){return s}}return undefined}function getThumb(e,r){function sortThumb(e){if(e instanceof d.Api.PhotoStrippedSize){return e.bytes.length}if(e instanceof d.Api.PhotoCachedSize){return e.bytes.length}if(e instanceof d.Api.PhotoSize){return e.size}if(e instanceof d.Api.PhotoSizeProgressive){return Math.max(...e.sizes)}if(e instanceof d.Api.VideoSize){return e.size}return 0}e=e.sort(((e,r)=>sortThumb(e)-sortThumb(r)));const n=[];for(const r of e){if(!(r instanceof d.Api.PhotoPathSize)){n.push(r)}}if(r==undefined){return n.pop()}else if(typeof r=="number"){return n[r]}else if(typeof r=="string"){for(const e of n){if("type"in e&&e.type==r){return e}}}else if(r instanceof d.Api.PhotoSize||r instanceof d.Api.PhotoCachedSize||r instanceof d.Api.PhotoStrippedSize||r instanceof d.Api.VideoSize){return r}}async function _downloadCachedPhotoSize(e,r){let n;if(e instanceof d.Api.PhotoStrippedSize){n=(0,A.strippedPhotoToJpg)(e.bytes)}else{n=e.bytes}const s=getWriter(r);try{await s.write(n)}finally{closeWriter(s)}return returnWriterValue(s)}r._downloadCachedPhotoSize=_downloadCachedPhotoSize;function getProperFilename(e,r,n,s){if(!e||typeof e!="string"){return e}if(b.existsSync(e)&&b.lstatSync(e).isDirectory()){let i=r+s+n;return I.default.join(e,i)}return e}async function _downloadPhoto(e,r,n,s,i,o){if(r instanceof d.Api.MessageMediaPhoto){if(r.photo instanceof d.Api.PhotoEmpty||!r.photo){return Buffer.alloc(0)}r=r.photo}if(!(r instanceof d.Api.Photo)){return Buffer.alloc(0)}const c=[...r.sizes||[],...r.videoSizes||[]];const u=getThumb(c,i);if(!u||u instanceof d.Api.PhotoSizeEmpty){return Buffer.alloc(0)}if(!s){s=Date.now()}n=getProperFilename(n,"photo",".jpg",s);if(u instanceof d.Api.PhotoCachedSize||u instanceof d.Api.PhotoStrippedSize){return _downloadCachedPhotoSize(u,n)}let A;if(u instanceof d.Api.PhotoSizeProgressive){A=Math.max(...u.sizes)}else{A="size"in u?u.size:512}return downloadFileV2(e,new d.Api.InputPhotoFileLocation({id:r.id,accessHash:r.accessHash,fileReference:r.fileReference,thumbSize:"type"in u?u.type:""}),{outputFile:n,fileSize:(0,v.default)(A),progressCallback:o,dcId:r.dcId})}r._downloadPhoto=_downloadPhoto;async function downloadProfilePhoto(e,r,n){let s;if(typeof r=="object"&&"photo"in r){s=r.photo}else{r=await e.getEntity(r);if("photo"in r){s=r.photo}else{throw new Error(`Could not get photo from ${r?r.className:undefined}`)}}let i;let o;if(s instanceof d.Api.UserProfilePhoto||s instanceof d.Api.ChatPhoto){i=s.dcId;o=new d.Api.InputPeerPhotoFileLocation({peer:g.utils.getInputPeer(r),photoId:s.photoId,big:n.isBig})}else{return Buffer.alloc(0)}return e.downloadFile(o,{outputFile:n.outputFile,dcId:i})}r.downloadProfilePhoto=downloadProfilePhoto},46488:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(79896),r)},42107:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.users=r.uploads=r.updates=r.tgClient=r.telegramBaseClient=r.message=r.messageParse=r.downloads=r.dialogs=r.chats=r.buttons=r.bots=r.auth=r.twoFA=void 0;const c=o(n(77472));r.twoFA=c;const u=o(n(86769));r.auth=u;const d=o(n(87237));r.bots=d;const A=o(n(35054));r.buttons=A;const h=o(n(41380));r.chats=h;const g=o(n(55314));r.dialogs=g;const m=o(n(35130));r.downloads=m;const y=o(n(41197));r.messageParse=y;const E=o(n(74827));r.message=E;const _=o(n(71966));r.telegramBaseClient=_;const b=o(n(74163));r.tgClient=b;const I=o(n(52753));r.updates=I;const v=o(n(94417));r.uploads=v;const C=o(n(44431));r.users=C},41197:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r._getResponseMessage=r._parseMessageText=r._replaceWithMention=r.DEFAULT_DELIMITERS=void 0;const i=n(29078);const o=n(11820);const c=n(18219);const u=n(10330);const d=s(n(43269));r.DEFAULT_DELIMITERS={"**":o.Api.MessageEntityBold,__:o.Api.MessageEntityItalic,"~~":o.Api.MessageEntityStrike,"`":o.Api.MessageEntityCode,"```":o.Api.MessageEntityPre};async function _replaceWithMention(e,r,n,s){try{r[n]=new o.Api.InputMessageEntityMentionName({offset:r[n].offset,length:r[n].length,userId:await e.getInputEntity(s)});return true}catch(e){return false}}r._replaceWithMention=_replaceWithMention;async function _parseMessageText(e,r,n){if(n==false){return[r,[]]}if(n==undefined){if(e.parseMode==undefined){return[r,[]]}n=e.parseMode}else if(typeof n==="string"){n=(0,i.sanitizeParseMode)(n)}const[s,c]=n.parse(r);for(let r=c.length-1;r>=0;r--){const n=c[r];if(n instanceof o.Api.MessageEntityTextUrl){const s=/^@|\+|tg:\/\/user\?id=(\d+)/.exec(n.url);if(s){const i=s[1]?Number(s[1]):n.url;const o=await _replaceWithMention(e,c,r,i);if(!o){c.splice(r,1)}}}}return[s,c]}r._parseMessageText=_parseMessageText;function _getResponseMessage(e,r,n,s){let A=[];let h=new Map;if(n instanceof o.Api.UpdateShort){A=[n.update]}else if(n instanceof o.Api.Updates||n instanceof o.Api.UpdatesCombined){A=n.updates;for(const e of[...n.users,...n.chats]){h.set(c.utils.getPeerId(e),e)}}else{return}const g=new Map;const m=new Map;let y;for(const n of A){if(n instanceof o.Api.UpdateMessageID){g.set(n.randomId.toString(),n.id)}else if(n instanceof o.Api.UpdateNewChannelMessage||n instanceof o.Api.UpdateNewMessage){n.message._finishInit(e,h,s);if("randomId"in r||(0,u.isArrayLike)(r)){m.set(n.message.id,n.message)}else{return n.message}}else if(n instanceof o.Api.UpdateEditMessage&&"peer"in r&&(0,u._entityType)(r.peer)!=u._EntityType.CHANNEL){n.message._finishInit(e,h,s);if("randomId"in r){m.set(n.message.id,n.message)}else if("id"in r&&r.id===n.message.id){return n.message}}else if(n instanceof o.Api.UpdateEditChannelMessage&&"peer"in r&&(0,i.getPeerId)(r.peer)==(0,i.getPeerId)(n.message.peerId)){if(r.id==n.message.id){n.message._finishInit(e,h,s);return n.message}}else if(n instanceof o.Api.UpdateNewScheduledMessage){n.message._finishInit(e,h,s);y=n.message;m.set(n.message.id,n.message)}else if(n instanceof o.Api.UpdateMessagePoll){if(r.media.poll.id==n.pollId){const i=new o.Api.Message({id:r.id,peerId:c.utils.getPeerId(r.peer),media:new o.Api.MessageMediaPoll({poll:n.poll,results:n.results}),message:"",date:0});i._finishInit(e,h,s);return i}}}if(r==undefined){return m}let E;if((0,u.isArrayLike)(r)||typeof r=="number"||d.default.isInstance(r)){E=r}else{E=r.randomId}if(!E){if(y){return y}e._log.warn(`No randomId in ${r} to map to. returning undefined for ${n}`);return undefined}if(!(0,u.isArrayLike)(E)){let s=m.get(g.get(E.toString()));if(!s){e._log.warn(`Request ${r.className} had missing message mapping ${n.className}`)}return s}const _=[];let b=false;for(const e of E){const r=g.get(e.toString());if(!r){b=true;break}const n=m.get(r);if(!n){b=true;break}_.push(n)}if(b){e._log.warn(`Request ${r.className} had missing message mapping ${n.className}`)}const I=[];for(const e of E){I.push(m.get(g.get(e.toString())))}return I}r._getResponseMessage=_getResponseMessage},74827:function(e,r,n){var s=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],n;return r?r.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(r){n[r]=e[r]&&function(n){return new Promise((function(s,i){n=e[r](n),settle(s,i,n.done,n.value)}))}}function settle(e,r,n,s){Promise.resolve(s).then((function(r){e({value:r,done:n})}),r)}};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.getCommentData=r.markAsRead=r._pin=r.unpinMessage=r.pinMessage=r.deleteMessages=r.editMessage=r.forwardMessages=r.sendMessage=r.getMessages=r.iterMessages=r._IDsIter=r._MessagesIter=void 0;const o=n(87440);const c=n(40776);const u=n(10330);const d=n(29078);const A=n(18219);const h=n(41197);const g=n(44431);const m=i(n(43269));const y=n(94417);const E=100;class _MessagesIter extends c.RequestIter{async _init({entity:e,offsetId:r,minId:n,maxId:i,fromUser:c,offsetDate:d,addOffset:A,filter:h,search:g,replyTo:y}){var _,b;if(e){this.entity=await this.client.getInputEntity(e)}else{this.entity=undefined;if(this.reverse){throw new Error("Cannot reverse global search")}}if(this.reverse){r=Math.max(r,n);if(r&&i){if(i-r<=1){return false}}if(!i){i=Number.MAX_SAFE_INTEGER}}else{r=Math.max(r,i);if(r&&n){if(r-n<=1){return false}}}if(this.reverse){if(r){r+=1}else if(!d){r=1}}if(c){c=await this.client.getInputEntity(c)}if(!this.entity&&c){this.entity=new o.Api.InputPeerEmpty}if(!h){h=new o.Api.InputMessagesFilterEmpty}if(!this.entity){this.request=new o.Api.messages.SearchGlobal({q:g||"",filter:h,minDate:undefined,maxDate:d,offsetRate:undefined,offsetPeer:new o.Api.InputPeerEmpty,offsetId:r,limit:1})}else if(y!==undefined){this.request=new o.Api.messages.GetReplies({peer:this.entity,msgId:y,offsetId:r,offsetDate:d,addOffset:A,limit:0,maxId:0,minId:0,hash:m.default.zero})}else if(g!==undefined||!(h instanceof o.Api.InputMessagesFilterEmpty)||c!==undefined){this.request=new o.Api.messages.Search({peer:this.entity,q:g||"",filter:typeof h==="function"?new h:h,minDate:undefined,maxDate:d,offsetId:r,addOffset:A,limit:0,maxId:0,minId:0,hash:(0,u.generateRandomBigInt)(),fromId:c});if(!(h instanceof o.Api.InputMessagesFilterEmpty)&&d&&!g&&!r){try{for(var I=s(this.client.iterMessages(this.entity,{limit:1,offsetDate:d})),v;v=await I.next(),!v.done;){const e=v.value;this.request.offsetId=e.id+1}}catch(e){_={error:e}}finally{try{if(v&&!v.done&&(b=I.return))await b.call(I)}finally{if(_)throw _.error}}}}else{this.request=new o.Api.messages.GetHistory({peer:this.entity,limit:1,offsetDate:d,offsetId:r,minId:0,maxId:0,addOffset:A,hash:m.default.zero})}if(this.limit<=0){const e=await this.client.invoke(this.request);if(e instanceof o.Api.messages.MessagesNotModified){this.total=e.count}else{if("count"in e){this.total=e.count}else{this.total=e.messages.length}}return false}if(!this.waitTime){this.waitTime=this.limit>3e3?1:0}if(this.reverse&&!(this.request instanceof o.Api.messages.SearchGlobal)){this.request.addOffset-=E}this.addOffset=A;this.maxId=i;this.minId=n;this.lastId=this.reverse?0:Number.MAX_SAFE_INTEGER}async _loadNextChunk(){var e;if(!this.request){throw new Error("Request not set yet")}this.request.limit=Math.min(this.left,E);if(this.reverse&&this.request.limit!=E){if(!(this.request instanceof o.Api.messages.SearchGlobal)){this.request.addOffset=this.addOffset-this.request.limit}}const r=await this.client.invoke(this.request);if(r instanceof o.Api.messages.MessagesNotModified){return true}if("count"in r){this.total=r.count}else{this.total=r.messages.length}const n=new Map;for(const e of[...r.users,...r.chats]){n.set((0,d.getPeerId)(e),e)}const s=this.reverse?r.messages.reverse():r.messages;for(const r of s){if(!this._messageInRange(r)){return true}this.lastId=r.id;try{r._finishInit(this.client,n,this.entity)}catch(e){}r._entities=n;(e=this.buffer)===null||e===void 0?void 0:e.push(r)}if(r.messages.length=this.maxId){return false}}else{if(e.id>=this.lastId||e.id<=this.minId){return false}}}return true}[Symbol.asyncIterator](){return super[Symbol.asyncIterator]()}_updateOffset(e,r){if(!this.request){throw new Error("Request not set yet")}this.request.offsetId=Number(e.id);if(this.reverse){this.request.offsetId+=1}if(this.request instanceof o.Api.messages.Search){this.request.maxDate=-1}else{if(!(this.request instanceof o.Api.messages.SearchGlobal)){this.request.offsetDate=e.date}}if(this.request instanceof o.Api.messages.SearchGlobal){if(e.inputChat){this.request.offsetPeer=e.inputChat}else{this.request.offsetPeer=new o.Api.InputPeerEmpty}this.request.offsetRate=r.nextRate}}}r._MessagesIter=_MessagesIter;class _IDsIter extends c.RequestIter{async _init({entity:e,ids:r}){this.total=r.length;this._ids=this.reverse?r.reverse():r;this._offset=0;this._entity=e?await this.client.getInputEntity(e):undefined;this._ty=this._entity?(0,u._entityType)(this._entity):undefined;if(!this.waitTime){this.waitTime=this.limit>300?10:0}}[Symbol.asyncIterator](){return super[Symbol.asyncIterator]()}async _loadNextChunk(){var e,r,n;const s=this._ids.slice(this._offset,this._offset+E);if(!s.length){return false}this._offset+=E;let i;let c;if(this._ty==u._EntityType.CHANNEL){try{c=await this.client.invoke(new o.Api.channels.GetMessages({channel:this._entity,id:s}))}catch(e){if(e.errorMessage=="MESSAGE_IDS_EMPTY"){c=new o.Api.messages.MessagesNotModified({count:s.length})}else{throw e}}}else{c=await this.client.invoke(new o.Api.messages.GetMessages({id:s}));if(this._entity){i=await(0,g._getPeer)(this.client,this._entity)}}if(c instanceof o.Api.messages.MessagesNotModified){(e=this.buffer)===null||e===void 0?void 0:e.push(...Array(s.length));return}const d=new Map;for(const e of[...c.users,...c.chats]){d.set(A.utils.getPeerId(e),e)}let h;for(h of c.messages){if(h instanceof o.Api.MessageEmpty||i&&A.utils.getPeerId(h.peerId)!=A.utils.getPeerId(i)){(r=this.buffer)===null||r===void 0?void 0:r.push(undefined)}else{const e=h;e._finishInit(this.client,d,this._entity);e._entities=d;(n=this.buffer)===null||n===void 0?void 0:n.push(e)}}}}r._IDsIter=_IDsIter;const _={limit:undefined,offsetDate:undefined,offsetId:0,maxId:0,minId:0,addOffset:0,search:undefined,filter:undefined,fromUser:undefined,waitTime:undefined,ids:undefined,reverse:false,replyTo:undefined,scheduled:false};function iterMessages(e,r,n){const{limit:s,offsetDate:i,offsetId:o,maxId:c,minId:d,addOffset:A,search:h,filter:g,fromUser:m,waitTime:y,ids:E,reverse:b,replyTo:I}=Object.assign(Object.assign({},_),n);if(E){let n;if(!(0,u.isArrayLike)(E)){n=[E]}else{n=E}return new _IDsIter(e,n.length,{reverse:b,waitTime:y},{entity:r,ids:n})}return new _MessagesIter(e,s,{waitTime:y,reverse:b},{entity:r,offsetId:o,minId:d,maxId:c,fromUser:m,offsetDate:i,addOffset:A,filter:g,search:h,replyTo:I})}r.iterMessages=iterMessages;async function getMessages(e,r,n){var i,o;if(Object.keys(n).length==1&&n.limit===undefined){if(n.minId===undefined&&n.maxId===undefined){n.limit=undefined}else{n.limit=1}}const c=e.iterMessages(r,n);const d=n.ids;if(d&&!(0,u.isArrayLike)(d)){try{for(var A=s(c),h;h=await A.next(),!h.done;){const e=h.value;return[e]}}catch(e){i={error:e}}finally{try{if(h&&!h.done&&(o=A.return))await o.call(A)}finally{if(i)throw i.error}}return[]}return await c.collect()}r.getMessages=getMessages;async function sendMessage(e,r,{message:n,replyTo:s,attributes:i,parseMode:c,formattingEntities:u,linkPreview:A=true,file:m,thumb:y,forceDocument:E,clearDraft:_,buttons:b,silent:I,supportStreaming:v,schedule:C,noforwards:w,commentTo:B,topMsgId:S}={}){if(m){return e.sendFile(r,{file:m,caption:n?typeof n=="string"?n:n.message:"",forceDocument:E,clearDraft:_,replyTo:s,attributes:i,thumb:y,supportsStreaming:v,parseMode:c,formattingEntities:u,silent:I,scheduleDate:C,buttons:b,noforwards:w,commentTo:B,topMsgId:S})}r=await e.getInputEntity(r);if(B!=undefined){const n=await getCommentData(e,r,B);r=n.entity;s=n.replyTo}let T,k;let R=undefined;if(s!=undefined){R=new o.Api.InputReplyToMessage({replyToMsgId:(0,d.getMessageId)(s),topMsgId:(0,d.getMessageId)(S)})}if(n&&n instanceof o.Api.Message){if(b==undefined){T=n.replyMarkup}else{T=e.buildReplyMarkup(b)}if(I==undefined){I=n.silent}if(n.media&&!(n.media instanceof o.Api.MessageMediaWebPage)){return e.sendFile(r,{file:n.media,caption:n.message,silent:I,replyTo:s,buttons:T,formattingEntities:n.entities,scheduleDate:C})}k=new o.Api.messages.SendMessage({peer:r,message:n.message||"",silent:I,replyTo:R,replyMarkup:T,entities:n.entities,clearDraft:_,noWebpage:!(n.media instanceof o.Api.MessageMediaWebPage),scheduleDate:C,noforwards:w});n=n.message}else{if(u==undefined){[n,u]=await(0,h._parseMessageText)(e,n||"",c)}if(!n){throw new Error("The message cannot be empty unless a file is provided")}k=new o.Api.messages.SendMessage({peer:r,message:n.toString(),entities:u,noWebpage:!A,replyTo:R,clearDraft:_,silent:I,replyMarkup:e.buildReplyMarkup(b),scheduleDate:C,noforwards:w})}const Q=await e.invoke(k);if(Q instanceof o.Api.UpdateShortSentMessage){const s=new o.Api.Message({id:Q.id,peerId:await(0,g._getPeer)(e,r),message:n,date:Q.date,out:Q.out,media:Q.media,entities:Q.entities,replyMarkup:k.replyMarkup,ttlPeriod:Q.ttlPeriod});s._finishInit(e,new Map,r);return s}return e._getResponseMessage(k,Q,r)}r.sendMessage=sendMessage;async function forwardMessages(e,r,{messages:n,fromPeer:s,silent:i,schedule:c,noforwards:A,dropAuthor:h}){if(!(0,u.isArrayLike)(n)){n=[n]}r=await e.getInputEntity(r);let g;if(s){s=await e.getInputEntity(s);g=await e.getPeerId(s)}const getKey=e=>{if(e instanceof o.Api.Message){return e.chatId}let r=(0,d.parseID)(e);if(r){if(g!==undefined){return g}throw new Error("fromPeer must be given if integer IDs are used")}else{throw new Error(`Cannot forward ${e}`)}};const m=[];for(let[d,g]of(0,u.groupBy)(n,getKey)){let n;let u=[];if(typeof g[0]=="number"){n=s;u=g}else{n=await g[0].getInputChat();u=g.map((e=>e.id))}g.push();const d=new o.Api.messages.ForwardMessages({fromPeer:n,id:u,toPeer:r,silent:i,scheduleDate:c,noforwards:A,dropAuthor:h});const y=await e.invoke(d);m.push(e._getResponseMessage(d,y,r))}return m}r.forwardMessages=forwardMessages;async function editMessage(e,r,{message:n,text:s,parseMode:i,formattingEntities:c,linkPreview:u=true,file:A,forceDocument:g,buttons:m,schedule:E}){if(typeof n==="number"&&typeof s==="undefined"&&!A&&!E){throw Error("You have to provide either file or text or schedule property.")}r=await e.getInputEntity(r);let _;let b;let I;let v;if(A){const{fileHandle:r,media:n,image:s}=await(0,y._fileToMedia)(e,{file:A,forceDocument:g});v=n}if(n instanceof o.Api.Message){_=(0,d.getMessageId)(n);s=n.message;I=n.entities;if(m==undefined){b=n.replyMarkup}else{b=e.buildReplyMarkup(m)}if(n.media){v=(0,d.getInputMedia)(n.media,{forceDocument:g})}}else{if(typeof n!=="number"){throw Error("editMessageParams.message must be either a number or a Api.Message type")}_=n;if(c==undefined){[s,I]=await(0,h._parseMessageText)(e,s||"",i)}else{I=c}b=e.buildReplyMarkup(m)}const C=new o.Api.messages.EditMessage({peer:r,id:_,message:s,noWebpage:!u,entities:I,media:v,replyMarkup:b,scheduleDate:E});const w=await e.invoke(C);return e._getResponseMessage(C,w,r)}r.editMessage=editMessage;async function deleteMessages(e,r,n,{revoke:s=false}){let i=u._EntityType.USER;if(r){r=await e.getInputEntity(r);i=(0,u._entityType)(r)}const c=[];for(const e of n){if(e instanceof o.Api.Message||e instanceof o.Api.MessageService||e instanceof o.Api.MessageEmpty){c.push(e.id)}else if(typeof e==="number"){c.push(e)}else{throw new Error(`Cannot convert ${e} to an integer`)}}const d=[];if(i==u._EntityType.CHANNEL){for(const n of A.utils.chunks(c)){d.push(e.invoke(new o.Api.channels.DeleteMessages({channel:r,id:n})))}}else{for(const r of A.utils.chunks(c)){d.push(e.invoke(new o.Api.messages.DeleteMessages({id:r,revoke:s})))}}return Promise.all(d)}r.deleteMessages=deleteMessages;async function pinMessage(e,r,n,s){return await _pin(e,r,n,false,s===null||s===void 0?void 0:s.notify,s===null||s===void 0?void 0:s.pmOneSide)}r.pinMessage=pinMessage;async function unpinMessage(e,r,n,s){return await _pin(e,r,n,true,s===null||s===void 0?void 0:s.notify,s===null||s===void 0?void 0:s.pmOneSide)}r.unpinMessage=unpinMessage;async function _pin(e,r,n,s,i=false,c=false){n=A.utils.getMessageId(n)||0;if(n===0){return await e.invoke(new o.Api.messages.UnpinAllMessages({peer:r}))}r=await e.getInputEntity(r);const u=new o.Api.messages.UpdatePinnedMessage({silent:!i,unpin:s,pmOneside:c,peer:r,id:n});const d=await e.invoke(u);if(s||!("updates"in d)||"updates"in d&&!d.updates){return}return e._getResponseMessage(u,d,r)}r._pin=_pin;async function markAsRead(e,r,n,s){let i=(s===null||s===void 0?void 0:s.maxId)||0;const c=(s===null||s===void 0?void 0:s.maxId)===undefined;if(c){if(n){if(Array.isArray(n)){i=Math.max(...n.map((e=>A.utils.getMessageId(e))))}else{i=A.utils.getMessageId(n)}}}r=await e.getInputEntity(r);if(s&&!s.clearMentions){await e.invoke(new o.Api.messages.ReadMentions({peer:r}));if(c&&n===undefined){return true}}if((0,u._entityType)(r)===u._EntityType.CHANNEL){return await e.invoke(new o.Api.channels.ReadHistory({channel:r,maxId:i}))}else{await e.invoke(new o.Api.messages.ReadHistory({peer:r,maxId:i}));return true}}r.markAsRead=markAsRead;async function getCommentData(e,r,n){const s=await e.invoke(new o.Api.messages.GetDiscussionMessage({peer:r,msgId:A.utils.getMessageId(n)}));const i=s.messages.reduce(((e,r)=>e&&e.idObject.values(e).map((e=>e&&e.then((e=>{if(e){return e.disconnect()}return undefined})))))).flat());Object.values(this._exportedSenderReleaseTimeouts).forEach((e=>{Object.values(e).forEach((e=>{clearTimeout(e)}))}));this._exportedSenderPromises.clear()}get disconnected(){return!this._sender||this._sender._disconnected}async _disconnect(){var e;await((e=this._sender)===null||e===void 0?void 0:e.disconnect())}async destroy(){this._destroyed=true;await Promise.all([this.disconnect(),...Object.values(this._borrowedSenderPromises).map((e=>e.then((e=>e.disconnect()))))]);this._eventBuilders=[]}async _authKeyCallback(e,r){this.session.setAuthKey(e,r);await this.session.save()}async _cleanupExportedSender(e){if(this.session.dcId!==e){this.session.setAuthKey(undefined,e)}let r=await this._exportedSenderPromises.get(e);this._exportedSenderPromises.delete(e);await(r===null||r===void 0?void 0:r.disconnect())}async _connectSender(e,r){const n=await this.getDC(r,!!e.authKey.getKey());while(true){try{await e.connect(new this._connection({ip:n.ipAddress,port:n.port,dcId:r,loggers:this._log,proxy:this._proxy,testServers:this.testServers,socket:this.networkSocket}),false);if(this.session.dcId!==r&&!e._authenticated){this._log.info(`Exporting authorization for data center ${n.ipAddress} with layer ${E.LAYER}`);const s=await this.invoke(new A.Api.auth.ExportAuthorization({dcId:r}));this._initRequest.query=new A.Api.auth.ImportAuthorization({id:s.id,bytes:s.bytes});const i=new A.Api.InvokeWithLayer({layer:E.LAYER,query:this._initRequest});await e.send(i);e._authenticated=true}e.dcId=r;e.userDisconnected=false;return e}catch(r){if(r.errorMessage==="DC_ID_INVALID"){e._authenticated=true;e.userDisconnected=false;return e}if(this._errorHandler){await this._errorHandler(r)}else if(this._log.canSend(I.LogLevel.ERROR)){console.error(r)}await(0,o.sleep)(1e3);await e.disconnect()}}}async _borrowExportedSender(e,r,n){if(!this._exportedSenderPromises.get(e)||r){this._exportedSenderPromises.set(e,this._connectSender(n||this._createExportedSender(e),e))}let s;try{s=await this._exportedSenderPromises.get(e);if(!s.isConnected()){if(s.isConnecting){await(0,o.sleep)(w);return this._borrowExportedSender(e,false,s)}else{return this._borrowExportedSender(e,true,s)}}}catch(r){if(this._errorHandler){await this._errorHandler(r)}if(this._log.canSend(I.LogLevel.ERROR)){console.error(r)}return this._borrowExportedSender(e,true)}if(this._exportedSenderReleaseTimeouts.get(e)){clearTimeout(this._exportedSenderReleaseTimeouts.get(e));this._exportedSenderReleaseTimeouts.delete(e)}this._exportedSenderReleaseTimeouts.set(e,setTimeout((()=>{this._exportedSenderReleaseTimeouts.delete(e);if(s._pendingState.values().length){console.log("sender already has some hanging states. reconnecting");s._reconnect();this._borrowExportedSender(e,false,s)}else{s.disconnect()}}),B));return s}_createExportedSender(e){return new y.MTProtoSender(this.session.getAuthKey(e),{logger:this._log,dcId:e,retries:this._connectionRetries,delay:this._retryDelay,autoReconnect:this._autoReconnect,connectTimeout:this._timeout,authKeyCallback:this._authKeyCallback.bind(this),isMainSender:e===this.session.dcId,onConnectionBreak:this._cleanupExportedSender.bind(this),client:this,securityChecks:this._securityChecks,_exportedSenderPromises:this._exportedSenderPromises})}getSender(e){return e?this._borrowExportedSender(e):Promise.resolve(this._sender)}async getDC(e,r){throw new Error("Cannot be called from here!")}invoke(e){throw new Error("Cannot be called from here!")}setLogLevel(e){this._log.setLevel(e)}get logger(){return this._log}set onError(e){this._errorHandler=async r=>{try{await e(r)}catch(e){if(this._log.canSend(I.LogLevel.ERROR)){e.message=`Error ${e.message} thrown while handling top-level error: ${r.message}`;console.error(e)}}}}}r.TelegramBaseClient=TelegramBaseClient},52753:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r._updateLoop=r._dispatchUpdate=r._processUpdate=r._handleUpdate=r.catchUp=r.listEventHandlers=r.removeEventHandler=r.addEventHandler=r.on=r.StopPropagation=void 0;const s=n(87440);const i=n(68722);const o=n(18219);const c=n(10330);const u=n(91932);const d=9e3;const A=1e4;const h=3;const g=100;const m=6e4;const y=5e3;const E=3e3;const _=1e3;class StopPropagation extends Error{}r.StopPropagation=StopPropagation;function on(e,r){return n=>{e.addEventHandler(n,r);return n}}r.on=on;function addEventHandler(e,r,s){if(s==undefined){const e=n(10763).Raw;s=new e({})}s.client=e;e._eventBuilders.push([s,r])}r.addEventHandler=addEventHandler;function removeEventHandler(e,r,n){e._eventBuilders=e._eventBuilders.filter((function(e){return e[0]!==n&&e[1]!==r}))}r.removeEventHandler=removeEventHandler;function listEventHandlers(e){return e._eventBuilders}r.listEventHandlers=listEventHandlers;function catchUp(){}r.catchUp=catchUp;function _handleUpdate(e,r){if(typeof r==="number"){if([-1,0,1].includes(r)){_dispatchUpdate(e,{update:new i.UpdateConnectionState(r)});return}}e._entityCache.add(r);e.session.processEntities(r);if(r instanceof s.Api.Updates||r instanceof s.Api.UpdatesCombined){const n=new Map;for(const e of[...r.users,...r.chats]){n.set(o.utils.getPeerId(e),e)}for(const s of r.updates){_processUpdate(e,s,r.updates,n)}}else if(r instanceof s.Api.UpdateShort){_processUpdate(e,r.update,null)}else{_processUpdate(e,r,null)}}r._handleUpdate=_handleUpdate;function _processUpdate(e,r,n,s){r._entities=s||new Map;const i={update:r,others:n};_dispatchUpdate(e,i)}r._processUpdate=_processUpdate;async function _dispatchUpdate(e,r){for(const[n,s]of e._eventBuilders){if(!n||!s){continue}if(!n.resolved){await n.resolve(e)}let o=r.update;if(o){if(!e._selfInputPeer){try{await e.getMe(true)}catch(e){}}if(!(o instanceof i.UpdateConnectionState)){}o=n.build(o,s,e._selfInputPeer?(0,c.returnBigInt)(e._selfInputPeer.userId):undefined);if(o){o._client=e;if("_eventName"in o){o._setClient(e);o.originalUpdate=r.update;o._entities=r.update._entities}const i=await n.filter(o);if(!i){continue}try{await s(o)}catch(r){if(r instanceof StopPropagation){break}if(e._errorHandler){await e._errorHandler(r)}if(e._log.canSend(u.LogLevel.ERROR)){console.error(r)}}}}}}r._dispatchUpdate=_dispatchUpdate;async function _updateLoop(e){let r;while(!e._destroyed){await(0,c.sleep)(d,true);if(e._destroyed)break;if(e._sender.isReconnecting||e._isSwitchingDc){r=undefined;continue}try{const ping=()=>e._sender.send(new s.Api.PingDelayDisconnect({pingId:(0,c.returnBigInt)((0,c.getRandomInt)(Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)),disconnectDelay:m}));const n=Date.now();const o=r?n-r:undefined;if(!o||otimeout(ping,A)),h,g)}else{let r=setTimeout((()=>{_handleUpdate(e,i.UpdateConnectionState.disconnected);r=undefined}),_);await timeout(ping,E);if(r){clearTimeout(r);r=undefined}_handleUpdate(e,i.UpdateConnectionState.connected)}r=Date.now()}catch(n){if(e._errorHandler){await e._errorHandler(n)}if(e._log.canSend(u.LogLevel.ERROR)){console.error(n)}r=undefined;if(e._sender.isReconnecting||e._isSwitchingDc){continue}e._sender.reconnect()}if(Date.now()-(e._lastRequest||0)>30*60*1e3){try{await e.invoke(new s.Api.updates.GetState)}catch(e){}r=undefined}}await e.disconnect()}r._updateLoop=_updateLoop;async function attempts(e,r,n){for(let s=0;sn?undefined:Promise.reject(new Error("TIMEOUT"))))]).finally((()=>{n=true}))}},94417:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.sendFile=r._sendAlbum=r._fileToMedia=r.uploadFile=r.CustomFile=void 0;const i=n(87440);const o=n(10330);const c=n(29078);const u=s(n(45844));const d=n(46488);const A=n(18219);const h=n(41197);const g=n(74827);const m=s(n(43269));class CustomFile{constructor(e,r,n,s){this.name=e;this.size=r;this.path=n;this.buffer=s}}r.CustomFile=CustomFile;class CustomBuffer{constructor(e){this.options=e;if(!e.buffer&&!e.filePath){throw new Error("Either one of `buffer` or `filePath` should be specified")}}async slice(e,r){const{buffer:n,filePath:s}=this.options;if(n){return n.slice(e,r)}else if(s){const n=r-e;const i=Buffer.alloc(n);const o=await d.promises.open(s,"r");await o.read(i,0,n,e);await o.close();return Buffer.from(i)}return Buffer.alloc(0)}}const y=1024;const E=10*1024*1024;const _=null&&15*1e3;const b=1e3;const I=null&&2**31;const v=20*1024*1024;async function getFileBuffer(e,r,n){const s={};if(r>n&&e instanceof CustomFile){s.filePath=e.path}else{s.buffer=Buffer.from(await fileToBuffer(e))}return new CustomBuffer(s)}async function uploadFile(e,r){const{file:n,onProgress:s}=r;let{workers:u}=r;const{name:d,size:h}=n;const g=(0,o.readBigIntFromBuffer)((0,o.generateRandomBytes)(8),true,true);const _=h>E;const I=(0,c.getAppropriatedPartSize)((0,m.default)(h))*y;const C=Math.floor((h+I-1)/I);const w=await getFileBuffer(n,h,r.maxBufferSize||v-1);await e.getSender(e.session.dcId);if(!u||!h){u=1}if(u>=C){u=C}let B=0;if(s){s(B)}for(let r=0;rC){c=C}for(let u=r;u{while(true){let c;try{c=await e.getSender(e.session.dcId);await c.send(_?new i.Api.upload.SaveBigFilePart({fileId:g,filePart:r,fileTotalParts:C,bytes:n}):new i.Api.upload.SaveFilePart({fileId:g,filePart:r,bytes:n}))}catch(e){if(c&&!c.isConnected()){await(0,o.sleep)(b);continue}else if(e instanceof A.errors.FloodWaitError){await(0,o.sleep)(e.seconds*1e3);continue}throw e}if(s){if(s.isCanceled){throw new Error("USER_CANCELED")}B+=1/C;s(B)}break}})(u,r))}await Promise.all(n)}return _?new i.Api.InputFileBig({id:g,parts:C,name:d}):new i.Api.InputFile({id:g,parts:C,name:d,md5Checksum:""})}r.uploadFile=uploadFile;async function _fileToMedia(e,{file:r,forceDocument:n,fileSize:s,progressCallback:o,attributes:c,thumb:h,voiceNote:g=false,videoNote:m=false,supportsStreaming:y=false,mimeType:E,asImage:_,workers:b=1}){if(!r){return{fileHandle:undefined,media:undefined,image:undefined}}const I=A.utils.isImage(r);if(_==undefined){_=I&&!n}if(typeof r=="object"&&!Buffer.isBuffer(r)&&!(r instanceof i.Api.InputFile)&&!(r instanceof i.Api.InputFileBig)&&!(r instanceof CustomFile)&&!("read"in r)){try{return{fileHandle:undefined,media:A.utils.getInputMedia(r,{isPhoto:_,attributes:c,forceDocument:n,voiceNote:g,videoNote:m,supportsStreaming:y}),image:_}}catch(e){return{fileHandle:undefined,media:undefined,image:I}}}let v;let C;let w;if(r instanceof i.Api.InputFile||r instanceof i.Api.InputFileBig){C=r}else if(typeof r=="string"&&(r.startsWith("https://")||r.startsWith("http://"))){if(_){v=new i.Api.InputMediaPhotoExternal({url:r})}else{v=new i.Api.InputMediaDocumentExternal({url:r})}}else if(!(typeof r=="string")||(await d.promises.lstat(r)).isFile()){if(typeof r=="string"){w=new CustomFile(u.default.basename(r),(await d.promises.stat(r)).size,r)}else if(typeof File!=="undefined"&&r instanceof File||r instanceof CustomFile){w=r}else{let e;if("name"in r){e=r.name}else{e="unnamed"}if(Buffer.isBuffer(r)){w=new CustomFile(e,r.length,"",r)}}if(!w){throw new Error(`Could not create file from ${JSON.stringify(r)}`)}C=await uploadFile(e,{file:w,onProgress:o,workers:b})}else{throw new Error(`"Not a valid path nor a url ${r}`)}if(v!=undefined){}else if(C==undefined){throw new Error(`Failed to convert ${r} to media. Not an existing file or an HTTP URL`)}else if(_){v=new i.Api.InputMediaUploadedPhoto({file:C})}else{let s=A.utils.getAttributes(r,{mimeType:E,attributes:c,forceDocument:n&&!I,voiceNote:g,videoNote:m,supportsStreaming:y,thumb:h});c=s.attrs;E=s.mimeType;let o;if(!h){o=undefined}else{if(typeof h=="string"){o=new CustomFile(u.default.basename(h),(await d.promises.stat(h)).size,h)}else if(typeof File!=="undefined"&&h instanceof File){o=h}else{let e;if("name"in h){e=h.name}else{e="unnamed"}if(Buffer.isBuffer(h)){o=new CustomFile(e,h.length,"",h)}}if(!o){throw new Error(`Could not create file from ${r}`)}o=await uploadFile(e,{file:o,workers:1})}v=new i.Api.InputMediaUploadedDocument({file:C,mimeType:E,attributes:c,thumb:o,forceFile:n&&!I})}return{fileHandle:C,media:v,image:_}}r._fileToMedia=_fileToMedia;async function _sendAlbum(e,r,{file:n,caption:s,forceDocument:o=false,fileSize:u,clearDraft:d=false,progressCallback:m,replyTo:y,attributes:E,thumb:_,parseMode:b,voiceNote:I=false,videoNote:v=false,silent:C,supportsStreaming:w=false,scheduleDate:B,workers:S=1,noforwards:T,commentTo:k,topMsgId:R}){r=await e.getInputEntity(r);let Q=[];if(!Array.isArray(n)){Q=[n]}else{Q=n}if(!Array.isArray(s)){if(!s){s=""}s=[s]}const P=[];for(const r of s){P.push(await(0,h._parseMessageText)(e,r,b))}if(k!=undefined){const n=await(0,g.getCommentData)(e,r,k);r=n.entity;y=n.replyTo}else{y=A.utils.getMessageId(y)}if(!E){E=[]}let O=0;const D=[];for(const n of Q){let{fileHandle:s,media:d,image:A}=await _fileToMedia(e,{file:n,forceDocument:o,fileSize:u,progressCallback:m,attributes:E[O],thumb:_,voiceNote:I,videoNote:v,supportsStreaming:w,workers:S});O++;if(d instanceof i.Api.InputMediaUploadedPhoto||d instanceof i.Api.InputMediaPhotoExternal){const n=await e.invoke(new i.Api.messages.UploadMedia({peer:r,media:d}));if(n instanceof i.Api.MessageMediaPhoto){d=(0,c.getInputMedia)(n.photo)}}else if(d instanceof i.Api.InputMediaUploadedDocument){const n=await e.invoke(new i.Api.messages.UploadMedia({peer:r,media:d}));if(n instanceof i.Api.MessageMediaDocument){d=(0,c.getInputMedia)(n.document)}}let h="";let g=[];if(P.length){[h,g]=P.shift()}D.push(new i.Api.InputSingleMedia({media:d,message:h,entities:g}))}let F=undefined;if(y!=undefined){F=new i.Api.InputReplyToMessage({replyToMsgId:(0,c.getMessageId)(y),topMsgId:(0,c.getMessageId)(R)})}const M=await e.invoke(new i.Api.messages.SendMultiMedia({peer:r,replyTo:F,multiMedia:D,silent:C,scheduleDate:B,clearDraft:d,noforwards:T}));const x=D.map((e=>e.randomId));return e._getResponseMessage(x,M,r)}r._sendAlbum=_sendAlbum;async function sendFile(e,r,{file:n,caption:s,forceDocument:o=false,fileSize:u,clearDraft:d=false,progressCallback:m,replyTo:y,attributes:E,thumb:_,parseMode:b,formattingEntities:I,voiceNote:v=false,videoNote:C=false,buttons:w,silent:B,supportsStreaming:S=false,scheduleDate:T,workers:k=1,noforwards:R,commentTo:Q,topMsgId:P}){if(!n){throw new Error("You need to specify a file")}if(!s){s=""}r=await e.getInputEntity(r);if(Q!=undefined){const n=await(0,g.getCommentData)(e,r,Q);r=n.entity;y=n.replyTo}else{y=A.utils.getMessageId(y)}if(Array.isArray(n)){return await _sendAlbum(e,r,{file:n,caption:s,replyTo:y,parseMode:b,attributes:E,silent:B,scheduleDate:T,supportsStreaming:S,clearDraft:d,forceDocument:o,noforwards:R,topMsgId:P})}if(Array.isArray(s)){s=s[0]||""}let O;if(I!=undefined){O=I}else{[s,O]=await(0,h._parseMessageText)(e,s,b)}const{fileHandle:D,media:F,image:M}=await _fileToMedia(e,{file:n,forceDocument:o,fileSize:u,progressCallback:m,attributes:E,thumb:_,voiceNote:v,videoNote:C,supportsStreaming:S,workers:k});if(F==undefined){throw new Error(`Cannot use ${n} as file.`)}const x=e.buildReplyMarkup(w);let U=undefined;if(y!=undefined){U=new i.Api.InputReplyToMessage({replyToMsgId:(0,c.getMessageId)(y),topMsgId:(0,c.getMessageId)(P)})}const N=new i.Api.messages.SendMedia({peer:r,media:F,replyTo:U,message:s,entities:O,replyMarkup:x,silent:B,scheduleDate:T,clearDraft:d,noforwards:R});const L=await e.invoke(N);return e._getResponseMessage(N,L,r)}r.sendFile=sendFile;function fileToBuffer(e){if(typeof File!=="undefined"&&e instanceof File){return new Response(e).arrayBuffer()}else if(e instanceof CustomFile){if(e.buffer!=undefined){return e.buffer}else{return d.promises.readFile(e.path)}}else{throw new Error("Could not create buffer from file "+e)}}},44431:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r._selfId=r._getInputNotify=r._getInputDialog=r._getPeer=r.getPeerId=r._getEntityFromString=r.getInputEntity=r.getEntity=r.isUserAuthorized=r.isBot=r.getMe=r.invoke=void 0;const i=n(87440);const o=n(29078);const c=n(10330);const u=n(18219);const d=s(n(43269));const A=n(91932);const h=n(34690);async function invoke(e,r,n,s){if(r.classType!=="request"){throw new Error("You can only invoke MTProtoRequests")}let i=e._sender;if(n){i=await e.getSender(n)}if(s!=undefined){i=s}if(i==undefined){throw new Error("Cannot send requests while disconnected. You need to call .connect()")}await e._connectedDeferred.promise;await r.resolve(e,u.utils);e._lastRequest=(new Date).getTime();const o=new h.RequestState(r);let d=0;for(d=0;de.chatId));h=(await e.invoke(new i.Api.messages.GetChats({id:r}))).chats}if(g.length){g=(await e.invoke(new i.Api.channels.GetChannels({id:g}))).chats}const m=new Map;for(const e of A){m.set((0,o.getPeerId)(e),e)}for(const e of g){m.set((0,o.getPeerId)(e),e)}for(const e of h){m.set((0,o.getPeerId)(e),e)}const y=[];for(const r of u){if(typeof r==="string"){y.push(await _getEntityFromString(e,r))}else if(!(r instanceof i.Api.InputPeerSelf)){y.push(m.get((0,o.getPeerId)(r)))}else{for(const[e,r]of m.entries()){if(r instanceof i.Api.User&&r.self){y.push(r);break}}}}return n?y[0]:y}r.getEntity=getEntity;async function getInputEntity(e,r){try{return u.utils.getInputPeer(r)}catch(e){}try{if(typeof r=="string"){const n=(0,o.parseID)(r);if(n){const n=e._entityCache.get(r);if(n){return n}}}if(typeof r==="number"||typeof r==="bigint"||d.default.isInstance(r)){const n=e._entityCache.get(r.toString());if(n){return n}}if(typeof r=="object"&&!d.default.isInstance(r)&&r.SUBCLASS_OF_ID===47470215){const n=e._entityCache.get(u.utils.getPeerId(r));if(n){return n}}}catch(e){}if(typeof r=="string"){if(["me","this","self"].includes(r)){return new i.Api.InputPeerSelf}}try{if(r!=undefined){return e.session.getInputEntity(r)}}catch(e){}if(typeof r==="string"){return u.utils.getInputPeer(await _getEntityFromString(e,r))}if(typeof r==="number"){r=(0,c.returnBigInt)(r)}r=u.utils.getPeer(r);if(r instanceof i.Api.PeerUser){const n=await e.invoke(new i.Api.users.GetUsers({id:[new i.Api.InputUser({userId:r.userId,accessHash:d.default.zero})]}));if(n.length&&!(n[0]instanceof i.Api.UserEmpty)){return u.utils.getInputPeer(n[0])}}else if(r instanceof i.Api.PeerChat){return new i.Api.InputPeerChat({chatId:r.chatId})}else if(r instanceof i.Api.PeerChannel){try{const n=await e.invoke(new i.Api.channels.GetChannels({id:[new i.Api.InputChannel({channelId:r.channelId,accessHash:d.default.zero})]}));return u.utils.getInputPeer(n.chats[0])}catch(r){if(e._errorHandler){await e._errorHandler(r)}if(e._log.canSend(A.LogLevel.ERROR)){console.error(r)}}}throw new Error(`Could not find the input entity for ${JSON.stringify(r)}.\n Please read https://`+"docs.telethon.dev/en/stable/concepts/entities.html to"+" find out more details.")}r.getInputEntity=getInputEntity;async function _getEntityFromString(e,r){const n=u.utils.parsePhone(r);if(n){try{const r=await e.invoke(new i.Api.contacts.GetContacts({hash:d.default.zero}));if(!(r instanceof i.Api.contacts.ContactsNotModified)){for(const e of r.users){if(e instanceof i.Api.User&&e.phone===n){return e}}}}catch(e){if(e.errorMessage==="BOT_METHOD_INVALID"){throw new Error("Cannot get entity by phone number as a "+"bot (try using integer IDs, not strings)")}throw e}}const s=u.utils.parseID(r);if(s!=undefined){return getInputEntity(e,s)}else if(["me","this"].includes(r.toLowerCase())){return e.getMe()}else{const{username:n,isInvite:s}=u.utils.parseUsername(r);if(s){const r=await e.invoke(new i.Api.messages.CheckChatInvite({hash:n}));if(r instanceof i.Api.ChatInvite){throw new Error("Cannot get entity from a channel (or group) "+"that you are not part of. Join the group and retry")}else if(r instanceof i.Api.ChatInviteAlready){return r.chat}}else if(n){try{const r=await e.invoke(new i.Api.contacts.ResolveUsername({username:n}));const s=u.utils.getPeerId(r.peer,false);if(r.peer instanceof i.Api.PeerUser){for(const e of r.users){if((0,c.returnBigInt)(e.id).equals((0,c.returnBigInt)(s))){return e}}}else{for(const e of r.chats){if((0,c.returnBigInt)(e.id).equals((0,c.returnBigInt)(s))){return e}}}}catch(e){if(e.errorMessage==="USERNAME_NOT_OCCUPIED"){throw new Error(`No user has "${n}" as username`)}throw e}}}throw new Error(`Cannot find any entity corresponding to "${r}"`)}r._getEntityFromString=_getEntityFromString;async function getPeerId(e,r,n=true){if(typeof r=="string"){const s=(0,o.parseID)(r);if(s){return u.utils.getPeerId(r,n)}else{r=await e.getInputEntity(r)}}if(typeof r=="number"||typeof r=="bigint"||d.default.isInstance(r)){return u.utils.getPeerId(r,n)}if(r.SUBCLASS_OF_ID==47470215||r.SUBCLASS_OF_ID==3374092470){r=await e.getInputEntity(r)}if(r instanceof i.Api.InputPeerSelf){r=await e.getMe(true)}return u.utils.getPeerId(r,n)}r.getPeerId=getPeerId;async function _getPeer(e,r){if(!r){return undefined}const[n,s]=u.utils.resolveId((0,c.returnBigInt)(await e.getPeerId(r)));return new s({userId:n,channelId:n,chatId:n})}r._getPeer=_getPeer;async function _getInputDialog(e,r){try{if(r.SUBCLASS_OF_ID==2719782805){r.peer=await e.getInputEntity(r.peer);return r}else if(r.SUBCLASS_OF_ID==3374092470){return new i.Api.InputDialogPeer({peer:r})}}catch(e){}return new i.Api.InputDialogPeer({peer:r})}r._getInputDialog=_getInputDialog;async function _getInputNotify(e,r){try{if(r.SUBCLASS_OF_ID==1486362133){if(r instanceof i.Api.InputNotifyPeer){r.peer=await e.getInputEntity(r.peer)}return r}}catch(e){}return new i.Api.InputNotifyPeer({peer:await e.getInputEntity(r)})}r._getInputNotify=_getInputNotify;function _selfId(e){return e._selfInputPeer?e._selfInputPeer.userId:undefined}r._selfId=_selfId},42964:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.AuthKey=void 0;const s=n(10330);const i=n(21470);const o=n(10330);class AuthKey{constructor(e,r){if(!r||!e){return}this._key=e;this._hash=r;const n=new i.BinaryReader(r);this.auxHash=n.readLong(false);n.read(4);this.keyId=n.readLong(false)}async setKey(e){if(!e){this._key=this.auxHash=this.keyId=this._hash=undefined;return}if(e instanceof AuthKey){this._key=e._key;this.auxHash=e.auxHash;this.keyId=e.keyId;this._hash=e._hash;return}this._key=e;this._hash=await(0,s.sha1)(this._key);const r=new i.BinaryReader(this._hash);this.auxHash=r.readLong(false);r.read(4);this.keyId=r.readLong(false)}async waitForKey(){while(!this.keyId){await(0,o.sleep)(20)}}getKey(){return this._key}async calcNewNonceHash(e,r){if(this.auxHash){const n=(0,s.toSignedLittleBuffer)(e,32);const i=Buffer.alloc(1);i.writeUInt8(r,0);const o=Buffer.concat([n,Buffer.concat([i,(0,s.readBufferFromBigInt)(this.auxHash,8,true)])]);const c=(await(0,s.sha1)(o)).slice(4,20);return(0,s.readBigIntFromBuffer)(c,true,true)}throw new Error("Auth key not set")}equals(e){var r;return e instanceof this.constructor&&this._key&&Buffer.isBuffer(e.getKey())&&((r=e.getKey())===null||r===void 0?void 0:r.equals(this._key))}}r.AuthKey=AuthKey},77222:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.CTR=void 0;const c=o(n(28556));class CTR{constructor(e,r){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(r)||r.length!==16){throw new Error("Key and iv need to be a buffer")}this.cipher=c.createCipheriv("AES-256-CTR",e,r)}encrypt(e){return Buffer.from(this.cipher.update(e))}}r.CTR=CTR},11833:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.Factorizator=void 0;const i=s(n(43269));const o=n(10330);class Factorizator{static gcd(e,r){while(r.neq(i.default.zero)){const n=r;r=e.remainder(r);e=n}return e}static factorize(e){if(e.remainder(2).equals(i.default.zero)){return{p:(0,i.default)(2),q:e.divide((0,i.default)(2))}}let r=i.default.randBetween((0,i.default)(1),e.minus(1));const n=i.default.randBetween((0,i.default)(1),e.minus(1));const s=i.default.randBetween((0,i.default)(1),e.minus(1));let c=i.default.one;let u=i.default.one;let d=i.default.one;let A=i.default.zero;let h=i.default.zero;let g;while(c.eq(i.default.one)){A=r;for(let s=0;(0,i.default)(s).lesser(u);s++){r=(0,o.modExp)(r,(0,i.default)(2),e).add(n).remainder(e)}g=i.default.zero;while(g.lesser(u)&&c.eq(i.default.one)){h=r;const m=i.default.min(s,u.minus(g));for(let s=0;(0,i.default)(s).lesser(m);s++){r=(0,o.modExp)(r,(0,i.default)(2),e).add(n).remainder(e);d=d.multiply(A.minus(r).abs()).remainder(e)}c=Factorizator.gcd(d,e);g=g.add(s)}u=u.multiply(2)}if(c.eq(e)){while(true){h=(0,o.modExp)(h,(0,i.default)(2),e).add(n).remainder(e);c=Factorizator.gcd(A.minus(h).abs(),e);if(c.greater(1)){break}}}const m=c;d=e.divide(c);return m{Object.defineProperty(r,"__esModule",{value:true});r.IGE=void 0;const s=n(10330);const{IGE:i}=n(51835);class IGENEW{constructor(e,r){this.ige=new i(e,r)}decryptIge(e){return s.convertToLittle(this.ige.decrypt(e))}encryptIge(e){const r=e.length%16;if(r){e=Buffer.concat([e,s.generateRandomBytes(16-r)])}return s.convertToLittle(this.ige.encrypt(e))}}r.IGE=IGENEW},81071:function(e,r,n){var s=this&&this.__rest||function(e,r){var n={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0)n[s]=e[s];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,s=Object.getOwnPropertySymbols(e);i{var{fingerprint:n}=e,i=s(e,["fingerprint"]);r._serverKeys.set(n.toString(),i)}));async function encrypt(e,n){const s=r._serverKeys.get(e.toString());if(!s){return undefined}const i=(0,c.generateRandomBytes)(235-n.length);const u=Buffer.concat([await(0,c.sha1)(n),n,i]);const d=(0,c.readBigIntFromBuffer)(u,false);const A=(0,c.modExp)(d,(0,o.default)(s.e),s.n);return(0,c.readBufferFromBigInt)(A,256,false)}r.encrypt=encrypt},57664:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.ab2i=r.i2ab=r.isBigEndian=r.ab2iBig=r.ab2iLow=r.i2abBig=r.i2abLow=void 0;function i2abLow(e){const r=new Uint8Array(e.length*4);let n=0;for(let s=0;s>>24;r[n++]=i>>16&255;r[n++]=i>>8&255;r[n++]=i&255}return r.buffer}r.i2abLow=i2abLow;function i2abBig(e){return e.buffer}r.i2abBig=i2abBig;function ab2iLow(e){const r=new Uint8Array(e);const n=new Uint32Array(r.length/4);for(let e=0;e=0;e--){if(this._counter[e]===255){this._counter[e]=0}else{this._counter[e]++;break}}}}r.Counter=Counter;class CTR{constructor(e,r){if(!(r instanceof Counter)){r=new Counter(r)}this._counter=r;this._remainingCounter=undefined;this._remainingCounterIndex=16;this._aes=new i.default((0,c.getWords)(e))}update(e){return this.encrypt(e)}encrypt(e){const r=Buffer.from(e);for(let e=0;e{Object.defineProperty(r,"__esModule",{value:true});r.xor=r.getWords=r.s2i=void 0;function s2i(e,r){return e.charCodeAt(r)<<24^e.charCodeAt(r+1)<<16^e.charCodeAt(r+2)<<8^e.charCodeAt(r+3)}r.s2i=s2i;function getWords(e){if(e instanceof Uint32Array){return e}if(typeof e==="string"){if(e.length%4!==0)for(let r=e.length%4;r<=4;r++)e+="\0x00";const r=new Uint32Array(e.length/4);for(let n=0;n{Object.defineProperty(r,"__esModule",{value:true});r.BadMessageError=r.CdnFileTamperedError=r.SecurityError=r.InvalidBufferError=r.InvalidChecksumError=r.TypeNotFoundError=r.ReadCancelledError=void 0;class ReadCancelledError extends Error{constructor(){super("The read operation was cancelled.")}}r.ReadCancelledError=ReadCancelledError;class TypeNotFoundError extends Error{constructor(e,r){super(`Could not find a matching Constructor ID for the TLObject that was supposed to be\n read with ID ${e}. Most likely, a TLObject was trying to be read when\n it should not be read. Remaining bytes: ${r.length}`);if(typeof alert!=="undefined"){alert(`Missing MTProto Entity: Please, make sure to add TL definition for ID ${e}`)}this.invalidConstructorId=e;this.remaining=r}}r.TypeNotFoundError=TypeNotFoundError;class InvalidChecksumError extends Error{constructor(e,r){super(`Invalid checksum (${e} when ${r} was expected). This packet should be skipped.`);this.checksum=e;this.validChecksum=r}}r.InvalidChecksumError=InvalidChecksumError;class InvalidBufferError extends Error{constructor(e){let r=undefined;if(e.length===4){r=-e.readInt32LE(0);super(`Invalid response buffer (HTTP code ${r})`)}else{super(`Invalid response buffer (too short ${e})`)}this.code=r;this.payload=e}}r.InvalidBufferError=InvalidBufferError;class SecurityError extends Error{constructor(...e){if(!e.length){e=["A security check failed."]}super(...e)}}r.SecurityError=SecurityError;class CdnFileTamperedError extends SecurityError{constructor(){super("The CDN file has been altered and its download cancelled.")}}r.CdnFileTamperedError=CdnFileTamperedError;class BadMessageError extends Error{constructor(e,r){let n=BadMessageError.ErrorMessages[r]||`Unknown error code (this should not happen): ${r}.`;n+=` Caused by ${e.className}`;super(n);this.errorMessage=n;this.code=r}}r.BadMessageError=BadMessageError;BadMessageError.ErrorMessages={16:"msg_id too low (most likely, client time is wrong it would be worthwhile to "+"synchronize it using msg_id notifications and re-send the original message "+"with the “correct” msg_id or wrap it in a container with a new msg_id if the "+"original message had waited too long on the client to be transmitted).",17:"msg_id too high (similar to the previous case, the client time has to be "+"synchronized, and the message re-sent with the correct msg_id).",18:"Incorrect two lower order msg_id bits (the server expects client message msg_id "+"to be divisible by 4).",19:"Container msg_id is the same as msg_id of a previously received message "+"(this must never happen).",20:"Message too old, and it cannot be verified whether the server has received a "+"message with this msg_id or not.",32:"msg_seqno too low (the server has already received a message with a lower "+"msg_id but with either a higher or an equal and odd seqno).",33:"msg_seqno too high (similarly, there is a message with a higher msg_id but with "+"either a lower or an equal and odd seqno).",34:"An even msg_seqno expected (irrelevant message), but odd received.",35:"Odd msg_seqno expected (relevant message), but even received.",48:"Incorrect server salt (in this case, the bad_server_salt response is received with "+"the correct salt, and the message is to be re-sent with it).",64:"Invalid container."}},39122:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.TimedOutError=r.ServerError=r.FloodError=r.AuthKeyError=r.NotFoundError=r.ForbiddenError=r.UnauthorizedError=r.BadRequestError=r.InvalidDCError=r.RPCError=void 0;const s=n(78229);class RPCError extends s.CustomError{constructor(e,r,n){super("{0}: {1}{2}".replace("{0}",(n===null||n===void 0?void 0:n.toString())||"").replace("{1}",e||"").replace("{2}",RPCError._fmtRequest(r)));this.code=n;this.errorMessage=e}static _fmtRequest(e){if(e){return` (caused by ${e.className})`}else{return""}}}r.RPCError=RPCError;class InvalidDCError extends RPCError{constructor(e,r,n){super(e,r,n);this.code=n||303;this.errorMessage=e||"ERROR_SEE_OTHER"}}r.InvalidDCError=InvalidDCError;class BadRequestError extends RPCError{constructor(){super(...arguments);this.code=400;this.errorMessage="BAD_REQUEST"}}r.BadRequestError=BadRequestError;class UnauthorizedError extends RPCError{constructor(){super(...arguments);this.code=401;this.errorMessage="UNAUTHORIZED"}}r.UnauthorizedError=UnauthorizedError;class ForbiddenError extends RPCError{constructor(){super(...arguments);this.code=403;this.errorMessage="FORBIDDEN"}}r.ForbiddenError=ForbiddenError;class NotFoundError extends RPCError{constructor(){super(...arguments);this.code=404;this.errorMessage="NOT_FOUND"}}r.NotFoundError=NotFoundError;class AuthKeyError extends RPCError{constructor(){super(...arguments);this.code=406;this.errorMessage="AUTH_KEY"}}r.AuthKeyError=AuthKeyError;class FloodError extends RPCError{constructor(){super(...arguments);this.code=420;this.errorMessage="FLOOD"}}r.FloodError=FloodError;class ServerError extends RPCError{constructor(){super(...arguments);this.code=500;this.errorMessage="INTERNAL"}}r.ServerError=ServerError;class TimedOutError extends RPCError{constructor(){super(...arguments);this.code=503;this.errorMessage="Timeout"}}r.TimedOutError=TimedOutError},85264:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.rpcErrorRe=r.MsgWaitError=r.EmailUnconfirmedError=r.NetworkMigrateError=r.FileMigrateError=r.FloodTestPhoneWaitError=r.FloodWaitError=r.SlowModeWaitError=r.PhoneMigrateError=r.UserMigrateError=void 0;const s=n(39122);class UserMigrateError extends s.InvalidDCError{constructor(e){const r=Number(e.capture||0);super(`The user whose identity is being used to execute queries is associated with DC ${r}`+s.RPCError._fmtRequest(e.request),e.request);this.message=`The user whose identity is being used to execute queries is associated with DC ${r}`+s.RPCError._fmtRequest(e.request);this.newDc=r}}r.UserMigrateError=UserMigrateError;class PhoneMigrateError extends s.InvalidDCError{constructor(e){const r=Number(e.capture||0);super(`The phone number a user is trying to use for authorization is associated with DC ${r}`+s.RPCError._fmtRequest(e.request),e.request);this.message=`The phone number a user is trying to use for authorization is associated with DC ${r}`+s.RPCError._fmtRequest(e.request);this.newDc=r}}r.PhoneMigrateError=PhoneMigrateError;class SlowModeWaitError extends s.FloodError{constructor(e){const r=Number(e.capture||0);super(`A wait of ${r} seconds is required before sending another message in this chat`+s.RPCError._fmtRequest(e.request),e.request);this.message=`A wait of ${r} seconds is required before sending another message in this chat`+s.RPCError._fmtRequest(e.request);this.seconds=r}}r.SlowModeWaitError=SlowModeWaitError;class FloodWaitError extends s.FloodError{constructor(e){const r=Number(e.capture||0);super(`A wait of ${r} seconds is required`+s.RPCError._fmtRequest(e.request),e.request);this.message=`A wait of ${r} seconds is required`+s.RPCError._fmtRequest(e.request);this.seconds=r}}r.FloodWaitError=FloodWaitError;class FloodTestPhoneWaitError extends s.FloodError{constructor(e){const r=Number(e.capture||0);super(`A wait of ${r} seconds is required in the test servers`+s.RPCError._fmtRequest(e.request),e.request);this.message=`A wait of ${r} seconds is required in the test servers`+s.RPCError._fmtRequest(e.request);this.seconds=r}}r.FloodTestPhoneWaitError=FloodTestPhoneWaitError;class FileMigrateError extends s.InvalidDCError{constructor(e){const r=Number(e.capture||0);super(`The file to be accessed is currently stored in DC ${r}`+s.RPCError._fmtRequest(e.request),e.request);this.message=`The file to be accessed is currently stored in DC ${r}`+s.RPCError._fmtRequest(e.request);this.newDc=r}}r.FileMigrateError=FileMigrateError;class NetworkMigrateError extends s.InvalidDCError{constructor(e){const r=Number(e.capture||0);super(`The source IP address is associated with DC ${r}`+s.RPCError._fmtRequest(e.request),e.request);this.message=`The source IP address is associated with DC ${r}`+s.RPCError._fmtRequest(e.request);this.newDc=r}}r.NetworkMigrateError=NetworkMigrateError;class EmailUnconfirmedError extends s.BadRequestError{constructor(e){const r=Number(e.capture||0);super(`Email unconfirmed, the length of the code must be ${r}${s.RPCError._fmtRequest(e.request)}`,e.request,400);this.message=`Email unconfirmed, the length of the code must be ${r}${s.RPCError._fmtRequest(e.request)}`;this.codeLength=r}}r.EmailUnconfirmedError=EmailUnconfirmedError;class MsgWaitError extends s.FloodError{constructor(e){super(`Message failed to be sent.${s.RPCError._fmtRequest(e.request)}`,e.request);this.message=`Message failed to be sent.${s.RPCError._fmtRequest(e.request)}`}}r.MsgWaitError=MsgWaitError;r.rpcErrorRe=new Map([[/FILE_MIGRATE_(\d+)/,FileMigrateError],[/FLOOD_TEST_PHONE_WAIT_(\d+)/,FloodTestPhoneWaitError],[/FLOOD_WAIT_(\d+)/,FloodWaitError],[/FLOOD_PREMIUM_WAIT_(\d+)/,FloodWaitError],[/MSG_WAIT_(.*)/,MsgWaitError],[/PHONE_MIGRATE_(\d+)/,PhoneMigrateError],[/SLOWMODE_WAIT_(\d+)/,SlowModeWaitError],[/USER_MIGRATE_(\d+)/,UserMigrateError],[/NETWORK_MIGRATE_(\d+)/,NetworkMigrateError],[/EMAIL_UNCONFIRMED_(\d+)/,EmailUnconfirmedError]])},37819:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});r.RPCMessageToError=void 0;const o=n(39122);const c=n(85264);function RPCMessageToError(e,r){for(const[n,s]of c.rpcErrorRe){const i=e.errorMessage.match(n);if(i){const e=i.length===2?parseInt(i[1]):null;return new s({request:r,capture:e})}}return new o.RPCError(e.errorMessage,r,e.errorCode)}r.RPCMessageToError=RPCMessageToError;i(n(11138),r);i(n(39122),r);i(n(85264),r)},63856:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.NewMessageEvent=r.NewMessage=void 0;const s=n(10336);const i=n(87440);const o=n(91932);class NewMessage extends s.EventBuilder{constructor(e={}){let{chats:r,func:n,incoming:s,outgoing:i,fromUsers:o,forwards:c,pattern:u,blacklistChats:d=false}=e;if(s&&i){s=i=undefined}else if(s!=undefined&&i==undefined){i=!s}else if(i!=undefined&&s==undefined){s=!i}else if(i==false&&s==false){throw new Error("Don't create an event handler if you don't want neither incoming nor outgoing!")}super({chats:r,blacklistChats:d,func:n});this.incoming=s;this.outgoing=i;this.fromUsers=o;this.forwards=c;this.pattern=u;this._noCheck=[s,i,r,u,o,c,n].every((e=>e==undefined))}async _resolve(e){await super._resolve(e);this.fromUsers=await(0,s._intoIdSet)(e,this.fromUsers)}build(e,r,n){if(e instanceof i.Api.UpdateNewMessage||e instanceof i.Api.UpdateNewChannelMessage){if(!(e.message instanceof i.Api.Message)){return undefined}const r=new NewMessageEvent(e.message,e);this.addAttributes(r);return r}else if(e instanceof i.Api.UpdateShortMessage){return new NewMessageEvent(new i.Api.Message({out:e.out,mentioned:e.mentioned,mediaUnread:e.mediaUnread,silent:e.silent,id:e.id,peerId:new i.Api.PeerUser({userId:e.userId}),fromId:new i.Api.PeerUser({userId:e.out?n:e.userId}),message:e.message,date:e.date,fwdFrom:e.fwdFrom,viaBotId:e.viaBotId,replyTo:e.replyTo,entities:e.entities,ttlPeriod:e.ttlPeriod}),e)}else if(e instanceof i.Api.UpdateShortChatMessage){return new NewMessageEvent(new i.Api.Message({out:e.out,mentioned:e.mentioned,mediaUnread:e.mediaUnread,silent:e.silent,id:e.id,peerId:new i.Api.PeerChat({chatId:e.chatId}),fromId:new i.Api.PeerUser({userId:e.out?n:e.fromId}),message:e.message,date:e.date,fwdFrom:e.fwdFrom,viaBotId:e.viaBotId,replyTo:e.replyTo,entities:e.entities,ttlPeriod:e.ttlPeriod}),e)}}filter(e){var r;if(this._noCheck){return e}if(this.incoming&&e.message.out){return}if(this.outgoing&&!e.message.out){return}if(this.forwards!=undefined){if(this.forwards!=!!e.message.fwdFrom){return}}if(this.fromUsers!=undefined){if(!e.message.senderId||!this.fromUsers.includes(e.message.senderId.toString())){return}}if(this.pattern){const n=(r=e.message.message)===null||r===void 0?void 0:r.match(this.pattern);if(!n){return}e.message.patternMatch=n}return super.filter(e)}addAttributes(e){}}r.NewMessage=NewMessage;class NewMessageEvent extends s.EventCommon{constructor(e,r){super({msgId:e.id,chatPeer:e.peerId,broadcast:e.post});this.originalUpdate=r;this.message=e}_setClient(e){super._setClient(e);const r=this.message;try{r._finishInit(e,this.originalUpdate._entities||new Map,undefined)}catch(n){e._log.error("Got error while trying to finish init message with id "+r.id);if(e._errorHandler){e._errorHandler(n)}if(e._log.canSend(o.LogLevel.ERROR)){console.error(n)}}}}r.NewMessageEvent=NewMessageEvent},10763:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Raw=void 0;const s=n(10336);class Raw extends s.EventBuilder{constructor(e){super({func:e.func});this.types=e.types}async resolve(e){this.resolved=true}build(e){return e}filter(e){if(this.types){let r=false;for(const n of this.types){if(e instanceof n){r=true;break}}if(!r){return}}return super.filter(e)}}r.Raw=Raw},10336:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.EventCommonSender=r.EventCommon=r.EventBuilder=r._intoIdSet=void 0;const i=n(87440);const o=n(15026);const c=n(10330);const u=n(18219);const d=n(70446);const A=s(n(43269));const h=n(29078);async function _intoIdSet(e,r){if(r==undefined){return undefined}if(!(0,c.isArrayLike)(r)){r=[r]}const n=new Set;for(let s of r){if(typeof s=="number"||typeof s=="bigint"||typeof s=="string"&&(0,h.parseID)(s)||A.default.isInstance(s)){s=(0,c.returnBigInt)(s);if(s.lesser(0)){n.add(s.toString())}else{n.add(u.utils.getPeerId(new i.Api.PeerUser({userId:s})));n.add(u.utils.getPeerId(new i.Api.PeerChat({chatId:s})));n.add(u.utils.getPeerId(new i.Api.PeerChannel({channelId:s})))}}else if(typeof s=="object"&&s.SUBCLASS_OF_ID==47470215){n.add(u.utils.getPeerId(s))}else{s=await e.getInputEntity(s);if(s instanceof i.Api.InputPeerSelf){s=await e.getMe(true)}n.add(u.utils.getPeerId(s))}}return Array.from(n)}r._intoIdSet=_intoIdSet;class EventBuilder{constructor(e){var r;this.chats=(r=e.chats)===null||r===void 0?void 0:r.map((e=>e.toString()));this.blacklistChats=e.blacklistChats||false;this.resolved=false;this.func=e.func}build(e,r,n){if(e)return e}async resolve(e){if(this.resolved){return}await this._resolve(e);this.resolved=true}async _resolve(e){this.chats=await _intoIdSet(e,this.chats)}filter(e){if(!this.resolved){return}if(this.chats!=undefined){if(e.chatId==undefined){return}const r=this.chats.includes(e.chatId.toString());if(r==this.blacklistChats){return}}if(this.func&&!this.func(e)){return}return e}}r.EventBuilder=EventBuilder;class EventCommon extends o.ChatGetter{constructor({chatPeer:e=undefined,msgId:r=undefined,broadcast:n=undefined}){super();this._eventName="Event";o.ChatGetter.initChatClass(this,{chatPeer:e,broadcast:n});this._entities=new Map;this._client=undefined;this._messageId=r}_setClient(e){this._client=e}get client(){return this._client}}r.EventCommon=EventCommon;class EventCommonSender extends d.SenderGetter{constructor({chatPeer:e=undefined,msgId:r=undefined,broadcast:n=undefined}){super();this._eventName="Event";o.ChatGetter.initChatClass(this,{chatPeer:e,broadcast:n});d.SenderGetter.initChatClass(this,{chatPeer:e,broadcast:n});this._entities=new Map;this._client=undefined;this._messageId=r}_setClient(e){this._client=e}get client(){return this._client}}r.EventCommonSender=EventCommonSender},15737:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.NewMessageEvent=r.NewMessage=r.Raw=void 0;var s=n(10763);Object.defineProperty(r,"Raw",{enumerable:true,get:function(){return s.Raw}});var i=n(63856);Object.defineProperty(r,"NewMessage",{enumerable:true,get:function(){return i.NewMessage}});Object.defineProperty(r,"NewMessageEvent",{enumerable:true,get:function(){return i.NewMessageEvent}})},31923:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.AsyncQueue=void 0;class AsyncQueue{constructor(){this._queue=[];this.canPush=true;this.resolvePush=e=>{};this.resolveGet=e=>{};this.canGet=new Promise((e=>{this.resolveGet=e}))}async push(e){await this.canPush;this._queue.push(e);this.resolveGet(true);this.canPush=new Promise((e=>{this.resolvePush=e}))}async pop(){await this.canGet;const e=this._queue.pop();this.resolvePush(true);this.canGet=new Promise((e=>{this.resolveGet=e}));return e}}r.AsyncQueue=AsyncQueue},4262:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.BinaryReader=void 0;const s=n(37819);const i=n(29842);const o=n(59415);const c=n(10330);class BinaryReader{constructor(e){this.stream=e;this._last=undefined;this.offset=0}readByte(){return this.read(1)[0]}readInt(e=true){let r;if(e){r=this.stream.readInt32LE(this.offset)}else{r=this.stream.readUInt32LE(this.offset)}this.offset+=4;return r}readLong(e=true){return this.readLargeInt(64,e)}readFloat(){return this.read(4).readFloatLE(0)}readDouble(){return this.read(8).readDoubleLE(0)}readLargeInt(e,r=true){const n=this.read(Math.floor(e/8));return(0,c.readBigIntFromBuffer)(n,true,r)}read(e=-1,r=true){if(e===-1){e=this.stream.length-this.offset}const n=this.stream.slice(this.offset,this.offset+e);this.offset+=e;if(r&&n.length!==e){throw Error(`No more data left to read (need ${e}, got ${n.length}: ${n}); last read ${this._last}`)}this._last=n;return n}getBuffer(){return this.stream}tgReadBytes(){const e=this.readByte();let r;let n;if(e===254){n=this.readByte()|this.readByte()<<8|this.readByte()<<16;r=n%4}else{n=e;r=(n+1)%4}const s=this.read(n);if(r>0){r=4-r;this.read(r)}return s}tgReadString(){return this.tgReadBytes().toString("utf-8")}tgReadBool(){const e=this.readInt(false);if(e===2574415285){return true}else if(e===3162085175){return false}else{throw new Error(`Invalid boolean code ${e.toString(16)}`)}}tgReadDate(){const e=this.readInt();return new Date(e*1e3)}tgReadObject(){const e=this.readInt(false);let r=o.tlobjects[e];if(r===undefined){const n=e;if(n===2574415285){return true}else if(n===3162085175){return false}else if(n===481674261){const e=[];const r=this.readInt();for(let n=0;n{Object.defineProperty(r,"__esModule",{value:true});r.BinaryWriter=void 0;class BinaryWriter{constructor(e){this._buffers=[e]}write(e){this._buffers.push(e)}getValue(){return Buffer.concat(this._buffers)}}r.BinaryWriter=BinaryWriter},64303:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});class Deferred{constructor(){this.promise=new Promise(((e,r)=>{this.reject=r;this.resolve=e}))}static resolved(e){const r=new Deferred;r.resolve(e);return r}}r["default"]=Deferred},91932:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Logger=r.LogLevel=void 0;const s=n(60720);var i;(function(e){e["NONE"]="none";e["ERROR"]="error";e["WARN"]="warn";e["INFO"]="info";e["DEBUG"]="debug"})(i=r.LogLevel||(r.LogLevel={}));class Logger{constructor(e){this.levels=["error","warn","info","debug"];this._logLevel=e||i.INFO;this.isBrowser=!s.isNode;if(!this.isBrowser){this.colors={start:"",warn:"",info:"",debug:"",error:"",end:""}}else{this.colors={start:"%c",warn:"color : #ff00ff",info:"color : #ffff00",debug:"color : #00ffff",error:"color : #ff0000",end:""}}this.messageFormat="[%t] [%l] - [%m]";this.tzOffset=(new Date).getTimezoneOffset()*6e4}canSend(e){return this._logLevel?this.levels.indexOf(this._logLevel)>=this.levels.indexOf(e):false}warn(e){this._log(i.WARN,e,this.colors.warn)}info(e){this._log(i.INFO,e,this.colors.info)}debug(e){this._log(i.DEBUG,e,this.colors.debug)}error(e){this._log(i.ERROR,e,this.colors.error)}format(e,r){return this.messageFormat.replace("%t",this.getDateTime()).replace("%l",r.toUpperCase()).replace("%m",e)}get logLevel(){return this._logLevel}setLevel(e){this._logLevel=e}static setLevel(e){console.log("Logger.setLevel is deprecated, it will has no effect. Please, use client.setLogLevel instead.")}_log(e,r,n){if(this.canSend(e)){this.log(e,r,n)}else{return}}log(e,r,n){if(!this.isBrowser){console.log(n+this.format(r,e)+this.colors.end)}else{console.log(this.colors.start+this.format(r,e),n)}}getDateTime(){return new Date(Date.now()-this.tzOffset).toISOString().slice(0,-1)}}r.Logger=Logger},23003:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MessagePacker=void 0;const s=n(29842);const i=n(29842);const o=n(3254);const c=new Set(["messages.SendMessage","messages.SendMedia","messages.SendMultiMedia","messages.ForwardMessages","messages.SendInlineBotResult"]);class MessagePacker{constructor(e,r){this._state=e;this._queue=[];this._pendingStates=[];this._ready=new Promise((e=>{this.setReady=e}));this._log=r}values(){return this._queue}append(e,r=true,n=false){var s,i;if(e&&c.has(e.request.className)){if(n){for(let r=0;r=0;r--){if(c.has((i=this._queue[r])===null||i===void 0?void 0:i.request.className)){e.after=this._queue[r];break}}}}if(n){this._queue.unshift(e)}else{this._queue.push(e)}if(r&&this.setReady){this.setReady(true)}if(e&&e.request.CONSTRUCTOR_ID!==1658238041){this._pendingStates.push(e);e.promise.catch((e=>{})).finally((()=>{this._pendingStates=this._pendingStates.filter((r=>r!==e))}))}}prepend(e){e.reverse().forEach((e=>{this.append(e,false,true)}));if(this.setReady){this.setReady(true)}}extend(e){e.forEach((e=>{this.append(e,false)}));if(this.setReady){this.setReady(true)}}clear(){this._queue=[];this.append(undefined)}async wait(){if(!this._queue.length){this._ready=new Promise((e=>{this.setReady=e}));await this._ready}}async get(){if(!this._queue[this._queue.length-1]){this._queue=this._queue.filter(Boolean);return undefined}let e;let r=new o.BinaryWriter(Buffer.alloc(0));const n=[];let c=0;while(this._queue.length&&n.length<=s.MessageContainer.MAXIMUM_LENGTH){const e=this._queue.shift();if(!e){continue}c+=e.data.length+i.TLMessage.SIZE_OVERHEAD;if(c<=s.MessageContainer.MAXIMUM_SIZE){let s;if(e.after){s=e.after.msgId}if(e.after){s=e.after.msgId}e.msgId=await this._state.writeDataAsMessage(r,e.data,e.request.classType==="request",s);this._log.debug(`Assigned msgId = ${e.msgId} to ${e.request.className||e.request.constructor.name}`);n.push(e);continue}if(n.length){this._queue.unshift(e);break}this._log.warn(`Message payload for ${e.request.className||e.request.constructor.name} is too long ${e.data.length} and cannot be sent`);e.promise.reject("Request Payload is too big");c=0}if(!n.length){return null}if(n.length>1){const i=Buffer.alloc(8);i.writeUInt32LE(s.MessageContainer.CONSTRUCTOR_ID,0);i.writeInt32LE(n.length,4);e=Buffer.concat([i,r.getValue()]);r=new o.BinaryWriter(Buffer.alloc(0));const c=await this._state.writeDataAsMessage(r,e,false);for(const e of n){e.containerId=c}}e=r.getValue();return{batch:n,data:e}}}r.MessagePacker=MessagePacker},8688:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.PendingState=void 0;class PendingState{constructor(){this._pending=new Map}set(e,r){this._pending.set(e.toString(),r)}get(e){return this._pending.get(e.toString())}getAndDelete(e){const r=this.get(e);this.delete(e);return r}values(){return Array.from(this._pending.values())}delete(e){this._pending.delete(e.toString())}clear(){this._pending.clear()}}r.PendingState=PendingState},61568:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.PromisedNetSockets=void 0;const c=o(n(64989));const u=n(90363);const d=n(82626);const A=new d.Mutex;const h=new Error("NetSocket was closed");class PromisedNetSockets{constructor(e){this.client=undefined;this.closed=true;this.stream=Buffer.alloc(0);if(!(e===null||e===void 0?void 0:e.MTProxy)){if(e){if(!e.ip||!e.port||!e.socksType){throw new Error(`Invalid sockets params. ${e.ip}, ${e.port}, ${e.socksType}`)}}this.proxy=e}}async readExactly(e){let r=Buffer.alloc(0);while(true){const n=await this.read(e);r=Buffer.concat([r,n]);e=e-n.length;if(!e||e===-437){return r}}}async read(e){if(this.closed){throw h}await this.canRead;if(this.closed){throw h}const r=this.stream.slice(0,e);this.stream=this.stream.slice(e);if(this.stream.length===0){this.canRead=new Promise((e=>{this.resolveRead=e}))}return r}async readAll(){if(this.closed||!await this.canRead){throw h}const e=this.stream;this.stream=Buffer.alloc(0);this.canRead=new Promise((e=>{this.resolveRead=e}));return e}async connect(e,r){this.stream=Buffer.alloc(0);let n=false;if(this.proxy){const s=await u.SocksClient.createConnection({proxy:{host:this.proxy.ip,port:this.proxy.port,type:this.proxy.socksType!=undefined?this.proxy.socksType:5,userId:this.proxy.username,password:this.proxy.password},command:"connect",timeout:(this.proxy.timeout||5)*1e3,destination:{host:r,port:e}});this.client=s.socket;n=true}else{this.client=new c.Socket}this.canRead=new Promise((e=>{this.resolveRead=e}));this.closed=false;return new Promise(((s,i)=>{if(this.client){if(n){this.receive();s(this)}else{this.client.connect(e,r,(()=>{this.receive();s(this)}))}this.client.on("error",i);this.client.on("close",(()=>{if(this.client&&this.client.destroyed){if(this.resolveRead){this.resolveRead(false)}this.closed=true}}))}}))}write(e){if(this.closed){throw h}if(this.client){this.client.write(e)}}async close(){if(this.client){await this.client.destroy();this.client.unref()}this.closed=true}async receive(){if(this.client){this.client.on("data",(async e=>{const r=await A.acquire();try{let r;this.stream=Buffer.concat([this.stream,e]);if(this.resolveRead){this.resolveRead(true)}}finally{r()}}))}}toString(){return"PromisedNetSocket"}}r.PromisedNetSockets=PromisedNetSockets},91083:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.PromisedWebSockets=void 0;const s=n(29751);const i=n(82626);const o=n(60720);const c=new i.Mutex;const u=new Error("WebSocket was closed");class PromisedWebSockets{constructor(){this.client=undefined;this.stream=Buffer.alloc(0);this.closed=true}async readExactly(e){let r=Buffer.alloc(0);while(true){const n=await this.read(e);r=Buffer.concat([r,n]);e=e-n.length;if(!e){return r}}}async read(e){if(this.closed){throw u}await this.canRead;if(this.closed){throw u}const r=this.stream.slice(0,e);this.stream=this.stream.slice(e);if(this.stream.length===0){this.canRead=new Promise((e=>{this.resolveRead=e}))}return r}async readAll(){if(this.closed||!await this.canRead){throw u}const e=this.stream;this.stream=Buffer.alloc(0);this.canRead=new Promise((e=>{this.resolveRead=e}));return e}getWebSocketLink(e,r,n){if(r===443){return`wss://${e}:${r}/apiws${n?"_test":""}`}else{return`ws://${e}:${r}/apiws${n?"_test":""}`}}async connect(e,r,n=false){this.stream=Buffer.alloc(0);this.canRead=new Promise((e=>{this.resolveRead=e}));this.closed=false;this.website=this.getWebSocketLink(r,e,n);this.client=new s.w3cwebsocket(this.website,"binary");return new Promise(((e,r)=>{if(this.client){this.client.onopen=()=>{this.receive();e(this)};this.client.onerror=e=>{r(e)};this.client.onclose=()=>{if(this.resolveRead){this.resolveRead(false)}this.closed=true};if(o.isBrowser){window.addEventListener("offline",(async()=>{await this.close();if(this.resolveRead){this.resolveRead(false)}}))}}}))}write(e){if(this.closed){throw u}if(this.client){this.client.send(e)}}async close(){if(this.client){await this.client.close()}this.closed=true}async receive(){if(this.client){this.client.onmessage=async e=>{const r=await c.acquire();try{let r;r=Buffer.from(await new Response(e.data).arrayBuffer());this.stream=Buffer.concat([this.stream,r]);if(this.resolveRead){this.resolveRead(true)}}finally{r()}}}}toString(){return"PromisedWebSocket"}}r.PromisedWebSockets=PromisedWebSockets},32741:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.HTMLParser=void 0;const s=n(75368);const i=n(87440);const o=n(18219);class HTMLToTelegramParser{constructor(){this.text="";this.entities=[];this._buildingEntities=new Map;this._openTags=[];this._openTagsMeta=[]}onopentag(e,r){this._openTags.unshift(e);this._openTagsMeta.unshift(undefined);let n;const s={};if(e=="strong"||e=="b"){n=i.Api.MessageEntityBold}else if(e=="spoiler"){n=i.Api.MessageEntitySpoiler}else if(e=="em"||e=="i"){n=i.Api.MessageEntityItalic}else if(e=="u"){n=i.Api.MessageEntityUnderline}else if(e=="del"||e=="s"){n=i.Api.MessageEntityStrike}else if(e=="blockquote"){n=i.Api.MessageEntityBlockquote;if(r.expandable!==undefined){s.collapsed=true}}else if(e=="code"){const e=this._buildingEntities.get("pre");if(e&&e instanceof i.Api.MessageEntityPre){try{e.language=r.class.slice("language-".length,r.class.length)}catch(e){}}else{n=i.Api.MessageEntityCode}}else if(e=="pre"){n=i.Api.MessageEntityPre;s["language"]=""}else if(e=="a"){let e=r.href;if(!e){return}if(e.startsWith("mailto:")){e=e.slice("mailto:".length,e.length);n=i.Api.MessageEntityEmail}else{n=i.Api.MessageEntityTextUrl;s["url"]=e;e=undefined}this._openTagsMeta.shift();this._openTagsMeta.unshift(e)}else if(e=="tg-emoji"){n=i.Api.MessageEntityCustomEmoji;s["documentId"]=r["emoji-id"]}if(n&&!this._buildingEntities.has(e)){this._buildingEntities.set(e,new n(Object.assign({offset:this.text.length,length:0},s)))}}ontext(e){const r=this._openTags.length>0?this._openTags[0]:"";if(r=="a"){const r=this._openTagsMeta[0];if(r){e=r}}for(let[r,n]of this._buildingEntities){n.length+=e.length}this.text+=e}onclosetag(e){this._openTagsMeta.shift();this._openTags.shift();const r=this._buildingEntities.get(e);if(r){this._buildingEntities.delete(e);this.entities.push(r)}}onattribute(e,r,n){}oncdataend(){}oncdatastart(){}oncomment(e){}oncommentend(){}onend(){}onerror(e){}onopentagname(e){}onparserinit(e){}onprocessinginstruction(e,r){}onreset(){}}class HTMLParser{static parse(e){if(!e){return[e,[]]}const r=new HTMLToTelegramParser;const n=new s.Parser(r);n.write(e);n.end();const i=o.helpers.stripText(r.text,r.entities);return[i,r.entities]}static unparse(e,r,n=0,s){if(!e||!r||!r.length){return e}if(s==undefined){s=e.length}const o=[];let c=0;for(let u=0;u=n+s){break}let A=d.offset-n;if(A>c){o.push(e.slice(c,A))}else if(A${m}`)}else if(d instanceof i.Api.MessageEntitySpoiler){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityItalic){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityCode){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityUnderline){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityStrike){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityBlockquote){o.push(`
${m}
`)}else if(d instanceof i.Api.MessageEntityPre){if(d.language){o.push(`
${m}
`)}else{o.push(`
${m}
`)}}else if(d instanceof i.Api.MessageEntityEmail){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityUrl){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityTextUrl){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityMentionName){o.push(`${m}`)}else if(d instanceof i.Api.MessageEntityCustomEmoji){o.push(`${m}`)}else{h=true}c=A+(h?0:g)}o.push(e.slice(c,e.length));return o.join("")}}r.HTMLParser=HTMLParser},21470:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.AsyncQueue=r.MessagePacker=r.PromisedNetSockets=r.PromisedWebSockets=r.BinaryReader=r.BinaryWriter=r.Logger=void 0;var s=n(91932);Object.defineProperty(r,"Logger",{enumerable:true,get:function(){return s.Logger}});var i=n(3254);Object.defineProperty(r,"BinaryWriter",{enumerable:true,get:function(){return i.BinaryWriter}});var o=n(4262);Object.defineProperty(r,"BinaryReader",{enumerable:true,get:function(){return o.BinaryReader}});var c=n(91083);Object.defineProperty(r,"PromisedWebSockets",{enumerable:true,get:function(){return c.PromisedWebSockets}});var u=n(61568);Object.defineProperty(r,"PromisedNetSockets",{enumerable:true,get:function(){return u.PromisedNetSockets}});var d=n(23003);Object.defineProperty(r,"MessagePacker",{enumerable:true,get:function(){return d.MessagePacker}});var A=n(31923);Object.defineProperty(r,"AsyncQueue",{enumerable:true,get:function(){return A.AsyncQueue}})},94069:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MarkdownParser=void 0;const s=n(41197);class MarkdownParser{static parse(e){let r=0;const n={};for(const e in s.DEFAULT_DELIMITERS){n[e]=false}const i=[];const o={};while(r-1&&(c===-1||s{o.set(n[e].className,e)}));for(const e of r){const r=e.offset;const n=e.offset+e.length;const s=o.get(e.className);if(s){i.push([r,s]);i.push([n,s])}}i=i.sort(((e,r)=>e[0]-r[0]));while(i.length){const[r,n]=i.pop();e=e.slice(0,r)+n+e.slice(r)}return e}}r.MarkdownParser=MarkdownParser},88757:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.MarkdownV2Parser=void 0;const s=n(32741);class MarkdownV2Parser{static parse(e){e=e.replace(/\*(.*?)\*/g,"$1");e=e.replace(/__(.*?)__/g,"$1");e=e.replace(/~(.*?)~/g,"$1");e=e.replace(/-(.*?)-/g,"$1");e=e.replace(/```([\s\S]*?)```/g,"
$1
");e=e.replace(/`(.*?)`/g,"$1");e=e.replace(/\|\|(.*?)\|\|/g,"$1");e=e.replace(/(?$1');e=e.replace(/!\[([^\]]+)\]\(tg:\/\/emoji\?id=(\d+)\)/g,'$1');return s.HTMLParser.parse(e)}static unparse(e,r){e=s.HTMLParser.unparse(e,r);e=e.replace(/(.*?)<\/b>/g,"*$1*");e=e.replace(/(.*?)<\/u>/g,"__$1__");e=e.replace(/(.*?)<\/code>/g,"`$1`");e=e.replace(/
(.*?)<\/pre>/g,"```$1```");e=e.replace(/(.*?)<\/s>/g,"~$1~");e=e.replace(/(.*?)<\/i>/g,"-$1-");e=e.replace(/(.*?)<\/spoiler>/g,"||$1||");e=e.replace(/([^<]+)<\/a>/g,"[$2]($1)");e=e.replace(/([^<]+)<\/tg-emoji>/g,"![$2](tg://emoji?id=$1)");return e}}r.MarkdownV2Parser=MarkdownV2Parser},64989:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(69278),r)},90363:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(42474),r)},18219:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))s(r,e,n);i(r,e);return r};Object.defineProperty(r,"__esModule",{value:true});r.client=r.password=r.tl=r.helpers=r.extensions=r.sessions=r.errors=r.utils=r.Logger=r.version=r.Connection=r.TelegramClient=r.Api=void 0;var c=n(87440);Object.defineProperty(r,"Api",{enumerable:true,get:function(){return c.Api}});const u=o(n(87440));r.tl=u;var d=n(74163);Object.defineProperty(r,"TelegramClient",{enumerable:true,get:function(){return d.TelegramClient}});var A=n(68722);Object.defineProperty(r,"Connection",{enumerable:true,get:function(){return A.Connection}});var h=n(20163);Object.defineProperty(r,"version",{enumerable:true,get:function(){return h.version}});var g=n(91932);Object.defineProperty(r,"Logger",{enumerable:true,get:function(){return g.Logger}});const m=o(n(29078));r.utils=m;const y=o(n(37819));r.errors=y;const E=o(n(85773));r.sessions=E;const _=o(n(21470));r.extensions=_;const b=o(n(10330));r.helpers=b;const I=o(n(42107));r.client=I;const v=o(n(79138));r.password=v},42355:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.inspect=void 0;var s=n(39023);Object.defineProperty(r,"inspect",{enumerable:true,get:function(){return s.inspect}})},29941:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.doAuthentication=void 0;const i=n(10330);const o=n(87440);const c=n(37819);const u=n(11833);const d=n(81071);const A=n(54254);const h=s(n(43269));const g=n(21470);const m=n(42964);const y=20;async function doAuthentication(e,r){let n=(0,i.generateRandomBytes)(16);const s=(0,i.readBigIntFromBuffer)(n,false,true);const E=await e.send(new o.Api.ReqPqMulti({nonce:s}));r.debug("Starting authKey generation step 1");if(!(E instanceof o.Api.ResPQ)){throw new c.SecurityError(`Step 1 answer was ${E}`)}if(E.nonce.neq(s)){throw new c.SecurityError("Step 1 invalid nonce from server")}const _=(0,i.readBigIntFromBuffer)(E.pq,false,true);r.debug("Finished authKey generation step 1");const{p:b,q:I}=u.Factorizator.factorize(_);const v=(0,i.getByteArray)(b);const C=(0,i.getByteArray)(I);n=(0,i.generateRandomBytes)(32);const w=(0,i.readBigIntFromBuffer)(n,true,true);const B=new o.Api.PQInnerData({pq:(0,i.getByteArray)(_),p:v,q:C,nonce:E.nonce,serverNonce:E.serverNonce,newNonce:w}).getBytes();if(B.length>144){throw new c.SecurityError("Step 1 invalid nonce from server")}let S;let T;for(const e of E.serverPublicKeyFingerprints){T=d._serverKeys.get(e.toString());if(T!==undefined){S=e;break}}if(S===undefined||T===undefined){throw new c.SecurityError("Step 2 could not find a valid key for fingerprints")}const k=(0,i.generateRandomBytes)(192-B.length);const R=Buffer.concat([B,k]);const Q=Buffer.from(R).reverse();let P;for(let e=0;e{if(this._pendingAck.size){const e=new g.RequestState(new C({msgIds:Array(...this._pendingAck)}));this._sendQueue.append(e);this._lastAcks.push(e);if(this._lastAcks.length>=10){this._lastAcks.shift()}this._pendingAck.clear()}};appendAcks();this._log.debug(`Waiting for messages to send... ${this.isReconnecting}`);await this._sendQueue.wait();appendAcks();const e=await this._sendQueue.get();this._log.debug(`Got ${e===null||e===void 0?void 0:e.batch.length} message(s) to send`);if(this.isReconnecting){this._log.debug("Reconnecting");this._sendLoopHandle=undefined;return}if(!e){continue}let{data:r}=e;const{batch:n}=e;this._log.debug(`Encrypting ${n.length} message(s) in ${r.length} bytes for sending`);this._log.debug(`Sending   ${n.map((e=>e.request.className))}`);r=await this._state.encryptMessageData(r);for(const e of n){if(!Array.isArray(e)){if(e.request.classType==="request"){this._pendingState.set(e.msgId,e)}}else{for(const r of e){if(r.request.classType==="request"){this._pendingState.set(r.msgId,r)}}}}try{await this._connection.send(r)}catch(e){this._log.debug(`Connection closed while sending data ${e}`);if(this._log.canSend(b.LogLevel.DEBUG)){console.error(e)}this._sendLoopHandle=undefined;return}this._log.debug("Encrypted messages put in a queue to be sent")}this._sendLoopHandle=undefined}async _recvLoop(){let e;let r;while(this._userConnected&&!this.isReconnecting){this._log.debug("Receiving items from the network...");try{e=await this._connection.recv()}catch(e){if(!this.userDisconnected){this._log.warn("Connection closed while receiving data");if(this._log.canSend(b.LogLevel.WARN)){console.error(e)}this.reconnect()}this._recvLoopHandle=undefined;return}try{r=await this._state.decryptMessageData(e)}catch(e){this._log.debug(`Error while receiving items from the network ${e}`);if(e instanceof E.TypeNotFoundError){this._log.info(`Type ${e.invalidConstructorId} not found, remaining data ${e.remaining}`);continue}else if(e instanceof E.SecurityError){this._log.warn(`Security error while unpacking a received message: ${e}`);continue}else if(e instanceof E.InvalidBufferError){if(e.code===404){this._handleBadAuthKey()}else{this._log.warn(`Invalid buffer ${e.code} for dc ${this._dcId}`);this.reconnect()}this._recvLoopHandle=undefined;return}else{this._log.error("Unhandled error while receiving data");if(this._client._errorHandler){await this._client._errorHandler(e)}if(this._log.canSend(b.LogLevel.ERROR)){console.log(e)}this.reconnect();this._recvLoopHandle=undefined;return}}try{await this._processMessage(r)}catch(e){if(e instanceof E.RPCError){if(e.message==="AUTH_KEY_UNREGISTERED"||e.message==="SESSION_REVOKED"){this._handleBadAuthKey(true)}}else{this._log.error("Unhandled error while receiving data");if(this._client._errorHandler){await this._client._errorHandler(e)}if(this._log.canSend(b.LogLevel.ERROR)){console.log(e)}}}}this._recvLoopHandle=undefined}_handleBadAuthKey(e=false){if(e&&this._isMainSender){return}this._log.warn(`Broken authorization key for dc ${this._dcId}, resetting...`);if(this._isMainSender&&this._updateCallback){this._updateCallback(this._client,new _.UpdateConnectionState(_.UpdateConnectionState.broken))}else if(!this._isMainSender&&this._onConnectionBreak){this._onConnectionBreak(this._dcId)}}async _processMessage(e){this._pendingAck.add(e.msgId);e.obj=await e.obj;let r=this._handlers[e.obj.CONSTRUCTOR_ID.toString()];if(!r){r=this._handleUpdate.bind(this)}await r(e)}_popStates(e){var r;const n=this._pendingState.getAndDelete(e);if(n){return[n]}const s=[];for(const n of this._pendingState.values()){if((r=n.containerId)===null||r===void 0?void 0:r.equals(e)){s.push(n.msgId)}}if(s.length){const e=[];for(const r of s){e.push(this._pendingState.getAndDelete(r))}return e}for(const r of this._lastAcks){if(r.msgId===e){return[r]}}return[]}_handleRPCResult(e){const r=e.obj;const n=this._pendingState.getAndDelete(r.reqMsgId);this._log.debug(`Handling RPC result for message ${r.reqMsgId}`);if(!n){try{const e=new c.BinaryReader(r.body);if(!(e.tgReadObject()instanceof d.Api.upload.File)){throw new E.TypeNotFoundError(0,Buffer.alloc(0))}}catch(e){if(e instanceof E.TypeNotFoundError){this._log.info(`Received response without parent request: ${r.body}`);return}throw e}return}if(r.error){const e=(0,E.RPCMessageToError)(r.error,n.request);this._sendQueue.append(new g.RequestState(new C({msgIds:[n.msgId]})));n.reject(e);throw e}else{try{const e=new c.BinaryReader(r.body);const s=n.request.readResult(e);this._log.debug(`Handling RPC result ${s===null||s===void 0?void 0:s.className}`);n.resolve(s)}catch(e){n.reject(e);throw e}}}async _handleContainer(e){this._log.debug("Handling container");for(const r of e.obj.messages){await this._processMessage(r)}}async _handleGzipPacked(e){this._log.debug("Handling gzipped data");const r=new c.BinaryReader(e.obj.data);e.obj=r.tgReadObject();await this._processMessage(e)}async _handleUpdate(e){if(e.obj.SUBCLASS_OF_ID!==2331323052){this._log.warn(`Note: ${e.obj.className} is not an update, not dispatching it`);return}this._log.debug("Handling update "+e.obj.className);if(this._updateCallback){this._updateCallback(this._client,e.obj)}}async _handlePong(e){const r=e.obj;this._log.debug(`Handling pong for message ${r.msgId}`);const n=this._pendingState.get(r.msgId.toString());this._pendingState.delete(r.msgId.toString());if(n){n.resolve(r)}}async _handleBadServerSalt(e){const r=e.obj;this._log.debug(`Handling bad salt for message ${r.badMsgId}`);this._state.salt=r.newServerSalt;const n=this._popStates(r.badMsgId);this._sendQueue.extend(n);this._log.debug(`${n.length} message(s) will be resent`)}async _handleBadNotification(e){const r=e.obj;const n=this._popStates(r.badMsgId);this._log.debug(`Handling bad msg ${JSON.stringify(r)}`);if([16,17].includes(r.errorCode)){const r=this._state.updateTimeOffset((0,A.default)(e.msgId));this._log.info(`System clock is wrong, set time offset to ${r}s`)}else if(r.errorCode===32){this._state._sequence+=64}else if(r.errorCode===33){this._state._sequence-=16}else{for(const e of n){e.reject(new E.BadMessageError(e.request,r.errorCode))}return}this._sendQueue.extend(n);this._log.debug(`${n.length} messages will be resent due to bad msg`)}async _handleDetailedInfo(e){const r=e.obj.answerMsgId;this._log.debug(`Handling detailed info for message ${r}`);this._pendingAck.add(r)}async _handleNewDetailedInfo(e){const r=e.obj.answerMsgId;this._log.debug(`Handling new detailed info for message ${r}`);this._pendingAck.add(r)}async _handleNewSessionCreated(e){this._log.debug("Handling new session created");this._state.salt=e.obj.serverSalt}_handleAck(){}async _handleFutureSalts(e){this._log.debug(`Handling future salts for message ${e.msgId}`);const r=this._pendingState.getAndDelete(e.msgId);if(r){r.resolve(e.obj)}}async _handleStateForgotten(e){this._sendQueue.append(new g.RequestState(new d.Api.MsgsStateInfo({reqMsgId:e.msgId,info:String.fromCharCode(1).repeat(e.obj.msgIds)})))}async _handleMsgAll(e){}reconnect(){if(this._userConnected&&!this.isReconnecting){this.isReconnecting=true;if(this._isMainSender){this._log.debug("Reconnecting all senders");for(const e of this._exportedSenderPromises.values()){e.then((e=>{if(e&&!e._isMainSender){e.reconnect()}})).catch((e=>{this._log.warn("Error getting sender to reconnect to")}))}}(0,h.sleep)(1e3).then((()=>{this._log.info("Started reconnecting");this._reconnect()}))}}async _reconnect(){try{this._log.warn("[Reconnect] Closing current connection...");await this._disconnect()}catch(e){this._log.warn("Error happened while disconnecting");if(this._client._errorHandler){await this._client._errorHandler(e)}if(this._log.canSend(b.LogLevel.ERROR)){console.error(e)}}this._log.debug(`Adding ${this._sendQueue._pendingStates.length} old request to resend`);for(let e=0;e500){this.msgIds.shift()}this.msgIds.push(_.toString());const b=y.readInt();y.readInt();const I=y.tgReadObject();return new d.TLMessage(_,b,I)}_getNewMsgId(){const e=(new Date).getTime()/1e3+this.timeOffset;const r=Math.floor((e-Math.floor(e))*1e9);let n=(0,i.default)(Math.floor(e)).shiftLeft((0,i.default)(32)).or((0,i.default)(r).shiftLeft((0,i.default)(2)));if(this._lastMsgId.greaterOrEquals(n)){n=this._lastMsgId.add((0,i.default)(4))}this._lastMsgId=n;return n}updateTimeOffset(e){const r=this._getNewMsgId();const n=this.timeOffset;const s=Math.floor((new Date).getTime()/1e3);const o=e.shiftRight((0,i.default)(32)).toJSNumber();this.timeOffset=o-s;if(this.timeOffset!==n){this._lastMsgId=i.default.zero;this._log.debug(`Updated time offset (old offset ${n}, bad ${r}, good ${e}, new ${this.timeOffset})`)}return this.timeOffset}_getSeqNo(e){if(e){const e=this._sequence*2+1;this._sequence+=1;return e}else{return this._sequence*2}}}r.MTProtoState=MTProtoState},34690:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.RequestState=void 0;const i=s(n(64303));class RequestState{constructor(e){this.containerId=undefined;this.msgId=undefined;this.request=e;this.data=e.getBytes();this.after=undefined;this.result=undefined;this.finished=new i.default;this.resetPromise()}isReady(){if(!this.after){return true}return this.after.finished.promise}resetPromise(){var e;(e=this.reject)===null||e===void 0?void 0:e.call(this);this.promise=new Promise(((e,r)=>{this.resolve=e;this.reject=r}))}}r.RequestState=RequestState},40859:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ObfuscatedConnection=r.PacketCodec=r.Connection=void 0;const s=n(21470);class Connection{constructor({ip:e,port:r,dcId:n,loggers:i,proxy:o,socket:c,testServers:u}){this._ip=e;this._port=r;this._dcId=n;this._log=i;this._proxy=o;this._connected=false;this._sendTask=undefined;this._recvTask=undefined;this._codec=undefined;this._obfuscation=undefined;this._sendArray=new s.AsyncQueue;this._recvArray=new s.AsyncQueue;this.socket=new c(o);this._testServers=u}async _connect(){this._log.debug("Connecting");this._codec=new this.PacketCodecClass(this);await this.socket.connect(this._port,this._ip,this._testServers);this._log.debug("Finished connecting");await this._initConn()}async connect(){await this._connect();this._connected=true;if(!this._sendTask){this._sendTask=this._sendLoop()}this._recvTask=this._recvLoop()}async disconnect(){if(!this._connected){return}this._connected=false;void this._recvArray.push(undefined);await this.socket.close()}async send(e){if(!this._connected){throw new Error("Not connected")}await this._sendArray.push(e)}async recv(){while(this._connected){const e=await this._recvArray.pop();if(e){return e}}throw new Error("Not connected")}async _sendLoop(){try{while(this._connected){const e=await this._sendArray.pop();if(!e){this._sendTask=undefined;return}await this._send(e)}}catch(e){this._log.info("The server closed the connection while sending")}}isConnected(){return this._connected}async _recvLoop(){let e;while(this._connected){try{e=await this._recv();if(!e){throw new Error("no data received")}}catch(e){this._log.info("connection closed");this.disconnect();return}await this._recvArray.push(e)}}async _initConn(){if(this._codec.tag){await this.socket.write(this._codec.tag)}}async _send(e){const r=this._codec.encodePacket(e);this.socket.write(r)}async _recv(){return await this._codec.readPacket(this.socket)}toString(){return`${this._ip}:${this._port}/${this.constructor.name.replace("Connection","")}`}}r.Connection=Connection;class ObfuscatedConnection extends Connection{constructor(){super(...arguments);this.ObfuscatedIO=undefined}async _initConn(){this._obfuscation=new this.ObfuscatedIO(this);await this._obfuscation.initHeader();this.socket.write(this._obfuscation.header)}async _send(e){this._obfuscation.write(this._codec.encodePacket(e))}async _recv(){return await this._codec.readPacket(this._obfuscation)}}r.ObfuscatedConnection=ObfuscatedConnection;class PacketCodec{constructor(e){this._conn=e}encodePacket(e){throw new Error("Not Implemented")}async readPacket(e){throw new Error("Not Implemented")}}r.PacketCodec=PacketCodec},90106:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPAbridged=r.AbridgedPacketCodec=void 0;const i=n(10330);const o=n(40859);const c=s(n(43269));class AbridgedPacketCodec extends o.PacketCodec{constructor(e){super(e);this.tag=AbridgedPacketCodec.tag;this.obfuscateTag=AbridgedPacketCodec.obfuscateTag}encodePacket(e){let r=e.length>>2;let n;if(r<127){const e=Buffer.alloc(1);e.writeUInt8(r,0);n=e}else{n=Buffer.concat([Buffer.from("7f","hex"),(0,i.readBufferFromBigInt)((0,c.default)(r),3)])}return Buffer.concat([n,e])}async readPacket(e){const r=await e.read(1);let n=r[0];if(n>=127){n=Buffer.concat([await e.read(3),Buffer.alloc(1)]).readInt32LE(0)}return e.read(n<<2)}}r.AbridgedPacketCodec=AbridgedPacketCodec;AbridgedPacketCodec.tag=Buffer.from("ef","hex");AbridgedPacketCodec.obfuscateTag=Buffer.from("efefefef","hex");class ConnectionTCPAbridged extends o.Connection{constructor(){super(...arguments);this.PacketCodecClass=AbridgedPacketCodec}}r.ConnectionTCPAbridged=ConnectionTCPAbridged},30761:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPFull=r.FullPacketCodec=void 0;const s=n(40859);const i=n(10330);const o=n(37819);class FullPacketCodec extends s.PacketCodec{constructor(e){super(e);this._sendCounter=0}encodePacket(e){const r=e.length+12;const n=Buffer.alloc(8);n.writeInt32LE(r,0);n.writeInt32LE(this._sendCounter,4);e=Buffer.concat([n,e]);const s=Buffer.alloc(4);s.writeUInt32LE((0,i.crc32)(e),0);this._sendCounter+=1;return Buffer.concat([e,s])}async readPacket(e){const r=await e.readExactly(8);if(r===undefined){return Buffer.alloc(0)}const n=r.readInt32LE(0);if(n<0){const r=await e.readExactly(4);throw new o.InvalidBufferError(r)}let s=await e.readExactly(n-8);const c=s.slice(-4).readUInt32LE(0);s=s.slice(0,-4);const u=(0,i.crc32)(Buffer.concat([r,s]));if(!(u===c)){throw new o.InvalidChecksumError(c,u)}return s}}r.FullPacketCodec=FullPacketCodec;class ConnectionTCPFull extends s.Connection{constructor(){super(...arguments);this.PacketCodecClass=FullPacketCodec}}r.ConnectionTCPFull=ConnectionTCPFull},49713:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPMTProxyAbridged=r.TCPMTProxy=void 0;const s=n(40859);const i=n(90106);const o=n(10330);const c=n(77222);class MTProxyIO{constructor(e){this.header=undefined;this.connection=e.socket;this._packetClass=e.PacketCodecClass;this._secret=e._secret;this._dcId=e._dcId}async initHeader(){let e=this._secret;const r=e.length==17&&e[0]==221;e=r?e.slice(1):e;if(e.length!=16){throw new Error("MTProxy secret must be a hex-string representing 16 bytes")}const n=[Buffer.from("50567247","hex"),Buffer.from("474554","hex"),Buffer.from("504f5354","hex"),Buffer.from("eeeeeeee","hex")];let s;while(true){s=(0,o.generateRandomBytes)(64);if(s[0]!==239&&!s.slice(4,8).equals(Buffer.alloc(4))){let e=true;for(const r of n){if(r.equals(s.slice(0,4))){e=false;break}}if(e){break}}}s=s.toJSON().data;const i=Buffer.from(s.slice(8,56)).reverse();const u=await(0,o.sha256)(Buffer.concat([Buffer.from(s.slice(8,40)),e]));const d=Buffer.from(s.slice(40,56));const A=await(0,o.sha256)(Buffer.concat([Buffer.from(i.slice(0,32)),e]));const h=Buffer.from(i.slice(32,48));const g=new c.CTR(u,d);const m=new c.CTR(A,h);s=Buffer.concat([Buffer.from(s.slice(0,56)),this._packetClass.obfuscateTag,Buffer.from(s.slice(60))]);const y=Buffer.alloc(2);y.writeInt8(this._dcId,0);s=Buffer.concat([Buffer.from(s.slice(0,60)),y,Buffer.from(s.slice(62))]);s=Buffer.concat([Buffer.from(s.slice(0,56)),Buffer.from(g.encrypt(s).slice(56,64)),Buffer.from(s.slice(64))]);this.header=s;this._encrypt=g;this._decrypt=m}async read(e){const r=await this.connection.readExactly(e);return this._decrypt.encrypt(r)}write(e){this.connection.write(this._encrypt.encrypt(e))}}class TCPMTProxy extends s.ObfuscatedConnection{constructor({ip:e,port:r,dcId:n,loggers:s,proxy:i,socket:o,testServers:c}){super({ip:i.ip,port:i.port,dcId:n,loggers:s,socket:o,proxy:i,testServers:c});this.ObfuscatedIO=MTProxyIO;if(!i.MTProxy){throw new Error("This connection only supports MPTProxies")}if(!i.secret){throw new Error("You need to provide the secret for the MTProxy")}if(i.secret&&i.secret.match(/^[0-9a-f]+$/i)){this._secret=Buffer.from(i.secret,"hex")}else{this._secret=Buffer.from(i.secret,"base64")}}}r.TCPMTProxy=TCPMTProxy;class ConnectionTCPMTProxyAbridged extends TCPMTProxy{constructor(){super(...arguments);this.PacketCodecClass=i.AbridgedPacketCodec}}r.ConnectionTCPMTProxyAbridged=ConnectionTCPMTProxyAbridged},33038:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPObfuscated=void 0;const s=n(10330);const i=n(40859);const o=n(90106);const c=n(77222);class ObfuscatedIO{constructor(e){this.header=undefined;this.connection=e.socket;this._packetClass=e.PacketCodecClass}async initHeader(){const e=[Buffer.from("50567247","hex"),Buffer.from("474554","hex"),Buffer.from("504f5354","hex"),Buffer.from("eeeeeeee","hex")];let r;while(true){r=(0,s.generateRandomBytes)(64);if(r[0]!==239&&!r.slice(4,8).equals(Buffer.alloc(4))){let n=true;for(const s of e){if(s.equals(r.slice(0,4))){n=false;break}}if(n){break}}}r=r.toJSON().data;const n=Buffer.from(r.slice(8,56)).reverse();const i=Buffer.from(r.slice(8,40));const o=Buffer.from(r.slice(40,56));const u=Buffer.from(n.slice(0,32));const d=Buffer.from(n.slice(32,48));const A=new c.CTR(i,o);const h=new c.CTR(u,d);r=Buffer.concat([Buffer.from(r.slice(0,56)),this._packetClass.obfuscateTag,Buffer.from(r.slice(60))]);r=Buffer.concat([Buffer.from(r.slice(0,56)),Buffer.from(A.encrypt(r).slice(56,64)),Buffer.from(r.slice(64))]);this.header=r;this._encrypt=A;this._decrypt=h}async read(e){const r=await this.connection.readExactly(e);return this._decrypt.encrypt(r)}write(e){this.connection.write(this._encrypt.encrypt(e))}}class ConnectionTCPObfuscated extends i.ObfuscatedConnection{constructor(){super(...arguments);this.ObfuscatedIO=ObfuscatedIO;this.PacketCodecClass=o.AbridgedPacketCodec}}r.ConnectionTCPObfuscated=ConnectionTCPObfuscated},90583:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPObfuscated=r.ConnectionTCPAbridged=r.ConnectionTCPFull=r.Connection=void 0;var s=n(40859);Object.defineProperty(r,"Connection",{enumerable:true,get:function(){return s.Connection}});var i=n(30761);Object.defineProperty(r,"ConnectionTCPFull",{enumerable:true,get:function(){return i.ConnectionTCPFull}});var o=n(90106);Object.defineProperty(r,"ConnectionTCPAbridged",{enumerable:true,get:function(){return o.ConnectionTCPAbridged}});var c=n(33038);Object.defineProperty(r,"ConnectionTCPObfuscated",{enumerable:true,get:function(){return c.ConnectionTCPObfuscated}})},68722:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ConnectionTCPObfuscated=r.ConnectionTCPAbridged=r.ConnectionTCPFull=r.Connection=r.UpdateConnectionState=r.MTProtoSender=r.doAuthentication=r.MTProtoPlainSender=void 0;var s=n(68278);Object.defineProperty(r,"MTProtoPlainSender",{enumerable:true,get:function(){return s.MTProtoPlainSender}});var i=n(29941);Object.defineProperty(r,"doAuthentication",{enumerable:true,get:function(){return i.doAuthentication}});var o=n(83714);Object.defineProperty(r,"MTProtoSender",{enumerable:true,get:function(){return o.MTProtoSender}});class UpdateConnectionState{constructor(e){this.state=e}}r.UpdateConnectionState=UpdateConnectionState;UpdateConnectionState.disconnected=-1;UpdateConnectionState.connected=1;UpdateConnectionState.broken=0;var c=n(90583);Object.defineProperty(r,"Connection",{enumerable:true,get:function(){return c.Connection}});Object.defineProperty(r,"ConnectionTCPFull",{enumerable:true,get:function(){return c.ConnectionTCPFull}});Object.defineProperty(r,"ConnectionTCPAbridged",{enumerable:true,get:function(){return c.ConnectionTCPAbridged}});Object.defineProperty(r,"ConnectionTCPObfuscated",{enumerable:true,get:function(){return c.ConnectionTCPObfuscated}})},60720:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isNode=r.isBrowser=r.isDeno=void 0;r.isDeno="Deno"in globalThis;r.isBrowser=!r.isDeno&&typeof window!=="undefined";r.isNode=!r.isBrowser},40776:function(e,r,n){var s=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],n;return r?r.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(r){n[r]=e[r]&&function(n){return new Promise((function(s,i){n=e[r](n),settle(s,i,n.done,n.value)}))}}function settle(e,r,n,s){Promise.resolve(s).then((function(r){e({value:r,done:n})}),r)}};Object.defineProperty(r,"__esModule",{value:true});r.RequestIter=void 0;const i=n(10330);const o=n(18219);class RequestIter{constructor(e,r,n={},s={}){this.client=e;this.reverse=n.reverse;this.waitTime=n.waitTime;this.limit=Math.max(!r?Number.MAX_SAFE_INTEGER:r,0);this.left=this.limit;this.buffer=undefined;this.kwargs=s;this.index=0;this.total=undefined;this.lastLoad=0}async _init(e){}[Symbol.asyncIterator](){this.buffer=undefined;this.index=0;this.lastLoad=0;this.left=this.limit;return{next:async()=>{if(this.buffer==undefined){this.buffer=[];if(await this._init(this.kwargs)){this.left=this.buffer.length}}if(this.left<=0){return{value:undefined,done:true}}if(this.index==this.buffer.length){if(this.waitTime){await(0,i.sleep)(this.waitTime-((new Date).getTime()/1e3-this.lastLoad))}this.lastLoad=(new Date).getTime()/1e3;this.index=0;this.buffer=[];const e=await this._loadNextChunk();if(e===false){return{value:undefined,done:true}}if(e){this.left=this.buffer.length}}if(!this.buffer||!this.buffer.length){return{value:undefined,done:true}}const e=this.buffer[this.index];this.left-=1;this.index+=1;return{value:e,done:false}}}}async collect(){var e,r;const n=new o.helpers.TotalList;try{for(var i=s(this),c;c=await i.next(),!c.done;){const e=c.value;n.push(e)}}catch(r){e={error:r}}finally{try{if(c&&!c.done&&(r=i.return))await r.call(i)}finally{if(e)throw e.error}}n.total=this.total;return n}async _loadNextChunk(){throw new Error("Not Implemented")}}r.RequestIter=RequestIter},6755:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Session=void 0;class Session{}r.Session=Session},26778:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.MemorySession=void 0;const i=n(6755);const o=n(87440);const c=s(n(43269));const u=n(29078);const d=n(10330);const A=n(18219);class MemorySession extends i.Session{constructor(){super();this._serverAddress=undefined;this._dcId=0;this._port=undefined;this._takeoutId=undefined;this._entities=new Set;this._updateStates={}}setDC(e,r,n){this._dcId=e|0;this._serverAddress=r;this._port=n}get dcId(){return this._dcId}get serverAddress(){return this._serverAddress}get port(){return this._port}get authKey(){return this._authKey}set authKey(e){this._authKey=e}get takeoutId(){return this._takeoutId}set takeoutId(e){this._takeoutId=e}getAuthKey(e){if(e&&e!==this.dcId){return undefined}return this.authKey}setAuthKey(e,r){if(r&&r!==this.dcId){return undefined}this.authKey=e}close(){}save(){}async load(){}delete(){}_entityValuesToRow(e,r,n,s,i){return[e,r,n,s,i]}_entityToRow(e){if(!(e.classType==="constructor")){return}let r;let n;try{r=(0,u.getInputPeer)(e,false);n=(0,u.getPeerId)(r)}catch(e){return}let s;if(r instanceof o.Api.InputPeerUser||r instanceof o.Api.InputPeerChannel){s=r.accessHash}else if(r instanceof o.Api.InputPeerChat){s=c.default.zero}else{return}let i=e.username;if(i){i=i.toLowerCase()}const d=e.phone;const A=(0,u.getDisplayName)(e);return this._entityValuesToRow(n,s,i,d,A)}_entitiesToRows(e){let r=[];if(!(e.classType==="constructor")&&(0,d.isArrayLike)(e)){r=e}else{if(typeof e==="object"){if("user"in e){r.push(e.user)}if("chat"in e){r.push(e.chat)}if("channel"in e){r.push(e.channel)}if("chats"in e&&(0,d.isArrayLike)(e.chats)){r=r.concat(e.chats)}if("users"in e&&(0,d.isArrayLike)(e.users)){r=r.concat(e.users)}}}const n=[];for(const e of r){const r=this._entityToRow(e);if(r){n.push(r)}}return n}processEntities(e){const r=this._entitiesToRows(e);for(const e of r){this._entities.add(e)}}getEntityRowsByPhone(e){for(const r of this._entities){if(r[3]===e){return[r[0],r[1]]}}}getEntityRowsByUsername(e){for(const r of this._entities){if(r[2]===e){return[r[0],r[1]]}}}getEntityRowsByName(e){for(const r of this._entities){if(r[4]===e){return[r[0],r[1]]}}}getEntityRowsById(e,r=true){if(r){for(const r of this._entities){if(r[0]===e){return[r[0],r[1]]}}}else{const r=[A.utils.getPeerId(new o.Api.PeerUser({userId:(0,d.returnBigInt)(e)})),A.utils.getPeerId(new o.Api.PeerChat({chatId:(0,d.returnBigInt)(e)})),A.utils.getPeerId(new o.Api.PeerChannel({channelId:(0,d.returnBigInt)(e)}))];for(const e of this._entities){if(r.includes(e[0])){return[e[0],e[1]]}}}}getInputEntity(e){let r;if(typeof e==="object"&&!c.default.isInstance(e)&&e.SUBCLASS_OF_ID){if(e.SUBCLASS_OF_ID==3374092470||e.SUBCLASS_OF_ID==3865689926||e.SUBCLASS_OF_ID==1089602301){return e}return A.utils.getInputPeer(e)}else{if(typeof e==="object"){e=A.utils.getPeerId(e);r=true}else{r=false}}if(c.default.isInstance(e)||typeof e=="bigint"||typeof e=="number"){e=e.toString()}let n=undefined;if(typeof e==="string"){const s=A.utils.parsePhone(e);if(s){n=this.getEntityRowsByPhone(s)}else{const{username:r,isInvite:s}=A.utils.parseUsername(e);if(r&&!s){n=this.getEntityRowsByUsername(r)}}if(!n){const s=A.utils.parseID(e);if(s){n=this.getEntityRowsById(s,r)}}if(!n){n=this.getEntityRowsByName(e)}}if(n){let e=n[0];const r=(0,c.default)(n[1]);const s=A.utils.resolveId((0,d.returnBigInt)(e));e=s[0];const i=s[1];if(i===o.Api.PeerUser){return new o.Api.InputPeerUser({userId:e,accessHash:r})}else if(i===o.Api.PeerChat){return new o.Api.InputPeerChat({chatId:e})}else if(i===o.Api.PeerChannel){return new o.Api.InputPeerChannel({channelId:e,accessHash:r})}}else{throw new Error("Could not find input entity with key "+e)}throw new Error("Could not find input entity with key "+e)}}r.MemorySession=MemorySession},58938:function(e,r,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:true});r.StoreSession=void 0;const i=n(26778);const o=s(n(30977));const c=n(42964);class StoreSession extends i.MemorySession{constructor(e,r=":"){super();if(e==="session"){throw new Error("Session name can't be 'session'. Please use a different name.")}if(typeof localStorage==="undefined"||localStorage===null){const r=n(64753).LocalStorage;this.store=o.default.area(e,new r("./"+e))}else{this.store=o.default.area(e,localStorage)}if(r==undefined){r=":"}this.sessionName=e+r}async load(){let e=this.store.get(this.sessionName+"authKey");if(e&&typeof e==="object"){this._authKey=new c.AuthKey;if("data"in e){e=Buffer.from(e.data)}await this._authKey.setKey(e)}const r=this.store.get(this.sessionName+"dcId");if(r){this._dcId=r}const n=this.store.get(this.sessionName+"port");if(n){this._port=n}const s=this.store.get(this.sessionName+"serverAddress");if(s){this._serverAddress=s}}setDC(e,r,n){this.store.set(this.sessionName+"dcId",e);this.store.set(this.sessionName+"port",n);this.store.set(this.sessionName+"serverAddress",r);super.setDC(e,r,n)}set authKey(e){this._authKey=e;this.store.set(this.sessionName+"authKey",e===null||e===void 0?void 0:e.getKey())}get authKey(){return this._authKey}processEntities(e){const r=this._entitiesToRows(e);if(!r){return}for(const e of r){e.push((new Date).getTime().toString());this.store.set(this.sessionName+e[0],e)}}getEntityRowsById(e,r=true){return this.store.get(this.sessionName+e.toString())}}r.StoreSession=StoreSession},66514:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.StringSession=void 0;const s=n(26778);const i=n(21470);const o=n(42964);const c="1";class StringSession extends s.MemorySession{constructor(e){super();if(e){if(e[0]!==c){throw new Error("Not a valid string")}e=e.slice(1);const r=StringSession.decode(e);const n=new i.BinaryReader(r);this._dcId=n.read(1).readUInt8(0);if(e.length==352){const e=n.read(4);this._serverAddress=e[0].toString()+"."+e[1].toString()+"."+e[2].toString()+"."+e[3].toString()}else{const e=n.read(2).readInt16BE(0);if(e>100){n.offset-=2;this._serverAddress=n.read(16).toString("hex").match(/.{1,4}/g).map((e=>e.replace(/^0+/,""))).join(":").replace(/0000\:/g,":").replace(/:{2,}/g,"::")}else{this._serverAddress=n.read(e).toString()}}this._port=n.read(2).readInt16BE(0);this._key=n.read(-1)}}static encode(e){return e.toString("base64")}static decode(e){return Buffer.from(e,"base64")}async load(){if(this._key){this._authKey=new o.AuthKey;await this._authKey.setKey(this._key)}}save(){if(!this.authKey||!this.serverAddress||!this.port){return""}const e=this.authKey.getKey();if(!e){return""}const r=Buffer.from([this.dcId]);const n=Buffer.from(this.serverAddress);const s=Buffer.alloc(2);s.writeInt16BE(n.length,0);const i=Buffer.alloc(2);i.writeInt16BE(this.port,0);return c+StringSession.encode(Buffer.concat([r,s,n,i,e]))}}r.StringSession=StringSession},85773:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Session=r.StoreSession=r.StringSession=r.MemorySession=void 0;var s=n(26778);Object.defineProperty(r,"MemorySession",{enumerable:true,get:function(){return s.MemorySession}});var i=n(66514);Object.defineProperty(r,"StringSession",{enumerable:true,get:function(){return i.StringSession}});var o=n(58938);Object.defineProperty(r,"StoreSession",{enumerable:true,get:function(){return o.StoreSession}});var c=n(6755);Object.defineProperty(r,"Session",{enumerable:true,get:function(){return c.Session}})},64753:(e,r,n)=>{var s;s={value:true};r.LocalStorage=void 0;r.LocalStorage=n(80347).LocalStorage},59415:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.tlobjects=r.LAYER=void 0;r.LAYER=184;const s=n(87440);const i={};r.tlobjects=i;for(const e of Object.values(s.Api)){if("CONSTRUCTOR_ID"in e){i[e.CONSTRUCTOR_ID]=e}else{for(const r of Object.values(e)){i[r.CONSTRUCTOR_ID]=r}}}},11820:(e,r,n)=>{const{inspect:s}=n(42355);const i=n(43269);const{generateRandomBytes:o,readBigIntFromBuffer:c,isArrayLike:u,betterConsoleLog:d}=n(10330);const A=n(66164);const h=n(87113);function generateRandomBigInt(){return c(o(8),false,true)}const{parseTl:g,serializeBytes:m,serializeDate:y}=n(66695);const{toSignedLittleBuffer:E}=n(10330);const _=new Set(["chatId,int"]);const b=new Set(["discardEncryption"]);const I=new Set(["InputPeer","InputChannel","InputUser","InputDialogPeer","InputNotifyPeer","InputMedia","InputPhoto","InputMessage","InputDocument","InputChatPhoto"]);class CastError extends Error{constructor(e,r,n,...s){const i="Found wrong type for "+e+". expected "+r+" but received "+n+".If you think this is a mistake please report it.";super(i,...s);if(Error.captureStackTrace){Error.captureStackTrace(this,CastError)}this.name="CastError"}}const v=typeof self!=="undefined"&&self.localStorage!==undefined;const C="GramJs:apiCache";function buildApiFromTlSchema(){let e;const r=v&&loadFromCache();if(r){e=r}else{e=loadFromTlSchemas();if(v){localStorage.setItem(C,JSON.stringify(e))}}return createClasses("all",e)}function loadFromCache(){const e=localStorage.getItem(C);return e&&JSON.parse(e)}function loadFromTlSchemas(){const[e,r]=extractParams(A);const[n,s]=extractParams(h);const i=[].concat(e,n);const o=[].concat(r,s);return[].concat(i,o)}function extractParams(e){const r=g(e,109);const n=[];const s=[];for(const e of r){e.isFunction?s.push(e):n.push(e)}return[n,s]}function argToBytes(e,r,n,s){switch(r){case"int":const r=Buffer.alloc(4);r.writeInt32LE(e,0);return r;case"long":return E(e,8);case"int128":return E(e,16);case"int256":return E(e,32);case"double":const i=Buffer.alloc(8);i.writeDoubleLE(e,0);return i;case"string":return m(e);case"Bool":return e?Buffer.from("b5757299","hex"):Buffer.from("379779bc","hex");case"true":return Buffer.alloc(0);case"bytes":return m(e);case"date":return y(e);default:if(e===undefined||typeof e.getBytes!=="function"){throw new Error(`Required object ${n} of ${s} is undefined`)}return e.getBytes()}}async function getInputFromResolve(e,r,n,s){switch(s){case"InputPeer":return e.getInputPeer(await r.getInputEntity(n));case"InputChannel":return e.getInputChannel(await r.getInputEntity(n));case"InputUser":return e.getInputUser(await r.getInputEntity(n));case"InputDialogPeer":return await r._getInputDialog(n);case"InputNotifyPeer":return await r._getInputNotify(n);case"InputMedia":return e.getInputMedia(n);case"InputPhoto":return e.getInputPhoto(n);case"InputMessage":return e.getInputMessage(n);case"InputDocument":return e.getInputDocument(n);case"InputChatPhoto":return e.getInputChatPhoto(n);case"chatId,int":return await r.getPeerId(n,false);default:throw new Error("unsupported peer type : "+s)}}function getArgFromReader(e,r){if(r.isVector){if(r.useVectorId){e.readInt()}const n=[];const s=e.readInt();r.isVector=false;for(let i=0;iargToBytes(r,c[e].type,m)))))}else if(c[e].flagIndicator){if(!Object.values(c).some((e=>e.isFlag))){n.push(Buffer.alloc(4))}else{let r=0;for(const n in c){if(c[n].isFlag&&e===c[n].flagName){if(this[n]===false&&c[n].type!=="Bool"||this[n]===undefined||this[n]===null){r|=0}else{r|=1</);if(r){e.readInt();const n=[];const s=e.readInt();if(r[1]==="int"){for(let r=0;r{e.exports=`boolFalse#bc799737 = Bool;\nboolTrue#997275b5 = Bool;\ntrue#3fedd339 = True;\nvector#1cb5c415 {t:Type} # [ t ] = Vector t;\nerror#c4b9f9bb code:int text:string = Error;\nnull#56730bcc = Null;\ninputPeerEmpty#7f3b18ea = InputPeer;\ninputPeerSelf#7da07ec9 = InputPeer;\ninputPeerChat#35a95cb9 chat_id:long = InputPeer;\ninputPeerUser#dde8a54c user_id:long access_hash:long = InputPeer;\ninputPeerChannel#27bcbbfc channel_id:long access_hash:long = InputPeer;\ninputPeerUserFromMessage#a87b0a1c peer:InputPeer msg_id:int user_id:long = InputPeer;\ninputPeerChannelFromMessage#bd2a0840 peer:InputPeer msg_id:int channel_id:long = InputPeer;\ninputUserEmpty#b98886cf = InputUser;\ninputUserSelf#f7c1b13f = InputUser;\ninputUser#f21158c6 user_id:long access_hash:long = InputUser;\ninputUserFromMessage#1da448e2 peer:InputPeer msg_id:int user_id:long = InputUser;\ninputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;\ninputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;\ninputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;\ninputMediaEmpty#9664f57f = InputMedia;\ninputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2?true file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia;\ninputMediaPhoto#b3ba0635 flags:# spoiler:flags.1?true id:InputPhoto ttl_seconds:flags.0?int = InputMedia;\ninputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;\ninputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia;\ninputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true force_file:flags.4?true spoiler:flags.5?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia;\ninputMediaDocument#33473058 flags:# spoiler:flags.2?true id:InputDocument ttl_seconds:flags.0?int query:flags.1?string = InputMedia;\ninputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia;\ninputMediaPhotoExternal#e5bbfe1a flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int = InputMedia;\ninputMediaDocumentExternal#fb52dc99 flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int = InputMedia;\ninputMediaGame#d33f43f3 id:InputGame = InputMedia;\ninputMediaInvoice#405fef0d flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:flags.3?string provider_data:DataJSON start_param:flags.1?string extended_media:flags.2?InputMedia = InputMedia;\ninputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMedia;\ninputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector solution:flags.1?string solution_entities:flags.1?Vector = InputMedia;\ninputMediaDice#e66fbf7b emoticon:string = InputMedia;\ninputMediaStory#89fdd778 peer:InputPeer id:int = InputMedia;\ninputMediaWebPage#c21b8849 flags:# force_large_media:flags.0?true force_small_media:flags.1?true optional:flags.2?true url:string = InputMedia;\ninputMediaPaidMedia#aa661fc3 stars_amount:long extended_media:Vector = InputMedia;\ninputChatPhotoEmpty#1ca48f57 = InputChatPhoto;\ninputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;\ninputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;\ninputGeoPointEmpty#e4c123d6 = InputGeoPoint;\ninputGeoPoint#48222faf flags:# lat:double long:double accuracy_radius:flags.0?int = InputGeoPoint;\ninputPhotoEmpty#1cd7bf0d = InputPhoto;\ninputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto;\ninputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation;\ninputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;\ninputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;\ninputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation;\ninputTakeoutFileLocation#29be5899 = InputFileLocation;\ninputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;\ninputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation;\ninputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;\ninputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation;\ninputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0?int video_quality:flags.0?int = InputFileLocation;\npeerUser#59511722 user_id:long = Peer;\npeerChat#36c6019a chat_id:long = Peer;\npeerChannel#a2a5371e channel_id:long = Peer;\nstorage.fileUnknown#aa963b05 = storage.FileType;\nstorage.filePartial#40bc6f52 = storage.FileType;\nstorage.fileJpeg#7efe0e = storage.FileType;\nstorage.fileGif#cae1aadf = storage.FileType;\nstorage.filePng#a4f63c0 = storage.FileType;\nstorage.filePdf#ae1e508d = storage.FileType;\nstorage.fileMp3#528a0677 = storage.FileType;\nstorage.fileMov#4b09ebbc = storage.FileType;\nstorage.fileMp4#b3cea0e4 = storage.FileType;\nstorage.fileWebp#1081464c = storage.FileType;\nuserEmpty#d3bc4b7a id:long = User;\nuser#215c4438 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true bot_business:flags2.11?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector stories_max_id:flags2.5?int color:flags2.8?PeerColor profile_color:flags2.9?PeerColor = User;\nuserProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;\nuserProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;\nuserStatusEmpty#9d05049 = UserStatus;\nuserStatusOnline#edb93949 expires:int = UserStatus;\nuserStatusOffline#8c703f was_online:int = UserStatus;\nuserStatusRecently#7b197dc8 flags:# by_me:flags.0?true = UserStatus;\nuserStatusLastWeek#541a1d1a flags:# by_me:flags.0?true = UserStatus;\nuserStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus;\nchatEmpty#29562865 id:long = Chat;\nchat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;\nchatForbidden#6592a1a7 id:long title:string = Chat;\nchannel#aadfc8f flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int = Chat;\nchannelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;\nchatFull#2633421b flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector available_reactions:flags.18?ChatReactions reactions_limit:flags.20?int = ChatFull;\nchannelFull#bbab348d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull;\nchatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant;\nchatParticipantCreator#e46bcee4 user_id:long = ChatParticipant;\nchatParticipantAdmin#a0933f5b user_id:long inviter_id:long date:int = ChatParticipant;\nchatParticipantsForbidden#8763d3e1 flags:# chat_id:long self_participant:flags.0?ChatParticipant = ChatParticipants;\nchatParticipants#3cbc93f8 chat_id:long participants:Vector version:int = ChatParticipants;\nchatPhotoEmpty#37c1011c = ChatPhoto;\nchatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;\nmessageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;\nmessage#94345242 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true flags2:# offline:flags2.1?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck = Message;\nmessageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;\nmessageMediaEmpty#3ded6320 = MessageMedia;\nmessageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia;\nmessageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;\nmessageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia;\nmessageMediaUnsupported#9f84f49e = MessageMedia;\nmessageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;\nmessageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;\nmessageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;\nmessageMediaGame#fdb19008 game:Game = MessageMedia;\nmessageMediaInvoice#f6a548d3 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string extended_media:flags.4?MessageExtendedMedia = MessageMedia;\nmessageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMedia;\nmessageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia;\nmessageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia;\nmessageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;\nmessageMediaGiveaway#daad85b0 flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.2?true channels:Vector countries_iso2:flags.1?Vector prize_description:flags.3?string quantity:int months:int until_date:int = MessageMedia;\nmessageMediaGiveawayResults#c6991068 flags:# only_new_subscribers:flags.0?true refunded:flags.2?true channel_id:long additional_peers_count:flags.3?int launch_msg_id:int winners_count:int unclaimed_count:int winners:Vector months:int prize_description:flags.1?string until_date:int = MessageMedia;\nmessageMediaPaidMedia#a8852491 stars_amount:long extended_media:Vector = MessageMedia;\nmessageActionEmpty#b6aef7b0 = MessageAction;\nmessageActionChatCreate#bd47cbad title:string users:Vector = MessageAction;\nmessageActionChatEditTitle#b5a1ce5a title:string = MessageAction;\nmessageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;\nmessageActionChatDeletePhoto#95e3fbef = MessageAction;\nmessageActionChatAddUser#15cefd00 users:Vector = MessageAction;\nmessageActionChatDeleteUser#a43f30cc user_id:long = MessageAction;\nmessageActionChatJoinedByLink#31224c3 inviter_id:long = MessageAction;\nmessageActionChannelCreate#95d2ac92 title:string = MessageAction;\nmessageActionChatMigrateTo#e1037f92 channel_id:long = MessageAction;\nmessageActionChannelMigrateFrom#ea3948e9 title:string chat_id:long = MessageAction;\nmessageActionPinMessage#94bd38ed = MessageAction;\nmessageActionHistoryClear#9fbab604 = MessageAction;\nmessageActionGameScore#92a72876 game_id:long score:int = MessageAction;\nmessageActionPaymentSentMe#8f31b327 flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction;\nmessageActionPaymentSent#96163f56 flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long invoice_slug:flags.0?string = MessageAction;\nmessageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;\nmessageActionScreenshotTaken#4792929b = MessageAction;\nmessageActionCustomAction#fae69f56 message:string = MessageAction;\nmessageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageAction;\nmessageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction;\nmessageActionSecureValuesSent#d95c6154 types:Vector = MessageAction;\nmessageActionContactSignUp#f3f25f76 = MessageAction;\nmessageActionGeoProximityReached#98e0d697 from_id:Peer to_id:Peer distance:int = MessageAction;\nmessageActionGroupCall#7a0d7f42 flags:# call:InputGroupCall duration:flags.0?int = MessageAction;\nmessageActionInviteToGroupCall#502f92f7 call:InputGroupCall users:Vector = MessageAction;\nmessageActionSetMessagesTTL#3c134d7b flags:# period:int auto_setting_from:flags.0?long = MessageAction;\nmessageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;\nmessageActionSetChatTheme#aa786345 emoticon:string = MessageAction;\nmessageActionChatJoinedByRequest#ebbca3cb = MessageAction;\nmessageActionWebViewDataSentMe#47dd8079 text:string data:string = MessageAction;\nmessageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;\nmessageActionGiftPremium#c83d6aec flags:# currency:string amount:long months:int crypto_currency:flags.0?string crypto_amount:flags.0?long = MessageAction;\nmessageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;\nmessageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction;\nmessageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction;\nmessageActionRequestedPeer#31518e9b button_id:int peers:Vector = MessageAction;\nmessageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction;\nmessageActionGiftCode#678c2e09 flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string currency:flags.2?string amount:flags.2?long crypto_currency:flags.3?string crypto_amount:flags.3?long = MessageAction;\nmessageActionGiveawayLaunch#332ba9ed = MessageAction;\nmessageActionGiveawayResults#2a9fadc5 winners_count:int unclaimed_count:int = MessageAction;\nmessageActionBoostApply#cc02aa6d boosts:int = MessageAction;\nmessageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector = MessageAction;\nmessageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;\ndialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;\ndialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;\nphotoEmpty#2331b22d id:long = Photo;\nphoto#fb197a65 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector video_sizes:flags.1?Vector dc_id:int = Photo;\nphotoSizeEmpty#e17e23c type:string = PhotoSize;\nphotoSize#75c78e60 type:string w:int h:int size:int = PhotoSize;\nphotoCachedSize#21e1ad6 type:string w:int h:int bytes:bytes = PhotoSize;\nphotoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize;\nphotoSizeProgressive#fa3efb95 type:string w:int h:int sizes:Vector = PhotoSize;\nphotoPathSize#d8214d41 type:string bytes:bytes = PhotoSize;\ngeoPointEmpty#1117dd5f = GeoPoint;\ngeoPoint#b2a2f663 flags:# long:double lat:double access_hash:long accuracy_radius:flags.0?int = GeoPoint;\nauth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;\nauth.sentCodeSuccess#2390fe44 authorization:auth.Authorization = auth.SentCode;\nauth.authorization#2ea2c0d4 flags:# setup_password_required:flags.1?true otherwise_relogin_days:flags.1?int tmp_sessions:flags.0?int future_auth_token:flags.2?bytes user:User = auth.Authorization;\nauth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization;\nauth.exportedAuthorization#b434e2b8 id:long bytes:bytes = auth.ExportedAuthorization;\ninputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;\ninputNotifyUsers#193b4417 = InputNotifyPeer;\ninputNotifyChats#4a95e84e = InputNotifyPeer;\ninputNotifyBroadcasts#b1db7c7e = InputNotifyPeer;\ninputNotifyForumTopic#5c467992 peer:InputPeer top_msg_id:int = InputNotifyPeer;\ninputPeerNotifySettings#cacb6ae2 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_sound:flags.8?NotificationSound = InputPeerNotifySettings;\npeerNotifySettings#99622c0c flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int ios_sound:flags.3?NotificationSound android_sound:flags.4?NotificationSound other_sound:flags.5?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_ios_sound:flags.8?NotificationSound stories_android_sound:flags.9?NotificationSound stories_other_sound:flags.10?NotificationSound = PeerNotifySettings;\npeerSettings#acd66c5e flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true autoarchived:flags.7?true invite_members:flags.8?true request_chat_broadcast:flags.10?true business_bot_paused:flags.11?true business_bot_can_reply:flags.12?true geo_distance:flags.6?int request_chat_title:flags.9?string request_chat_date:flags.9?int business_bot_id:flags.13?long business_bot_manage_url:flags.13?string = PeerSettings;\nwallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper;\nwallPaperNoFile#e0804116 id:long flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;\ninputReportReasonSpam#58dbcab8 = ReportReason;\ninputReportReasonViolence#1e22c78d = ReportReason;\ninputReportReasonPornography#2e59d922 = ReportReason;\ninputReportReasonChildAbuse#adf44ee3 = ReportReason;\ninputReportReasonOther#c1e4a2b1 = ReportReason;\ninputReportReasonCopyright#9b89f93a = ReportReason;\ninputReportReasonGeoIrrelevant#dbd4feed = ReportReason;\ninputReportReasonFake#f5ddd6e7 = ReportReason;\ninputReportReasonIllegalDrugs#a8eb2be = ReportReason;\ninputReportReasonPersonalDetails#9ec7863d = ReportReason;\nuserFull#cc997720 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int = UserFull;\ncontact#145ade0b user_id:long mutual:Bool = Contact;\nimportedContact#c13e3c50 user_id:long client_id:long = ImportedContact;\ncontactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;\ncontacts.contactsNotModified#b74ba9d2 = contacts.Contacts;\ncontacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts;\ncontacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts;\ncontacts.blocked#ade1591 blocked:Vector chats:Vector users:Vector = contacts.Blocked;\ncontacts.blockedSlice#e1664194 count:int blocked:Vector chats:Vector users:Vector = contacts.Blocked;\nmessages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs;\nmessages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs;\nmessages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs;\nmessages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages;\nmessages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector chats:Vector users:Vector = messages.Messages;\nmessages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector topics:Vector chats:Vector users:Vector = messages.Messages;\nmessages.messagesNotModified#74535f21 count:int = messages.Messages;\nmessages.chats#64ff9fd5 chats:Vector = messages.Chats;\nmessages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats;\nmessages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull;\nmessages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;\ninputMessagesFilterEmpty#57e2f66c = MessagesFilter;\ninputMessagesFilterPhotos#9609a51c = MessagesFilter;\ninputMessagesFilterVideo#9fc00e65 = MessagesFilter;\ninputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter;\ninputMessagesFilterDocument#9eddf188 = MessagesFilter;\ninputMessagesFilterUrl#7ef0dd87 = MessagesFilter;\ninputMessagesFilterGif#ffc86587 = MessagesFilter;\ninputMessagesFilterVoice#50f5c392 = MessagesFilter;\ninputMessagesFilterMusic#3751b49e = MessagesFilter;\ninputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;\ninputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter;\ninputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;\ninputMessagesFilterRoundVideo#b549da53 = MessagesFilter;\ninputMessagesFilterMyMentions#c1f8e69a = MessagesFilter;\ninputMessagesFilterGeo#e7026d0d = MessagesFilter;\ninputMessagesFilterContacts#e062db83 = MessagesFilter;\ninputMessagesFilterPinned#1bb00451 = MessagesFilter;\nupdateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;\nupdateMessageID#4e90bfd6 id:int random_id:long = Update;\nupdateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update;\nupdateUserTyping#c01e857f user_id:long action:SendMessageAction = Update;\nupdateChatUserTyping#83487af0 chat_id:long from_id:Peer action:SendMessageAction = Update;\nupdateChatParticipants#7761198 participants:ChatParticipants = Update;\nupdateUserStatus#e5bdf8de user_id:long status:UserStatus = Update;\nupdateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector = Update;\nupdateNewAuthorization#8951abef flags:# unconfirmed:flags.0?true hash:long date:flags.0?int device:flags.0?string location:flags.0?string = Update;\nupdateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;\nupdateEncryptedChatTyping#1710f156 chat_id:int = Update;\nupdateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;\nupdateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;\nupdateChatParticipantAdd#3dda5451 chat_id:long user_id:long inviter_id:long date:int version:int = Update;\nupdateChatParticipantDelete#e32f3d77 chat_id:long user_id:long version:int = Update;\nupdateDcOptions#8e5e9873 dc_options:Vector = Update;\nupdateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;\nupdateServiceNotification#ebe46819 flags:# popup:flags.0?true invert_media:flags.2?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update;\nupdatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update;\nupdateUserPhone#5492a13 user_id:long phone:string = Update;\nupdateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update;\nupdateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;\nupdateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;\nupdateReadMessagesContents#f8227181 flags:# messages:Vector pts:int pts_count:int date:flags.0?int = Update;\nupdateChannelTooLong#108d941f flags:# channel_id:long pts:flags.0?int = Update;\nupdateChannel#635b4c09 channel_id:long = Update;\nupdateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;\nupdateReadChannelInbox#922e6e10 flags:# folder_id:flags.0?int channel_id:long max_id:int still_unread_count:int pts:int = Update;\nupdateDeleteChannelMessages#c32d5b12 channel_id:long messages:Vector pts:int pts_count:int = Update;\nupdateChannelMessageViews#f226ac08 channel_id:long id:int views:int = Update;\nupdateChatParticipantAdmin#d7ca61a2 chat_id:long user_id:long is_admin:Bool version:int = Update;\nupdateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;\nupdateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true emojis:flags.1?true order:Vector = Update;\nupdateStickerSets#31c24808 flags:# masks:flags.0?true emojis:flags.1?true = Update;\nupdateSavedGifs#9375341e = Update;\nupdateBotInlineQuery#496f379c flags:# query_id:long user_id:long query:string geo:flags.0?GeoPoint peer_type:flags.1?InlineQueryPeerType offset:string = Update;\nupdateBotInlineSend#12f12a07 flags:# user_id:long query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;\nupdateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;\nupdateBotCallbackQuery#b9cfc48d flags:# query_id:long user_id:long peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;\nupdateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;\nupdateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;\nupdateReadChannelOutbox#b75f99a9 channel_id:long max_id:int = Update;\nupdateDraftMessage#1b49ec6d flags:# peer:Peer top_msg_id:flags.0?int draft:DraftMessage = Update;\nupdateReadFeaturedStickers#571d2742 = Update;\nupdateRecentStickers#9a422c20 = Update;\nupdateConfig#a229dd06 = Update;\nupdatePtsChanged#3354678f = Update;\nupdateChannelWebPage#2f2ba99f channel_id:long webpage:WebPage pts:int pts_count:int = Update;\nupdateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update;\nupdatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update;\nupdateBotWebhookJSON#8317c0c3 data:DataJSON = Update;\nupdateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;\nupdateBotShippingQuery#b5aefd7d query_id:long user_id:long payload:bytes shipping_address:PostAddress = Update;\nupdateBotPrecheckoutQuery#8caa9a96 flags:# query_id:long user_id:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;\nupdatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;\nupdateLangPackTooLong#46560264 lang_code:string = Update;\nupdateLangPack#56022f4d difference:LangPackDifference = Update;\nupdateFavedStickers#e511996d = Update;\nupdateChannelReadMessagesContents#ea29055d flags:# channel_id:long top_msg_id:flags.0?int messages:Vector = Update;\nupdateContactsReset#7084a7be = Update;\nupdateChannelAvailableMessages#b23fc698 channel_id:long available_min_id:int = Update;\nupdateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update;\nupdateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update;\nupdateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update;\nupdateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update;\nupdatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;\nupdatePeerLocated#b4afcfb0 peers:Vector = Update;\nupdateNewScheduledMessage#39a51dfb message:Message = Update;\nupdateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update;\nupdateTheme#8216fba3 theme:Theme = Update;\nupdateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;\nupdateLoginToken#564fe691 = Update;\nupdateMessagePollVote#24f40e77 poll_id:long peer:Peer options:Vector qts:int = Update;\nupdateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update;\nupdateDialogFilterOrder#a5d72105 order:Vector = Update;\nupdateDialogFilters#3504914f = Update;\nupdatePhoneCallSignalingData#2661bf09 phone_call_id:long data:bytes = Update;\nupdateChannelMessageForwards#d29a27f4 channel_id:long id:int forwards:int = Update;\nupdateReadChannelDiscussionInbox#d6b19546 flags:# channel_id:long top_msg_id:int read_max_id:int broadcast_id:flags.0?long broadcast_post:flags.0?int = Update;\nupdateReadChannelDiscussionOutbox#695c9e7c channel_id:long top_msg_id:int read_max_id:int = Update;\nupdatePeerBlocked#ebe07752 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer = Update;\nupdateChannelUserTyping#8c88c923 flags:# channel_id:long top_msg_id:flags.0?int from_id:Peer action:SendMessageAction = Update;\nupdatePinnedMessages#ed85eab5 flags:# pinned:flags.0?true peer:Peer messages:Vector pts:int pts_count:int = Update;\nupdatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector pts:int pts_count:int = Update;\nupdateChat#f89a6a4e chat_id:long = Update;\nupdateGroupCallParticipants#f2ebdb4e call:InputGroupCall participants:Vector version:int = Update;\nupdateGroupCall#14b24500 chat_id:long call:GroupCall = Update;\nupdatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0?int = Update;\nupdateChatParticipant#d087663a flags:# chat_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChatParticipant new_participant:flags.1?ChatParticipant invite:flags.2?ExportedChatInvite qts:int = Update;\nupdateChannelParticipant#985d3abb flags:# via_chatlist:flags.3?true channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;\nupdateBotStopped#c4870a49 user_id:long date:int stopped:Bool qts:int = Update;\nupdateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJSON = Update;\nupdateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector = Update;\nupdatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector = Update;\nupdateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update;\nupdateMessageReactions#5e1b3cb8 flags:# peer:Peer msg_id:int top_msg_id:flags.0?int reactions:MessageReactions = Update;\nupdateAttachMenuBots#17b7a20b = Update;\nupdateWebViewResultSent#1592b79d query_id:long = Update;\nupdateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update;\nupdateSavedRingtones#74d8be99 = Update;\nupdateTranscribedAudio#84cd5a flags:# pending:flags.0?true peer:Peer msg_id:int transcription_id:long text:string = Update;\nupdateReadFeaturedEmojiStickers#fb4c496c = Update;\nupdateUserEmojiStatus#28373599 user_id:long emoji_status:EmojiStatus = Update;\nupdateRecentEmojiStatuses#30f443db = Update;\nupdateRecentReactions#6f7863f4 = Update;\nupdateMoveStickerSetToTop#86fccf85 flags:# masks:flags.0?true emojis:flags.1?true stickerset:long = Update;\nupdateMessageExtendedMedia#d5a41724 peer:Peer msg_id:int extended_media:Vector = Update;\nupdateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0?true channel_id:long topic_id:int = Update;\nupdateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0?Vector = Update;\nupdateUser#20529438 user_id:long = Update;\nupdateAutoSaveSettings#ec05b097 = Update;\nupdateStory#75b3b798 peer:Peer story:StoryItem = Update;\nupdateReadStories#f74e932b peer:Peer max_id:int = Update;\nupdateStoryID#1bf335b9 id:int random_id:long = Update;\nupdateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update;\nupdateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update;\nupdateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = Update;\nupdateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update;\nupdatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update;\nupdateBotMessageReaction#ac21d3ce peer:Peer msg_id:int date:int actor:Peer old_reactions:Vector new_reactions:Vector qts:int = Update;\nupdateBotMessageReactions#9cb7759 peer:Peer msg_id:int date:int reactions:Vector qts:int = Update;\nupdateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = Update;\nupdatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector = Update;\nupdateSavedReactionTags#39c67432 = Update;\nupdateSmsJob#f16269d4 job_id:string = Update;\nupdateQuickReplies#f9470ab2 quick_replies:Vector = Update;\nupdateNewQuickReply#f53da717 quick_reply:QuickReply = Update;\nupdateDeleteQuickReply#53e6f1ec shortcut_id:int = Update;\nupdateQuickReplyMessage#3e050d0f message:Message = Update;\nupdateDeleteQuickReplyMessages#566fe7cd shortcut_id:int messages:Vector = Update;\nupdateBotBusinessConnect#8ae5c97a connection:BotBusinessConnection qts:int = Update;\nupdateBotNewBusinessMessage#9ddb347c flags:# connection_id:string message:Message reply_to_message:flags.0?Message qts:int = Update;\nupdateBotEditBusinessMessage#7df587c flags:# connection_id:string message:Message reply_to_message:flags.0?Message qts:int = Update;\nupdateBotDeleteBusinessMessage#a02a982e connection_id:string peer:Peer messages:Vector qts:int = Update;\nupdateNewStoryReaction#1824e40b story_id:int peer:Peer reaction:Reaction = Update;\nupdateBroadcastRevenueTransactions#dfd961f5 peer:Peer balances:BroadcastRevenueBalances = Update;\nupdateStarsBalance#fb85198 balance:long = Update;\nupdateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long connection_id:string message:Message reply_to_message:flags.2?Message chat_instance:long data:flags.0?bytes = Update;\nupdateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;\nupdates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;\nupdates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;\nupdates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference;\nupdates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference;\nupdates.differenceTooLong#4afe8f6d pts:int = updates.Difference;\nupdatesTooLong#e317af7e = Updates;\nupdateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector ttl_period:flags.25?int = Updates;\nupdateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector ttl_period:flags.25?int = Updates;\nupdateShort#78d4dec1 update:Update date:int = Updates;\nupdatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates;\nupdates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates;\nupdateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector ttl_period:flags.25?int = Updates;\nphotos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos;\nphotos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos;\nphotos.photo#20212ca8 photo:Photo users:Vector = photos.Photo;\nupload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;\nupload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File;\ndcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true this_port_only:flags.5?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption;\nconfig#cc1a241e flags:# default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true force_try_ipv6:flags.14?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int channels_read_media_period:int tmp_sessions:flags.0?int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int reactions_default:flags.15?Reaction autologin_token:flags.16?string = Config;\nnearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;\nhelp.appUpdate#ccbbce30 flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string sticker:flags.3?Document = help.AppUpdate;\nhelp.noAppUpdate#c45a6536 = help.AppUpdate;\nhelp.inviteText#18cb9f78 message:string = help.InviteText;\nencryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;\nencryptedChatWaiting#66b25953 id:int access_hash:long date:int admin_id:long participant_id:long = EncryptedChat;\nencryptedChatRequested#48f1d94c flags:# folder_id:flags.0?int id:int access_hash:long date:int admin_id:long participant_id:long g_a:bytes = EncryptedChat;\nencryptedChat#61f0d4c7 id:int access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long = EncryptedChat;\nencryptedChatDiscarded#1e1c7c45 flags:# history_deleted:flags.0?true id:int = EncryptedChat;\ninputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat;\nencryptedFileEmpty#c21f497e = EncryptedFile;\nencryptedFile#a8008cd8 id:long access_hash:long size:long dc_id:int key_fingerprint:int = EncryptedFile;\ninputEncryptedFileEmpty#1837c364 = InputEncryptedFile;\ninputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;\ninputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile;\ninputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;\nencryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;\nencryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;\nmessages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;\nmessages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;\nmessages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;\nmessages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;\ninputDocumentEmpty#72f0eaae = InputDocument;\ninputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument;\ndocumentEmpty#36f8c871 id:long = Document;\ndocument#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector video_thumbs:flags.1?Vector dc_id:int attributes:Vector = Document;\nhelp.support#17c6b5f6 phone_number:string user:User = help.Support;\nnotifyPeer#9fd40bd8 peer:Peer = NotifyPeer;\nnotifyUsers#b4c83b4c = NotifyPeer;\nnotifyChats#c007cec3 = NotifyPeer;\nnotifyBroadcasts#d612e8ef = NotifyPeer;\nnotifyForumTopic#226e6308 peer:Peer top_msg_id:int = NotifyPeer;\nsendMessageTypingAction#16bf744e = SendMessageAction;\nsendMessageCancelAction#fd5ec8f5 = SendMessageAction;\nsendMessageRecordVideoAction#a187d66f = SendMessageAction;\nsendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction;\nsendMessageRecordAudioAction#d52f73f7 = SendMessageAction;\nsendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction;\nsendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;\nsendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;\nsendMessageGeoLocationAction#176f8ba1 = SendMessageAction;\nsendMessageChooseContactAction#628cbc6f = SendMessageAction;\nsendMessageGamePlayAction#dd6a8f48 = SendMessageAction;\nsendMessageRecordRoundAction#88f27fbc = SendMessageAction;\nsendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;\nspeakingInGroupCallAction#d92c2285 = SendMessageAction;\nsendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;\nsendMessageChooseStickerAction#b05ac6b1 = SendMessageAction;\nsendMessageEmojiInteraction#25972bcb emoticon:string msg_id:int interaction:DataJSON = SendMessageAction;\nsendMessageEmojiInteractionSeen#b665902e emoticon:string = SendMessageAction;\ncontacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found;\ninputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;\ninputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey;\ninputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;\ninputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey;\ninputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey;\ninputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey;\ninputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey;\ninputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey;\ninputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;\ninputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;\ninputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;\nprivacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;\nprivacyKeyChatInvite#500e6dfa = PrivacyKey;\nprivacyKeyPhoneCall#3d662b7b = PrivacyKey;\nprivacyKeyPhoneP2P#39491cc8 = PrivacyKey;\nprivacyKeyForwards#69ec56a3 = PrivacyKey;\nprivacyKeyProfilePhoto#96151fed = PrivacyKey;\nprivacyKeyPhoneNumber#d19ae46d = PrivacyKey;\nprivacyKeyAddedByPhone#42ffd42b = PrivacyKey;\nprivacyKeyVoiceMessages#697f414 = PrivacyKey;\nprivacyKeyAbout#a486b761 = PrivacyKey;\nprivacyKeyBirthday#2000a518 = PrivacyKey;\ninputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;\ninputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;\ninputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule;\ninputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;\ninputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;\ninputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule;\ninputPrivacyValueAllowChatParticipants#840649cf chats:Vector = InputPrivacyRule;\ninputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector = InputPrivacyRule;\ninputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;\ninputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;\nprivacyValueAllowContacts#fffe1bac = PrivacyRule;\nprivacyValueAllowAll#65427b82 = PrivacyRule;\nprivacyValueAllowUsers#b8905fb2 users:Vector = PrivacyRule;\nprivacyValueDisallowContacts#f888fa1a = PrivacyRule;\nprivacyValueDisallowAll#8b73e763 = PrivacyRule;\nprivacyValueDisallowUsers#e4621141 users:Vector = PrivacyRule;\nprivacyValueAllowChatParticipants#6b134e8e chats:Vector = PrivacyRule;\nprivacyValueDisallowChatParticipants#41c87565 chats:Vector = PrivacyRule;\nprivacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;\nprivacyValueAllowPremium#ece9814b = PrivacyRule;\naccount.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules;\naccountDaysTTL#b8d0afdf days:int = AccountDaysTTL;\ndocumentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;\ndocumentAttributeAnimated#11b58939 = DocumentAttribute;\ndocumentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;\ndocumentAttributeVideo#d38ff1c2 flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int = DocumentAttribute;\ndocumentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;\ndocumentAttributeFilename#15590068 file_name:string = DocumentAttribute;\ndocumentAttributeHasStickers#9801d2f7 = DocumentAttribute;\ndocumentAttributeCustomEmoji#fd149899 flags:# free:flags.0?true text_color:flags.1?true alt:string stickerset:InputStickerSet = DocumentAttribute;\nmessages.stickersNotModified#f1749a22 = messages.Stickers;\nmessages.stickers#30a6ec7e hash:long stickers:Vector = messages.Stickers;\nstickerPack#12b299d4 emoticon:string documents:Vector = StickerPack;\nmessages.allStickersNotModified#e86602c3 = messages.AllStickers;\nmessages.allStickers#cdbbcebb hash:long sets:Vector = messages.AllStickers;\nmessages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;\nwebPageEmpty#211a1788 flags:# id:long url:flags.0?string = WebPage;\nwebPagePending#b0d13e47 flags:# id:long url:flags.0?string date:int = WebPage;\nwebPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage;\nwebPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;\nauthorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true encrypted_requests_disabled:flags.3?true call_requests_disabled:flags.4?true unconfirmed:flags.5?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;\naccount.authorizations#4bff8ea0 authorization_ttl_days:int authorizations:Vector = account.Authorizations;\naccount.password#957b50fb flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes pending_reset_date:flags.5?int login_email_pattern:flags.6?string = account.Password;\naccount.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings;\naccount.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings;\nauth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;\nreceivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;\nchatInviteExported#ab4a819 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int title:flags.8?string = ExportedChatInvite;\nchatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite;\nchatInviteAlready#5a686d7c chat:Chat = ChatInvite;\nchatInvite#cde0ec40 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector color:int = ChatInvite;\nchatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;\ninputStickerSetEmpty#ffb62b95 = InputStickerSet;\ninputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;\ninputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;\ninputStickerSetAnimatedEmoji#28703c8 = InputStickerSet;\ninputStickerSetDice#e67f520e emoticon:string = InputStickerSet;\ninputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet;\ninputStickerSetPremiumGifts#c88b3b02 = InputStickerSet;\ninputStickerSetEmojiGenericAnimations#4c4d4ce = InputStickerSet;\ninputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet;\ninputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet;\ninputStickerSetEmojiChannelDefaultStatuses#49748553 = InputStickerSet;\nstickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true emojis:flags.7?true text_color:flags.9?true channel_emoji_status:flags.10?true creator:flags.11?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;\nmessages.stickerSet#6e153f16 set:StickerSet packs:Vector keywords:Vector documents:Vector = messages.StickerSet;\nmessages.stickerSetNotModified#d3f924eb = messages.StickerSet;\nbotCommand#c27ac8c7 command:string description:string = BotCommand;\nbotInfo#8f300b57 flags:# user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector menu_button:flags.3?BotMenuButton = BotInfo;\nkeyboardButton#a2fa4880 text:string = KeyboardButton;\nkeyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;\nkeyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;\nkeyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;\nkeyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;\nkeyboardButtonSwitchInline#93b9fbb5 flags:# same_peer:flags.0?true text:string query:string peer_types:flags.1?Vector = KeyboardButton;\nkeyboardButtonGame#50f41ccf text:string = KeyboardButton;\nkeyboardButtonBuy#afd93fbb text:string = KeyboardButton;\nkeyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton;\ninputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton;\nkeyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton;\ninputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = KeyboardButton;\nkeyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton;\nkeyboardButtonWebView#13767230 text:string url:string = KeyboardButton;\nkeyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton;\nkeyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;\ninputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;\nkeyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow;\nreplyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;\nreplyKeyboardForceReply#86b40b08 flags:# single_use:flags.1?true selective:flags.2?true placeholder:flags.3?string = ReplyMarkup;\nreplyKeyboardMarkup#85dd99d1 flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true persistent:flags.4?true rows:Vector placeholder:flags.3?string = ReplyMarkup;\nreplyInlineMarkup#48a30254 rows:Vector = ReplyMarkup;\nmessageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;\nmessageEntityMention#fa04579d offset:int length:int = MessageEntity;\nmessageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;\nmessageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;\nmessageEntityUrl#6ed02538 offset:int length:int = MessageEntity;\nmessageEntityEmail#64e475c2 offset:int length:int = MessageEntity;\nmessageEntityBold#bd610bc9 offset:int length:int = MessageEntity;\nmessageEntityItalic#826f8b60 offset:int length:int = MessageEntity;\nmessageEntityCode#28a20571 offset:int length:int = MessageEntity;\nmessageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;\nmessageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;\nmessageEntityMentionName#dc7b1140 offset:int length:int user_id:long = MessageEntity;\ninputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;\nmessageEntityPhone#9b69e34b offset:int length:int = MessageEntity;\nmessageEntityCashtag#4c4e743f offset:int length:int = MessageEntity;\nmessageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity;\nmessageEntityStrike#bf0693d4 offset:int length:int = MessageEntity;\nmessageEntityBankCard#761e6af4 offset:int length:int = MessageEntity;\nmessageEntitySpoiler#32ca960f offset:int length:int = MessageEntity;\nmessageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity;\nmessageEntityBlockquote#f1ccaaac flags:# collapsed:flags.0?true offset:int length:int = MessageEntity;\ninputChannelEmpty#ee8c1e86 = InputChannel;\ninputChannel#f35aec28 channel_id:long access_hash:long = InputChannel;\ninputChannelFromMessage#5b934f9d peer:InputPeer msg_id:int channel_id:long = InputChannel;\ncontacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer;\nmessageRange#ae30253 min_id:int max_id:int = MessageRange;\nupdates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference;\nupdates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference;\nupdates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference;\nchannelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;\nchannelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter;\nchannelParticipant#c00c07c0 user_id:long date:int = ChannelParticipant;\nchannelParticipantSelf#35a8bfa7 flags:# via_request:flags.0?true user_id:long inviter_id:long date:int = ChannelParticipant;\nchannelParticipantCreator#2fe601d3 flags:# user_id:long admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant;\nchannelParticipantAdmin#34c3bb53 flags:# can_edit:flags.0?true self:flags.1?true user_id:long inviter_id:flags.1?long promoted_by:long date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant;\nchannelParticipantBanned#6df8014e flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights = ChannelParticipant;\nchannelParticipantLeft#1b03f006 peer:Peer = ChannelParticipant;\nchannelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;\nchannelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;\nchannelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter;\nchannelParticipantsBots#b0d1865b = ChannelParticipantsFilter;\nchannelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter;\nchannelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter;\nchannelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter;\nchannelParticipantsMentions#e04b5ceb flags:# q:flags.0?string top_msg_id:flags.1?int = ChannelParticipantsFilter;\nchannels.channelParticipants#9ab0feaf count:int participants:Vector chats:Vector users:Vector = channels.ChannelParticipants;\nchannels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants;\nchannels.channelParticipant#dfb80317 participant:ChannelParticipant chats:Vector users:Vector = channels.ChannelParticipant;\nhelp.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService;\nmessages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;\nmessages.savedGifs#84a02a0d hash:long gifs:Vector = messages.SavedGifs;\ninputBotInlineMessageMediaAuto#3380c786 flags:# invert_media:flags.3?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageMediaGeo#96929a85 flags:# geo_point:InputGeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageMediaInvoice#d7e78225 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineMessageMediaWebPage#bddcc510 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true optional:flags.6?true message:string entities:flags.1?Vector url:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;\ninputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult;\ninputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;\ninputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;\ninputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;\nbotInlineMessageMediaAuto#764cf810 flags:# invert_media:flags.3?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageMediaInvoice#354a9b09 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument currency:string total_amount:long reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineMessageMediaWebPage#809ad9a6 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true manual:flags.7?true safe:flags.8?true message:string entities:flags.1?Vector url:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;\nbotInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult;\nbotInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;\nmessages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM switch_webview:flags.3?InlineBotWebView results:Vector cache_time:int users:Vector = messages.BotResults;\nexportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink;\nmessageFwdHeader#4e4df4bb flags:# imported:flags.7?true saved_out:flags.11?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int saved_from_id:flags.8?Peer saved_from_name:flags.9?string saved_date:flags.10?int psa_type:flags.6?string = MessageFwdHeader;\nauth.codeTypeSms#72a3158c = auth.CodeType;\nauth.codeTypeCall#741cd3e3 = auth.CodeType;\nauth.codeTypeFlashCall#226ccefb = auth.CodeType;\nauth.codeTypeMissedCall#d61ad6ee = auth.CodeType;\nauth.codeTypeFragmentSms#6ed998c = auth.CodeType;\nauth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;\nauth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;\nauth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;\nauth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;\nauth.sentCodeTypeMissedCall#82006484 prefix:string length:int = auth.SentCodeType;\nauth.sentCodeTypeEmailCode#f450f59b flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int reset_available_period:flags.3?int reset_pending_date:flags.4?int = auth.SentCodeType;\nauth.sentCodeTypeSetUpEmailRequired#a5491dea flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true = auth.SentCodeType;\nauth.sentCodeTypeFragmentSms#d9565c39 url:string length:int = auth.SentCodeType;\nauth.sentCodeTypeFirebaseSms#9fd736 flags:# nonce:flags.0?bytes play_integrity_project_id:flags.2?long play_integrity_nonce:flags.2?bytes receipt:flags.1?string push_timeout:flags.1?int length:int = auth.SentCodeType;\nauth.sentCodeTypeSmsWord#a416ac81 flags:# beginning:flags.0?string = auth.SentCodeType;\nauth.sentCodeTypeSmsPhrase#b37794af flags:# beginning:flags.0?string = auth.SentCodeType;\nmessages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer;\nmessages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData;\ninputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID;\ninputBotInlineMessageID64#b6d915d7 dc_id:int owner_id:long id:int access_hash:long = InputBotInlineMessageID;\ninlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;\nmessages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs;\ntopPeer#edcdc05b peer:Peer rating:double = TopPeer;\ntopPeerCategoryBotsPM#ab661b5b = TopPeerCategory;\ntopPeerCategoryBotsInline#148677e2 = TopPeerCategory;\ntopPeerCategoryCorrespondents#637b7ed = TopPeerCategory;\ntopPeerCategoryGroups#bd17a14a = TopPeerCategory;\ntopPeerCategoryChannels#161d9628 = TopPeerCategory;\ntopPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory;\ntopPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory;\ntopPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory;\ntopPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers;\ncontacts.topPeersNotModified#de266ef5 = contacts.TopPeers;\ncontacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers;\ncontacts.topPeersDisabled#b52c939d = contacts.TopPeers;\ndraftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;\ndraftMessage#2d65321f flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo message:string entities:flags.3?Vector media:flags.5?InputMedia date:int effect:flags.7?long = DraftMessage;\nmessages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers;\nmessages.featuredStickers#be382906 flags:# premium:flags.0?true hash:long count:int sets:Vector unread:Vector = messages.FeaturedStickers;\nmessages.recentStickersNotModified#b17f890 = messages.RecentStickers;\nmessages.recentStickers#88d37c56 hash:long packs:Vector stickers:Vector dates:Vector = messages.RecentStickers;\nmessages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers;\nmessages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;\nmessages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult;\nstickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;\nstickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered;\nstickerSetFullCovered#40d13c0e set:StickerSet packs:Vector keywords:Vector documents:Vector = StickerSetCovered;\nstickerSetNoCovered#77b15d1c set:StickerSet = StickerSetCovered;\nmaskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords;\ninputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia;\ninputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia;\ngame#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game;\ninputGameID#32c3e77 id:long access_hash:long = InputGame;\ninputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;\nhighScore#73a379eb pos:int user_id:long score:int = HighScore;\nmessages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores;\ntextEmpty#dc3d824f = RichText;\ntextPlain#744694e0 text:string = RichText;\ntextBold#6724abc4 text:RichText = RichText;\ntextItalic#d912a59c text:RichText = RichText;\ntextUnderline#c12622c4 text:RichText = RichText;\ntextStrike#9bf8bb95 text:RichText = RichText;\ntextFixed#6c3f19b9 text:RichText = RichText;\ntextUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText;\ntextEmail#de5a0dd6 text:RichText email:string = RichText;\ntextConcat#7e6260d7 texts:Vector = RichText;\ntextSubscript#ed6a8504 text:RichText = RichText;\ntextSuperscript#c7fb5e01 text:RichText = RichText;\ntextMarked#34b8621 text:RichText = RichText;\ntextPhone#1ccb966a text:RichText phone:string = RichText;\ntextImage#81ccf4f document_id:long w:int h:int = RichText;\ntextAnchor#35553762 text:RichText name:string = RichText;\npageBlockUnsupported#13567e8a = PageBlock;\npageBlockTitle#70abc3fd text:RichText = PageBlock;\npageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;\npageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;\npageBlockHeader#bfd064ec text:RichText = PageBlock;\npageBlockSubheader#f12bb6e1 text:RichText = PageBlock;\npageBlockParagraph#467a0766 text:RichText = PageBlock;\npageBlockPreformatted#c070d93e text:RichText language:string = PageBlock;\npageBlockFooter#48870999 text:RichText = PageBlock;\npageBlockDivider#db20b188 = PageBlock;\npageBlockAnchor#ce0d37b0 name:string = PageBlock;\npageBlockList#e4e88011 items:Vector = PageBlock;\npageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;\npageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;\npageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock;\npageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock;\npageBlockCover#39f23300 cover:PageBlock = PageBlock;\npageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock;\npageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock;\npageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock;\npageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock;\npageBlockChannel#ef1751b5 channel:Chat = PageBlock;\npageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock;\npageBlockKicker#1e148390 text:RichText = PageBlock;\npageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock;\npageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock;\npageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock;\npageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock;\npageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock;\nphoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;\nphoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;\nphoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;\nphoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;\ndataJSON#7d748d04 data:string = DataJSON;\nlabeledPrice#cb296bf8 label:string amount:long = LabeledPrice;\ninvoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector terms_url:flags.10?string = Invoice;\npaymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;\npostAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;\npaymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;\npaymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials;\nwebDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument;\nwebDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument;\ninputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument;\ninputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;\ninputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation;\ninputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document:flags.0?InputDocument title:flags.1?string performer:flags.1?string = InputWebFileLocation;\nupload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;\npayments.paymentForm#a0058751 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice provider_id:long url:string native_provider:flags.4?string native_params:flags.4?DataJSON additional_methods:flags.6?Vector saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?Vector users:Vector = payments.PaymentForm;\npayments.paymentFormStars#7bf6b15c flags:# form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice users:Vector = payments.PaymentForm;\npayments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo;\npayments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult;\npayments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult;\npayments.paymentReceipt#70c4fe03 flags:# date:int bot_id:long provider_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption tip_amount:flags.3?long currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt;\npayments.paymentReceiptStars#dabbf83a flags:# date:int bot_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice currency:string total_amount:long transaction_id:string users:Vector = payments.PaymentReceipt;\npayments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo;\ninputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials;\ninputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials;\ninputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials;\ninputPaymentCredentialsGooglePay#8ac32801 payment_token:DataJSON = InputPaymentCredentials;\naccount.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;\nshippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption;\ninputStickerSetItem#32da9e9c flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords keywords:flags.1?string = InputStickerSetItem;\ninputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;\nphoneCallEmpty#5366c915 id:long = PhoneCall;\nphoneCallWaiting#c5226f17 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;\nphoneCallRequested#14b0ed0c flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;\nphoneCallAccepted#3660c311 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_b:bytes protocol:PhoneCallProtocol = PhoneCall;\nphoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int custom_parameters:flags.7?DataJSON = PhoneCall;\nphoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.6?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;\nphoneConnection#9cc123c7 flags:# tcp:flags.0?true id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;\nphoneConnectionWebrtc#635fe375 flags:# turn:flags.0?true stun:flags.1?true id:long ip:string ipv6:string port:int username:string password:string = PhoneConnection;\nphoneCallProtocol#fc878fc8 flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int library_versions:Vector = PhoneCallProtocol;\nphone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall;\nupload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;\nupload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile;\ncdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;\ncdnConfig#5725e40a public_keys:Vector = CdnConfig;\nlangPackString#cad181f6 key:string value:string = LangPackString;\nlangPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;\nlangPackStringDeleted#2979eeb2 key:string = LangPackString;\nlangPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference;\nlangPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage;\nchannelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;\nchannelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;\nchannelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;\nchannelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction;\nchannelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeLinkedChat#50c7ac8 prev_value:long new_value:long = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction;\nchannelAdminLogEventActionStartGroupCall#23209745 call:InputGroupCall = ChannelAdminLogEventAction;\nchannelAdminLogEventActionDiscardGroupCall#db9f9140 call:InputGroupCall = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantMute#f92424d2 participant:GroupCallParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantUnmute#e64429c0 participant:GroupCallParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleGroupCallSetting#56d6a247 join_muted:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantJoinByInvite#fe9fc158 flags:# via_chatlist:flags.0?true invite:ExportedChatInvite = ChannelAdminLogEventAction;\nchannelAdminLogEventActionExportedInviteDelete#5a50fca4 invite:ExportedChatInvite = ChannelAdminLogEventAction;\nchannelAdminLogEventActionExportedInviteRevoke#410a134e invite:ExportedChatInvite = ChannelAdminLogEventAction;\nchannelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantVolume#3e7f6847 participant:GroupCallParticipant = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int = ChannelAdminLogEventAction;\nchannelAdminLogEventActionParticipantJoinByRequest#afb6144a invite:ExportedChatInvite approved_by:long = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleNoForwards#cb2ac766 new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionSendMessage#278f2868 message:Message = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeAvailableReactions#be4e0ef8 prev_value:ChatReactions new_value:ChatReactions = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeUsernames#f04fb3a9 prev_value:Vector new_value:Vector = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleForum#2cc6383 new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionCreateTopic#58707d28 topic:ForumTopic = ChannelAdminLogEventAction;\nchannelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:ForumTopic = ChannelAdminLogEventAction;\nchannelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction;\nchannelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction;\nchannelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangePeerColor#5796e780 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeProfilePeerColor#5e477b25 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeWallpaper#31bb5d52 prev_value:WallPaper new_value:WallPaper = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeEmojiStatus#3ea9feb1 prev_value:EmojiStatus new_value:EmojiStatus = ChannelAdminLogEventAction;\nchannelAdminLogEventActionChangeEmojiStickerSet#46d840ab prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;\nchannelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;\nchannels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults;\nchannelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = ChannelAdminLogEventsFilter;\npopularContact#5ce14175 client_id:long importers:int = PopularContact;\nmessages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers;\nmessages.favedStickers#2cb51097 hash:long packs:Vector stickers:Vector = messages.FavedStickers;\nrecentMeUrlUnknown#46e1d13d url:string = RecentMeUrl;\nrecentMeUrlUser#b92c09e2 url:string user_id:long = RecentMeUrl;\nrecentMeUrlChat#b2da71d2 url:string chat_id:long = RecentMeUrl;\nrecentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl;\nrecentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl;\nhelp.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls;\ninputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia;\nwebAuthorization#a6f8f452 hash:long bot_id:long domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization;\naccount.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations;\ninputMessageID#a676a322 id:int = InputMessage;\ninputMessageReplyTo#bad88395 id:int = InputMessage;\ninputMessagePinned#86872538 = InputMessage;\ninputMessageCallbackQuery#acfa1a7e id:int query_id:long = InputMessage;\ninputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer;\ninputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer;\ndialogPeer#e56dbf05 peer:Peer = DialogPeer;\ndialogPeerFolder#514519e2 folder_id:int = DialogPeer;\nmessages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets;\nmessages.foundStickerSets#8af09dd2 hash:long sets:Vector = messages.FoundStickerSets;\nfileHash#f39b035c offset:long limit:int hash:bytes = FileHash;\ninputClientProxy#75588b3f address:string port:int = InputClientProxy;\nhelp.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate;\nhelp.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate;\ninputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile;\ninputSecureFile#5367e5be id:long access_hash:long = InputSecureFile;\nsecureFileEmpty#64199744 = SecureFile;\nsecureFile#7d09c27e id:long access_hash:long size:long dc_id:int date:int file_hash:bytes secret:bytes = SecureFile;\nsecureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData;\nsecurePlainPhone#7d6099dd phone:string = SecurePlainData;\nsecurePlainEmail#21ec5a5f email:string = SecurePlainData;\nsecureValueTypePersonalDetails#9d2a81e3 = SecureValueType;\nsecureValueTypePassport#3dac6a00 = SecureValueType;\nsecureValueTypeDriverLicense#6e425c4 = SecureValueType;\nsecureValueTypeIdentityCard#a0d0744b = SecureValueType;\nsecureValueTypeInternalPassport#99a48f23 = SecureValueType;\nsecureValueTypeAddress#cbe31e26 = SecureValueType;\nsecureValueTypeUtilityBill#fc36954e = SecureValueType;\nsecureValueTypeBankStatement#89137c0d = SecureValueType;\nsecureValueTypeRentalAgreement#8b883488 = SecureValueType;\nsecureValueTypePassportRegistration#99e3806a = SecureValueType;\nsecureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType;\nsecureValueTypePhone#b320aadb = SecureValueType;\nsecureValueTypeEmail#8e3ca7ee = SecureValueType;\nsecureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue;\ninputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue;\nsecureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash;\nsecureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError;\nsecureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError;\nsecureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError;\nsecureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError;\nsecureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError;\nsecureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError;\nsecureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError;\nsecureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError;\nsecureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError;\nsecureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted;\naccount.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm;\naccount.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode;\nhelp.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo;\nhelp.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo;\nsavedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact;\naccount.takeout#4dba4501 id:long = account.Takeout;\npasswordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo;\npasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo;\nsecurePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo;\nsecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo;\nsecurePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo;\nsecureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings;\ninputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP;\ninputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP;\nsecureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType;\nsecureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType;\nhelp.passportConfigNotModified#bfb9f457 = help.PassportConfig;\nhelp.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig;\ninputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent;\njsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue;\njsonNull#3f6d7b68 = JSONValue;\njsonBool#c7345e6a value:Bool = JSONValue;\njsonNumber#2be0dfa4 value:double = JSONValue;\njsonString#b71e767a value:string = JSONValue;\njsonArray#f7444763 value:Vector = JSONValue;\njsonObject#99c1d49d value:Vector = JSONValue;\npageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell;\npageTableRow#e0c0c5e5 cells:Vector = PageTableRow;\npageCaption#6f747657 text:RichText credit:RichText = PageCaption;\npageListItemText#b92fb6cd text:RichText = PageListItem;\npageListItemBlocks#25e073fc blocks:Vector = PageListItem;\npageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem;\npageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem;\npageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle;\npage#98657f0d flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector views:flags.3?int = Page;\nhelp.supportName#8c05f1c9 name:string = help.SupportName;\nhelp.userInfoEmpty#f3ae2eed = help.UserInfo;\nhelp.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo;\npollAnswer#ff16e2ca text:TextWithEntities option:bytes = PollAnswer;\npoll#58747131 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:TextWithEntities answers:Vector close_period:flags.4?int close_date:flags.5?int = Poll;\npollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters;\npollResults#7adf2420 flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int recent_voters:flags.3?Vector solution:flags.4?string solution_entities:flags.4?Vector = PollResults;\nchatOnlines#f041e250 onlines:int = ChatOnlines;\nstatsURL#47a971e0 url:string = StatsURL;\nchatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true manage_topics:flags.13?true post_stories:flags.14?true edit_stories:flags.15?true delete_stories:flags.16?true = ChatAdminRights;\nchatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true manage_topics:flags.18?true send_photos:flags.19?true send_videos:flags.20?true send_roundvideos:flags.21?true send_audios:flags.22?true send_voices:flags.23?true send_docs:flags.24?true send_plain:flags.25?true until_date:int = ChatBannedRights;\ninputWallPaper#e630b979 id:long access_hash:long = InputWallPaper;\ninputWallPaperSlug#72091c80 slug:string = InputWallPaper;\ninputWallPaperNoFile#967a462e id:long = InputWallPaper;\naccount.wallPapersNotModified#1c199183 = account.WallPapers;\naccount.wallPapers#cdc3858c hash:long wallpapers:Vector = account.WallPapers;\ncodeSettings#ad253d78 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true allow_missed_call:flags.5?true allow_firebase:flags.7?true unknown_number:flags.9?true logout_tokens:flags.6?Vector token:flags.8?string app_sandbox:flags.8?Bool = CodeSettings;\nwallPaperSettings#372efcd0 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int emoticon:flags.7?string = WallPaperSettings;\nautoDownloadSettings#baa57628 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true stories_preload:flags.4?true photo_size_max:int video_size_max:long file_size_max:long video_upload_maxbitrate:int small_queue_active_operations_max:int large_queue_active_operations_max:int = AutoDownloadSettings;\naccount.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings;\nemojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword;\nemojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword;\nemojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference;\nemojiURL#a575739d url:string = EmojiURL;\nemojiLanguage#b3fb5361 lang_code:string = EmojiLanguage;\nfolder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder;\ninputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer;\nfolderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer;\nmessages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter;\nurlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult;\nurlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult;\nurlAuthResultDefault#a9d6db1f = UrlAuthResult;\nchannelLocationEmpty#bfb5ad8b = ChannelLocation;\nchannelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation;\npeerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated;\npeerSelfLocated#f8ec284b expires:int = PeerLocated;\nrestrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason;\ninputTheme#3c5693e9 id:long access_hash:long = InputTheme;\ninputThemeSlug#f5890df1 slug:string = InputTheme;\ntheme#a00e67d6 flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?Vector emoticon:flags.6?string installs_count:flags.4?int = Theme;\naccount.themesNotModified#f41eb622 = account.Themes;\naccount.themes#9a3d8c6d hash:long themes:Vector = account.Themes;\nauth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken;\nauth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth.LoginToken;\nauth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken;\naccount.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings;\nmessages.inactiveChats#a927fec5 dates:Vector chats:Vector users:Vector = messages.InactiveChats;\nbaseThemeClassic#c3a12462 = BaseTheme;\nbaseThemeDay#fbd81688 = BaseTheme;\nbaseThemeNight#b7b31ea8 = BaseTheme;\nbaseThemeTinted#6d5f77ee = BaseTheme;\nbaseThemeArctic#5b11125a = BaseTheme;\ninputThemeSettings#8fde504f flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int outbox_accent_color:flags.3?int message_colors:flags.0?Vector wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings;\nthemeSettings#fa58b6d4 flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int outbox_accent_color:flags.3?int message_colors:flags.0?Vector wallpaper:flags.1?WallPaper = ThemeSettings;\nwebPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector settings:flags.1?ThemeSettings = WebPageAttribute;\nwebPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;\nwebPageAttributeStickerSet#50cc03d3 flags:# emojis:flags.0?true text_color:flags.1?true stickers:Vector = WebPageAttribute;\nmessages.votesList#4899484e flags:# count:int votes:Vector chats:Vector users:Vector next_offset:flags.0?string = messages.VotesList;\nbankCardOpenUrl#f568028a url:string name:string = BankCardOpenUrl;\npayments.bankCardData#3e24e573 title:string open_urls:Vector = payments.BankCardData;\ndialogFilter#5fb5523b flags:# contacts:flags.0?true non_contacts:flags.1?true groups:flags.2?true broadcasts:flags.3?true bots:flags.4?true exclude_muted:flags.11?true exclude_read:flags.12?true exclude_archived:flags.13?true id:int title:string emoticon:flags.25?string color:flags.27?int pinned_peers:Vector include_peers:Vector exclude_peers:Vector = DialogFilter;\ndialogFilterDefault#363293ae = DialogFilter;\ndialogFilterChatlist#9fe28ea4 flags:# has_my_invites:flags.26?true id:int title:string emoticon:flags.25?string color:flags.27?int pinned_peers:Vector include_peers:Vector = DialogFilter;\ndialogFilterSuggested#77744d4a filter:DialogFilter description:string = DialogFilterSuggested;\nstatsDateRangeDays#b637edaf min_date:int max_date:int = StatsDateRangeDays;\nstatsAbsValueAndPrev#cb43acde current:double previous:double = StatsAbsValueAndPrev;\nstatsPercentValue#cbce2fe0 part:double total:double = StatsPercentValue;\nstatsGraphAsync#4a27eb2d token:string = StatsGraph;\nstatsGraphError#bedc9822 error:string = StatsGraph;\nstatsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph;\nstats.broadcastStats#396ca5fc period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev reactions_per_post:StatsAbsValueAndPrev views_per_story:StatsAbsValueAndPrev shares_per_story:StatsAbsValueAndPrev reactions_per_story:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph reactions_by_emotion_graph:StatsGraph story_interactions_graph:StatsGraph story_reactions_by_emotion_graph:StatsGraph recent_posts_interactions:Vector = stats.BroadcastStats;\nhelp.promoDataEmpty#98f6ac75 expires:int = help.PromoData;\nhelp.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector users:Vector psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;\nvideoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize;\nvideoSizeEmojiMarkup#f85c413c emoji_id:long background_colors:Vector = VideoSize;\nvideoSizeStickerMarkup#da082fe stickerset:InputStickerSet sticker_id:long background_colors:Vector = VideoSize;\nstatsGroupTopPoster#9d04af9b user_id:long messages:int avg_chars:int = StatsGroupTopPoster;\nstatsGroupTopAdmin#d7584c87 user_id:long deleted:int kicked:int banned:int = StatsGroupTopAdmin;\nstatsGroupTopInviter#535f779d user_id:long invitations:int = StatsGroupTopInviter;\nstats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector top_admins:Vector top_inviters:Vector users:Vector = stats.MegagroupStats;\nglobalPrivacySettings#734c4ccb flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true hide_read_marks:flags.3?true new_noncontact_peers_require_premium:flags.4?true = GlobalPrivacySettings;\nhelp.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector patterns:flags.1?Vector = help.CountryCode;\nhelp.country#c3878e23 flags:# hidden:flags.0?true iso2:string default_name:string name:flags.1?string country_codes:Vector = help.Country;\nhelp.countriesListNotModified#93cc1f32 = help.CountriesList;\nhelp.countriesList#87d0759e countries:Vector hash:int = help.CountriesList;\nmessageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:flags.2?MessageReplies = MessageViews;\nmessages.messageViews#b6c4f543 views:Vector chats:Vector users:Vector = messages.MessageViews;\nmessages.discussionMessage#a6341782 flags:# messages:Vector max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector users:Vector = messages.DiscussionMessage;\nmessageReplyHeader#afbc09db flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector quote_offset:flags.10?int = MessageReplyHeader;\nmessageReplyStoryHeader#e5af939 peer:Peer story_id:int = MessageReplyHeader;\nmessageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;\npeerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked;\nstats.messageStats#7fe91c14 views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.MessageStats;\ngroupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;\ngroupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;\ninputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;\ngroupCallParticipant#eba636fe flags:# muted:flags.0?true left:flags.1?true can_self_unmute:flags.2?true just_joined:flags.4?true versioned:flags.5?true min:flags.8?true muted_by_you:flags.9?true volume_by_admin:flags.10?true self:flags.12?true video_joined:flags.15?true peer:Peer date:int active_date:flags.3?int source:int volume:flags.7?int about:flags.11?string raise_hand_rating:flags.13?long video:flags.6?GroupCallParticipantVideo presentation:flags.14?GroupCallParticipantVideo = GroupCallParticipant;\nphone.groupCall#9e727aad call:GroupCall participants:Vector participants_next_offset:string chats:Vector users:Vector = phone.GroupCall;\nphone.groupParticipants#f47751b6 count:int participants:Vector next_offset:string chats:Vector users:Vector version:int = phone.GroupParticipants;\ninlineQueryPeerTypeSameBotPM#3081ed9d = InlineQueryPeerType;\ninlineQueryPeerTypePM#833c0fac = InlineQueryPeerType;\ninlineQueryPeerTypeChat#d766c50a = InlineQueryPeerType;\ninlineQueryPeerTypeMegagroup#5ec4be43 = InlineQueryPeerType;\ninlineQueryPeerTypeBroadcast#6334ee9a = InlineQueryPeerType;\ninlineQueryPeerTypeBotPM#e3b2d0c = InlineQueryPeerType;\nmessages.historyImport#1662af0b id:long = messages.HistoryImport;\nmessages.historyImportParsed#5e0fb7b9 flags:# pm:flags.0?true group:flags.1?true title:flags.2?string = messages.HistoryImportParsed;\nmessages.affectedFoundMessages#ef8d3e6c pts:int pts_count:int offset:int messages:Vector = messages.AffectedFoundMessages;\nchatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;\nmessages.exportedChatInvites#bdc62dcc count:int invites:Vector users:Vector = messages.ExportedChatInvites;\nmessages.exportedChatInvite#1871be50 invite:ExportedChatInvite users:Vector = messages.ExportedChatInvite;\nmessages.exportedChatInviteReplaced#222600ef invite:ExportedChatInvite new_invite:ExportedChatInvite users:Vector = messages.ExportedChatInvite;\nmessages.chatInviteImporters#81b6b00a count:int importers:Vector users:Vector = messages.ChatInviteImporters;\nchatAdminWithInvites#f2ecef23 admin_id:long invites_count:int revoked_invites_count:int = ChatAdminWithInvites;\nmessages.chatAdminsWithInvites#b69b72d7 admins:Vector users:Vector = messages.ChatAdminsWithInvites;\nmessages.checkedHistoryImportPeer#a24de717 confirm_text:string = messages.CheckedHistoryImportPeer;\nphone.joinAsPeers#afe5623f peers:Vector chats:Vector users:Vector = phone.JoinAsPeers;\nphone.exportedGroupCallInvite#204bd158 link:string = phone.ExportedGroupCallInvite;\ngroupCallParticipantVideoSourceGroup#dcb118b7 semantics:string sources:Vector = GroupCallParticipantVideoSourceGroup;\ngroupCallParticipantVideo#67753ac8 flags:# paused:flags.0?true endpoint:string source_groups:Vector audio_source:flags.1?int = GroupCallParticipantVideo;\nstickers.suggestedShortName#85fea03f short_name:string = stickers.SuggestedShortName;\nbotCommandScopeDefault#2f6cb2ab = BotCommandScope;\nbotCommandScopeUsers#3c4f04d8 = BotCommandScope;\nbotCommandScopeChats#6fe1a881 = BotCommandScope;\nbotCommandScopeChatAdmins#b9aa606a = BotCommandScope;\nbotCommandScopePeer#db9d897d peer:InputPeer = BotCommandScope;\nbotCommandScopePeerAdmins#3fd863d1 peer:InputPeer = BotCommandScope;\nbotCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandScope;\naccount.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordResult;\naccount.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;\naccount.resetPasswordOk#e926d63e = account.ResetPasswordResult;\nsponsoredMessage#bdedf566 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector photo:flags.6?Photo color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage;\nmessages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector chats:Vector users:Vector = messages.SponsoredMessages;\nmessages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages;\nsearchResultsCalendarPeriod#c9b0539f date:int min_msg_id:int max_msg_id:int count:int = SearchResultsCalendarPeriod;\nmessages.searchResultsCalendar#147ee23c flags:# inexact:flags.0?true count:int min_date:int min_msg_id:int offset_id_offset:flags.1?int periods:Vector messages:Vector chats:Vector users:Vector = messages.SearchResultsCalendar;\nsearchResultPosition#7f648b67 msg_id:int date:int offset:int = SearchResultsPosition;\nmessages.searchResultsPositions#53b22baf count:int positions:Vector = messages.SearchResultsPositions;\nchannels.sendAsPeers#f496b0c6 peers:Vector chats:Vector users:Vector = channels.SendAsPeers;\nusers.userFull#3b6d152e full_user:UserFull chats:Vector users:Vector = users.UserFull;\nmessages.peerSettings#6880b94d settings:PeerSettings chats:Vector users:Vector = messages.PeerSettings;\nauth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut;\nreactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount;\nmessageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector recent_reactions:flags.1?Vector = MessageReactions;\nmessages.messageReactionsList#31bd492d flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = messages.MessageReactionsList;\navailableReaction#c077ec01 flags:# inactive:flags.0?true premium:flags.2?true reaction:string title:string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document around_animation:flags.1?Document center_icon:flags.1?Document = AvailableReaction;\nmessages.availableReactionsNotModified#9f071957 = messages.AvailableReactions;\nmessages.availableReactions#768e3aad hash:int reactions:Vector = messages.AvailableReactions;\nmessagePeerReaction#8c79b63c flags:# big:flags.0?true unread:flags.1?true my:flags.2?true peer_id:Peer date:int reaction:Reaction = MessagePeerReaction;\ngroupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;\nphone.groupCallStreamChannels#d0e482b2 channels:Vector = phone.GroupCallStreamChannels;\nphone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;\nattachMenuBotIconColor#4576f3f0 name:string color:int = AttachMenuBotIconColor;\nattachMenuBotIcon#b2a7386b flags:# name:string icon:Document colors:flags.0?Vector = AttachMenuBotIcon;\nattachMenuBot#d90d8dfe flags:# inactive:flags.0?true has_settings:flags.1?true request_write_access:flags.2?true show_in_attach_menu:flags.3?true show_in_side_menu:flags.4?true side_menu_disclaimer_needed:flags.5?true bot_id:long short_name:string peer_types:flags.3?Vector icons:Vector = AttachMenuBot;\nattachMenuBotsNotModified#f1d88a5c = AttachMenuBots;\nattachMenuBots#3c4301c0 hash:long bots:Vector users:Vector = AttachMenuBots;\nattachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector = AttachMenuBotsBot;\nwebViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true query_id:flags.0?long url:string = WebViewResult;\nwebViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;\nbotMenuButtonDefault#7533a588 = BotMenuButton;\nbotMenuButtonCommands#4258c205 = BotMenuButton;\nbotMenuButton#c7b57ce6 text:string url:string = BotMenuButton;\naccount.savedRingtonesNotModified#fbf6e8b1 = account.SavedRingtones;\naccount.savedRingtones#c1e92cc5 hash:long ringtones:Vector = account.SavedRingtones;\nnotificationSoundDefault#97e8bebe = NotificationSound;\nnotificationSoundNone#6f0c34df = NotificationSound;\nnotificationSoundLocal#830b9ae4 title:string data:string = NotificationSound;\nnotificationSoundRingtone#ff6c8049 id:long = NotificationSound;\naccount.savedRingtone#b7263f6d = account.SavedRingtone;\naccount.savedRingtoneConverted#1f307eb7 document:Document = account.SavedRingtone;\nattachMenuPeerTypeSameBotPM#7d6be90e = AttachMenuPeerType;\nattachMenuPeerTypeBotPM#c32bfa1a = AttachMenuPeerType;\nattachMenuPeerTypePM#f146d31f = AttachMenuPeerType;\nattachMenuPeerTypeChat#509113f = AttachMenuPeerType;\nattachMenuPeerTypeBroadcast#7bfbdefc = AttachMenuPeerType;\ninputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;\ninputInvoiceSlug#c326caef slug:string = InputInvoice;\ninputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice;\ninputInvoiceStars#1da33ad8 option:StarsTopupOption = InputInvoice;\npayments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice;\nmessages.transcribedAudio#cfb9d957 flags:# pending:flags.0?true transcription_id:long text:string trial_remains_num:flags.1?int trial_remains_until_date:flags.1?int = messages.TranscribedAudio;\nhelp.premiumPromo#5334759c status_text:string status_entities:Vector video_sections:Vector videos:Vector period_options:Vector users:Vector = help.PremiumPromo;\ninputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;\ninputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose;\ninputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose;\ninputStorePaymentPremiumGiveaway#160544ca flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true boost_peer:InputPeer additional_peers:flags.1?Vector countries_iso2:flags.2?Vector prize_description:flags.4?string random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose;\ninputStorePaymentStars#4f0ee8df flags:# stars:long currency:string amount:long = InputStorePaymentPurpose;\npremiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption;\npaymentFormMethod#88f8f21b url:string title:string = PaymentFormMethod;\nemojiStatusEmpty#2de11aae = EmojiStatus;\nemojiStatus#929b619d document_id:long = EmojiStatus;\nemojiStatusUntil#fa30a8c7 document_id:long until:int = EmojiStatus;\naccount.emojiStatusesNotModified#d08ce645 = account.EmojiStatuses;\naccount.emojiStatuses#90c467d1 hash:long statuses:Vector = account.EmojiStatuses;\nreactionEmpty#79f5d419 = Reaction;\nreactionEmoji#1b2286b8 emoticon:string = Reaction;\nreactionCustomEmoji#8935fc73 document_id:long = Reaction;\nchatReactionsNone#eafc32bc = ChatReactions;\nchatReactionsAll#52928bca flags:# allow_custom:flags.0?true = ChatReactions;\nchatReactionsSome#661d4037 reactions:Vector = ChatReactions;\nmessages.reactionsNotModified#b06fdbdf = messages.Reactions;\nmessages.reactions#eafdf716 hash:long reactions:Vector = messages.Reactions;\nemailVerifyPurposeLoginSetup#4345be73 phone_number:string phone_code_hash:string = EmailVerifyPurpose;\nemailVerifyPurposeLoginChange#527d22eb = EmailVerifyPurpose;\nemailVerifyPurposePassport#bbf51685 = EmailVerifyPurpose;\nemailVerificationCode#922e55a9 code:string = EmailVerification;\nemailVerificationGoogle#db909ec2 token:string = EmailVerification;\nemailVerificationApple#96d074fd token:string = EmailVerification;\naccount.emailVerified#2b96cd1b email:string = account.EmailVerified;\naccount.emailVerifiedLogin#e1bb0d61 email:string sent_code:auth.SentCode = account.EmailVerified;\npremiumSubscriptionOption#5f2d1df2 flags:# current:flags.1?true can_purchase_upgrade:flags.2?true transaction:flags.3?string months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumSubscriptionOption;\nsendAsPeer#b81c7034 flags:# premium_required:flags.0?true peer:Peer = SendAsPeer;\nmessageExtendedMediaPreview#ad628cc8 flags:# w:flags.0?int h:flags.0?int thumb:flags.1?PhotoSize video_duration:flags.2?int = MessageExtendedMedia;\nmessageExtendedMedia#ee479c64 media:MessageMedia = MessageExtendedMedia;\nstickerKeyword#fcfeb29c document_id:long keyword:Vector = StickerKeyword;\nusername#b4073647 flags:# editable:flags.0?true active:flags.1?true username:string = Username;\nforumTopicDeleted#23f109b id:int = ForumTopic;\nforumTopic#71701da9 flags:# my:flags.1?true closed:flags.2?true pinned:flags.3?true short:flags.5?true hidden:flags.6?true id:int date:int title:string icon_color:int icon_emoji_id:flags.0?long top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int from_id:Peer notify_settings:PeerNotifySettings draft:flags.4?DraftMessage = ForumTopic;\nmessages.forumTopics#367617d3 flags:# order_by_create_date:flags.0?true count:int topics:Vector messages:Vector chats:Vector users:Vector pts:int = messages.ForumTopics;\ndefaultHistoryTTL#43b46b20 period:int = DefaultHistoryTTL;\nexportedContactToken#41bf109b url:string expires:int = ExportedContactToken;\nrequestPeerTypeUser#5f3b8a00 flags:# bot:flags.0?Bool premium:flags.1?Bool = RequestPeerType;\nrequestPeerTypeChat#c9f06e1b flags:# creator:flags.0?true bot_participant:flags.5?true has_username:flags.3?Bool forum:flags.4?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType;\nrequestPeerTypeBroadcast#339bef6c flags:# creator:flags.0?true has_username:flags.3?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType;\nemojiListNotModified#481eadfa = EmojiList;\nemojiList#7a1e11d1 hash:long document_id:Vector = EmojiList;\nemojiGroup#7a9abda9 title:string icon_emoji_id:long emoticons:Vector = EmojiGroup;\nemojiGroupGreeting#80d26cc7 title:string icon_emoji_id:long emoticons:Vector = EmojiGroup;\nemojiGroupPremium#93bcf34 title:string icon_emoji_id:long = EmojiGroup;\nmessages.emojiGroupsNotModified#6fb4ad87 = messages.EmojiGroups;\nmessages.emojiGroups#881fb94b hash:int groups:Vector = messages.EmojiGroups;\ntextWithEntities#751f3146 text:string entities:Vector = TextWithEntities;\nmessages.translateResult#33db32f8 result:Vector = messages.TranslatedText;\nautoSaveSettings#c84834ce flags:# photos:flags.0?true videos:flags.1?true video_max_size:flags.2?long = AutoSaveSettings;\nautoSaveException#81602d47 peer:Peer settings:AutoSaveSettings = AutoSaveException;\naccount.autoSaveSettings#4c3e069d users_settings:AutoSaveSettings chats_settings:AutoSaveSettings broadcasts_settings:AutoSaveSettings exceptions:Vector chats:Vector users:Vector = account.AutoSaveSettings;\nhelp.appConfigNotModified#7cde641d = help.AppConfig;\nhelp.appConfig#dd18782e hash:int config:JSONValue = help.AppConfig;\ninputBotAppID#a920bd7a id:long access_hash:long = InputBotApp;\ninputBotAppShortName#908c0407 bot_id:InputUser short_name:string = InputBotApp;\nbotAppNotModified#5da674b7 = BotApp;\nbotApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotApp;\nmessages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?true has_settings:flags.2?true app:BotApp = messages.BotApp;\ninlineBotWebView#b57295d5 text:string url:string = InlineBotWebView;\nreadParticipantDate#4a4ff172 user_id:long date:int = ReadParticipantDate;\ninputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlist;\nexportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector = ExportedChatlistInvite;\nchatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite;\nchatlists.exportedInvites#10ab6dc7 invites:Vector chats:Vector users:Vector = chatlists.ExportedInvites;\nchatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector already_peers:Vector chats:Vector users:Vector = chatlists.ChatlistInvite;\nchatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:flags.0?string peers:Vector chats:Vector users:Vector = chatlists.ChatlistInvite;\nchatlists.chatlistUpdates#93bd878d missing_peers:Vector chats:Vector users:Vector = chatlists.ChatlistUpdates;\nbots.botInfo#e8a775b0 name:string about:string description:string = bots.BotInfo;\nmessagePeerVote#b6cc2d5c peer:Peer option:bytes date:int = MessagePeerVote;\nmessagePeerVoteInputOption#74cda504 peer:Peer date:int = MessagePeerVote;\nmessagePeerVoteMultiple#4628f6e6 peer:Peer options:Vector date:int = MessagePeerVote;\nstoryViews#8d595cd6 flags:# has_viewers:flags.1?true views_count:int forwards_count:flags.2?int reactions:flags.3?Vector reactions_count:flags.4?int recent_viewers:flags.0?Vector = StoryViews;\nstoryItemDeleted#51e6ee4f id:int = StoryItem;\nstoryItemSkipped#ffadc913 flags:# close_friends:flags.8?true id:int date:int expire_date:int = StoryItem;\nstoryItem#79b26a24 flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int from_id:flags.18?Peer fwd_from:flags.17?StoryFwdHeader expire_date:int caption:flags.0?string entities:flags.1?Vector media:MessageMedia media_areas:flags.14?Vector privacy:flags.2?Vector views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem;\nstories.allStoriesNotModified#1158fe3e flags:# state:string stealth_mode:StoriesStealthMode = stories.AllStories;\nstories.allStories#6efc5e81 flags:# has_more:flags.0?true count:int state:string peer_stories:Vector chats:Vector users:Vector stealth_mode:StoriesStealthMode = stories.AllStories;\nstories.stories#63c3dd0a flags:# count:int stories:Vector pinned_to_top:flags.0?Vector chats:Vector users:Vector = stories.Stories;\nstoryView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryView;\nstoryViewPublicForward#9083670b flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true message:Message = StoryView;\nstoryViewPublicRepost#bd74cf49 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer story:StoryItem = StoryView;\nstories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count:int reactions_count:int views:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryViewsList;\nstories.storyViews#de9eed1d views:Vector users:Vector = stories.StoryViews;\ninputReplyToMessage#22c0f6d5 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector quote_offset:flags.4?int = InputReplyTo;\ninputReplyToStory#5881323a peer:InputPeer story_id:int = InputReplyTo;\nexportedStoryLink#3fc9053b link:string = ExportedStoryLink;\nstoriesStealthMode#712e27fd flags:# active_until_date:flags.0?int cooldown_until_date:flags.1?int = StoriesStealthMode;\nmediaAreaCoordinates#cfc9e002 flags:# x:double y:double w:double h:double rotation:double radius:flags.0?double = MediaAreaCoordinates;\nmediaAreaVenue#be82db9c coordinates:MediaAreaCoordinates geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MediaArea;\ninputMediaAreaVenue#b282217f coordinates:MediaAreaCoordinates query_id:long result_id:string = MediaArea;\nmediaAreaGeoPoint#cad5452d flags:# coordinates:MediaAreaCoordinates geo:GeoPoint address:flags.0?GeoPointAddress = MediaArea;\nmediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?true coordinates:MediaAreaCoordinates reaction:Reaction = MediaArea;\nmediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long msg_id:int = MediaArea;\ninputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea;\nmediaAreaUrl#37381085 coordinates:MediaAreaCoordinates url:string = MediaArea;\npeerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector = PeerStories;\nstories.peerStories#cae68768 stories:PeerStories chats:Vector users:Vector = stories.PeerStories;\nmessages.webPage#fd5e12bd webpage:WebPage chats:Vector users:Vector = messages.WebPage;\npremiumGiftCodeOption#257e962b flags:# users:int months:int store_product:flags.0?string store_quantity:flags.1?int currency:string amount:long = PremiumGiftCodeOption;\npayments.checkedGiftCode#284a1096 flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector users:Vector = payments.CheckedGiftCode;\npayments.giveawayInfo#4367daa0 flags:# participating:flags.0?true preparing_results:flags.3?true start_date:int joined_too_early_date:flags.1?int admin_disallowed_chat_id:flags.2?long disallowed_country:flags.4?string = payments.GiveawayInfo;\npayments.giveawayInfoResults#cd5570 flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.0?string finish_date:int winners_count:int activated_count:int = payments.GiveawayInfo;\nprepaidGiveaway#b2539d54 id:long months:int quantity:int date:int = PrepaidGiveaway;\nboost#2a1c8c71 flags:# gift:flags.1?true giveaway:flags.2?true unclaimed:flags.3?true id:string user_id:flags.0?long giveaway_msg_id:flags.2?int date:int expires:int used_gift_slug:flags.4?string multiplier:flags.5?int = Boost;\npremium.boostsList#86f8613c flags:# count:int boosts:Vector next_offset:flags.0?string users:Vector = premium.BoostsList;\nmyBoost#c448415c flags:# slot:int peer:flags.0?Peer date:int expires:int cooldown_until_date:flags.1?int = MyBoost;\npremium.myBoosts#9ae228e2 my_boosts:Vector chats:Vector users:Vector = premium.MyBoosts;\npremium.boostsStatus#4959427a flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int gift_boosts:flags.4?int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string prepaid_giveaways:flags.3?Vector my_boost_slots:flags.2?Vector = premium.BoostsStatus;\nstoryFwdHeader#b826e150 flags:# modified:flags.3?true from:flags.0?Peer from_name:flags.1?string story_id:flags.2?int = StoryFwdHeader;\npostInteractionCountersMessage#e7058e7f msg_id:int views:int forwards:int reactions:int = PostInteractionCounters;\npostInteractionCountersStory#8a480e27 story_id:int views:int forwards:int reactions:int = PostInteractionCounters;\nstats.storyStats#50cd067c views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.StoryStats;\npublicForwardMessage#1f2bf4a message:Message = PublicForward;\npublicForwardStory#edf3add0 peer:Peer story:StoryItem = PublicForward;\nstats.publicForwards#93037e20 flags:# count:int forwards:Vector next_offset:flags.0?string chats:Vector users:Vector = stats.PublicForwards;\npeerColor#b54b5acf flags:# color:flags.0?int background_emoji_id:flags.1?long = PeerColor;\nhelp.peerColorSet#26219a58 colors:Vector = help.PeerColorSet;\nhelp.peerColorProfileSet#767d61eb palette_colors:Vector bg_colors:Vector story_colors:Vector = help.PeerColorSet;\nhelp.peerColorOption#adec6ebe flags:# hidden:flags.0?true color_id:int colors:flags.1?help.PeerColorSet dark_colors:flags.2?help.PeerColorSet channel_min_level:flags.3?int group_min_level:flags.4?int = help.PeerColorOption;\nhelp.peerColorsNotModified#2ba1f5ce = help.PeerColors;\nhelp.peerColors#f8ed08 hash:int colors:Vector = help.PeerColors;\nstoryReaction#6090d6d5 peer_id:Peer date:int reaction:Reaction = StoryReaction;\nstoryReactionPublicForward#bbab2643 message:Message = StoryReaction;\nstoryReactionPublicRepost#cfcd0f13 peer_id:Peer story:StoryItem = StoryReaction;\nstories.storyReactionsList#aa5f789c flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryReactionsList;\nsavedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialog;\nmessages.savedDialogs#f83ae221 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs;\nmessages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs;\nmessages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs;\nsavedReactionTag#cb6ff828 flags:# reaction:Reaction title:flags.0?string count:int = SavedReactionTag;\nmessages.savedReactionTagsNotModified#889b59ef = messages.SavedReactionTags;\nmessages.savedReactionTags#3259950a tags:Vector hash:long = messages.SavedReactionTags;\noutboxReadDate#3bb842ac date:int = OutboxReadDate;\nsmsjobs.eligibleToJoin#dc8b44cf terms_url:string monthly_sent_sms:int = smsjobs.EligibilityToJoin;\nsmsjobs.status#2aee9191 flags:# allow_international:flags.0?true recent_sent:int recent_since:int recent_remains:int total_sent:int total_since:int last_gift_slug:flags.1?string terms_url:string = smsjobs.Status;\nsmsJob#e6a1eeb8 job_id:string phone_number:string text:string = SmsJob;\nbusinessWeeklyOpen#120b1ab9 start_minute:int end_minute:int = BusinessWeeklyOpen;\nbusinessWorkHours#8c92b098 flags:# open_now:flags.0?true timezone_id:string weekly_open:Vector = BusinessWorkHours;\nbusinessLocation#ac5c1af7 flags:# geo_point:flags.0?GeoPoint address:string = BusinessLocation;\ninputBusinessRecipients#6f8b32aa flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector = InputBusinessRecipients;\nbusinessRecipients#21108ff7 flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector = BusinessRecipients;\nbusinessAwayMessageScheduleAlways#c9b9e2b9 = BusinessAwayMessageSchedule;\nbusinessAwayMessageScheduleOutsideWorkHours#c3f2f501 = BusinessAwayMessageSchedule;\nbusinessAwayMessageScheduleCustom#cc4d9ecc start_date:int end_date:int = BusinessAwayMessageSchedule;\ninputBusinessGreetingMessage#194cb3b shortcut_id:int recipients:InputBusinessRecipients no_activity_days:int = InputBusinessGreetingMessage;\nbusinessGreetingMessage#e519abab shortcut_id:int recipients:BusinessRecipients no_activity_days:int = BusinessGreetingMessage;\ninputBusinessAwayMessage#832175e0 flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:InputBusinessRecipients = InputBusinessAwayMessage;\nbusinessAwayMessage#ef156a5c flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:BusinessRecipients = BusinessAwayMessage;\ntimezone#ff9289f5 id:string name:string utc_offset:int = Timezone;\nhelp.timezonesListNotModified#970708cc = help.TimezonesList;\nhelp.timezonesList#7b74ed71 timezones:Vector hash:int = help.TimezonesList;\nquickReply#697102b shortcut_id:int shortcut:string top_message:int count:int = QuickReply;\ninputQuickReplyShortcut#24596d41 shortcut:string = InputQuickReplyShortcut;\ninputQuickReplyShortcutId#1190cf1 shortcut_id:int = InputQuickReplyShortcut;\nmessages.quickReplies#c68d6695 quick_replies:Vector messages:Vector chats:Vector users:Vector = messages.QuickReplies;\nmessages.quickRepliesNotModified#5f91eb5b = messages.QuickReplies;\nconnectedBot#bd068601 flags:# can_reply:flags.0?true bot_id:long recipients:BusinessBotRecipients = ConnectedBot;\naccount.connectedBots#17d7f87b connected_bots:Vector users:Vector = account.ConnectedBots;\nmessages.dialogFilters#2ad93719 flags:# tags_enabled:flags.0?true filters:Vector = messages.DialogFilters;\nbirthday#6c8e1e06 flags:# day:int month:int year:flags.0?int = Birthday;\nbotBusinessConnection#896433b4 flags:# can_reply:flags.0?true disabled:flags.1?true connection_id:string user_id:long dc_id:int date:int = BotBusinessConnection;\ninputBusinessIntro#9c469cd flags:# title:string description:string sticker:flags.0?InputDocument = InputBusinessIntro;\nbusinessIntro#5a0a066d flags:# title:string description:string sticker:flags.0?Document = BusinessIntro;\nmessages.myStickers#faff629d count:int sets:Vector = messages.MyStickers;\ninputCollectibleUsername#e39460a9 username:string = InputCollectible;\ninputCollectiblePhone#a2e214a4 phone:string = InputCollectible;\nfragment.collectibleInfo#6ebdff91 purchase_date:int currency:string amount:long crypto_currency:string crypto_amount:long url:string = fragment.CollectibleInfo;\ninputBusinessBotRecipients#c4e5921e flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector exclude_users:flags.6?Vector = InputBusinessBotRecipients;\nbusinessBotRecipients#b88cf373 flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector exclude_users:flags.6?Vector = BusinessBotRecipients;\ncontactBirthday#1d998733 contact_id:long birthday:Birthday = ContactBirthday;\ncontacts.contactBirthdays#114ff30d contacts:Vector users:Vector = contacts.ContactBirthdays;\nmissingInvitee#628c9224 flags:# premium_would_allow_invite:flags.0?true premium_required_for_pm:flags.1?true user_id:long = MissingInvitee;\nmessages.invitedUsers#7f5defa6 updates:Updates missing_invitees:Vector = messages.InvitedUsers;\ninputBusinessChatLink#11679fa7 flags:# message:string entities:flags.0?Vector title:flags.1?string = InputBusinessChatLink;\nbusinessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector title:flags.1?string views:int = BusinessChatLink;\naccount.businessChatLinks#ec43a2d1 links:Vector chats:Vector users:Vector = account.BusinessChatLinks;\naccount.resolvedBusinessChatLinks#9a23af21 flags:# peer:Peer message:string entities:flags.0?Vector chats:Vector users:Vector = account.ResolvedBusinessChatLinks;\nrequestedPeerUser#d62ff46a flags:# user_id:long first_name:flags.0?string last_name:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;\nrequestedPeerChat#7307544f flags:# chat_id:long title:flags.0?string photo:flags.2?Photo = RequestedPeer;\nrequestedPeerChannel#8ba403e4 flags:# channel_id:long title:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;\nsponsoredMessageReportOption#430d3150 text:string option:bytes = SponsoredMessageReportOption;\nchannels.sponsoredMessageReportResultChooseOption#846f9e42 title:string options:Vector = channels.SponsoredMessageReportResult;\nchannels.sponsoredMessageReportResultAdsHidden#3e3bcf2f = channels.SponsoredMessageReportResult;\nchannels.sponsoredMessageReportResultReported#ad798849 = channels.SponsoredMessageReportResult;\nstats.broadcastRevenueStats#5407e297 top_hours_graph:StatsGraph revenue_graph:StatsGraph balances:BroadcastRevenueBalances usd_rate:double = stats.BroadcastRevenueStats;\nstats.broadcastRevenueWithdrawalUrl#ec659737 url:string = stats.BroadcastRevenueWithdrawalUrl;\nbroadcastRevenueTransactionProceeds#557e2cc4 amount:long from_date:int to_date:int = BroadcastRevenueTransaction;\nbroadcastRevenueTransactionWithdrawal#5a590978 flags:# pending:flags.0?true failed:flags.2?true amount:long date:int provider:string transaction_date:flags.1?int transaction_url:flags.1?string = BroadcastRevenueTransaction;\nbroadcastRevenueTransactionRefund#42d30d2e amount:long date:int provider:string = BroadcastRevenueTransaction;\nstats.broadcastRevenueTransactions#87158466 count:int transactions:Vector = stats.BroadcastRevenueTransactions;\nreactionNotificationsFromContacts#bac3a61a = ReactionNotificationsFrom;\nreactionNotificationsFromAll#4b9e22a0 = ReactionNotificationsFrom;\nreactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettings;\nbroadcastRevenueBalances#8438f1c6 current_balance:long available_balance:long overall_revenue:long = BroadcastRevenueBalances;\navailableEffect#93c3e27e flags:# premium_required:flags.2?true id:long emoticon:string static_icon_id:flags.0?long effect_sticker_id:long effect_animation_id:flags.1?long = AvailableEffect;\nmessages.availableEffectsNotModified#d1ed9a5b = messages.AvailableEffects;\nmessages.availableEffects#bddb616e hash:int effects:Vector documents:Vector = messages.AvailableEffects;\nfactCheck#b89bfccf flags:# need_check:flags.0?true country:flags.1?string text:flags.1?TextWithEntities hash:long = FactCheck;\nstarsTransactionPeerUnsupported#95f2bfe4 = StarsTransactionPeer;\nstarsTransactionPeerAppStore#b457b375 = StarsTransactionPeer;\nstarsTransactionPeerPlayMarket#7b560a0b = StarsTransactionPeer;\nstarsTransactionPeerPremiumBot#250dbaf8 = StarsTransactionPeer;\nstarsTransactionPeerFragment#e92fd902 = StarsTransactionPeer;\nstarsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;\nstarsTransactionPeerAds#60682812 = StarsTransactionPeer;\nstarsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;\nstarsTransaction#2db5418f flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector = StarsTransaction;\npayments.starsStatus#8cf4ee60 flags:# balance:long history:Vector next_offset:flags.0?string chats:Vector users:Vector = payments.StarsStatus;\nfoundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory;\nstories.foundStories#e2de7737 flags:# count:int stories:Vector next_offset:flags.0?string chats:Vector users:Vector = stories.FoundStories;\ngeoPointAddress#de4c5d93 flags:# country_iso2:string state:flags.0?string city:flags.1?string street:flags.2?string = GeoPointAddress;\nstarsRevenueStatus#79342946 flags:# withdrawal_enabled:flags.0?true current_balance:long available_balance:long overall_revenue:long next_withdrawal_at:flags.1?int = StarsRevenueStatus;\npayments.starsRevenueStats#c92bb73b revenue_graph:StatsGraph status:StarsRevenueStatus usd_rate:double = payments.StarsRevenueStats;\npayments.starsRevenueWithdrawalUrl#1dab80b7 url:string = payments.StarsRevenueWithdrawalUrl;\npayments.starsRevenueAdsAccountUrl#394e7f21 url:string = payments.StarsRevenueAdsAccountUrl;\ninputStarsTransaction#206ae6d1 flags:# refund:flags.0?true id:string = InputStarsTransaction;\n---functions---\ninvokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;\ninvokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X;\ninitConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;\ninvokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X;\ninvokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X;\ninvokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X;\ninvokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X;\ninvokeWithBusinessConnection#dd289f8e {X:Type} connection_id:string query:!X = X;\ninvokeWithGooglePlayIntegrity#1df92984 {X:Type} nonce:string token:string query:!X = X;\ninvokeWithApnsSecret#0dae54f8 {X:Type} nonce:string secret:string query:!X = X;\nauth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode;\nauth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization;\nauth.signIn#8d52a951 flags:# phone_number:string phone_code_hash:string phone_code:flags.0?string email_verification:flags.1?EmailVerification = auth.Authorization;\nauth.logOut#3e72ba19 = auth.LoggedOut;\nauth.resetAuthorizations#9fab0d1a = Bool;\nauth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;\nauth.importAuthorization#a57a7dad id:long bytes:bytes = auth.Authorization;\nauth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;\nauth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;\nauth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization;\nauth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;\nauth.recoverPassword#37096c70 flags:# code:string new_settings:flags.0?account.PasswordInputSettings = auth.Authorization;\nauth.resendCode#cae47523 flags:# phone_number:string phone_code_hash:string reason:flags.0?string = auth.SentCode;\nauth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool;\nauth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool;\nauth.exportLoginToken#b7e085fe api_id:int api_hash:string except_ids:Vector = auth.LoginToken;\nauth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken;\nauth.acceptLoginToken#e894ad4d token:bytes = Authorization;\nauth.checkRecoveryPassword#d36bf79 code:string = Bool;\nauth.importWebTokenAuthorization#2db873a9 api_id:int api_hash:string web_auth_token:string = auth.Authorization;\nauth.requestFirebaseSms#8e39261e flags:# phone_number:string phone_code_hash:string safety_net_token:flags.0?string play_integrity_token:flags.2?string ios_push_secret:flags.1?string = Bool;\nauth.resetLoginEmail#7e960193 phone_number:string phone_code_hash:string = auth.SentCode;\nauth.reportMissingCode#cb9deff6 phone_number:string phone_code_hash:string mnc:string = Bool;\naccount.registerDevice#ec86017a flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool;\naccount.unregisterDevice#6a0d3206 token_type:int token:string other_uids:Vector = Bool;\naccount.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;\naccount.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;\naccount.resetNotifySettings#db7e1747 = Bool;\naccount.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User;\naccount.updateStatus#6628562c offline:Bool = Bool;\naccount.getWallPapers#7967d36 hash:long = account.WallPapers;\naccount.reportPeer#c5ba3d86 peer:InputPeer reason:ReportReason message:string = Bool;\naccount.checkUsername#2714d86c username:string = Bool;\naccount.updateUsername#3e0bdd7c username:string = User;\naccount.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;\naccount.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules;\naccount.deleteAccount#a2c0cf74 flags:# reason:string password:flags.0?InputCheckPasswordSRP = Bool;\naccount.getAccountTTL#8fc711d = AccountDaysTTL;\naccount.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;\naccount.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode;\naccount.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;\naccount.updateDeviceLocked#38df3532 period:int = Bool;\naccount.getAuthorizations#e320c158 = account.Authorizations;\naccount.resetAuthorization#df77f3bc hash:long = Bool;\naccount.getPassword#548a30f5 = account.Password;\naccount.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings;\naccount.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool;\naccount.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode;\naccount.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool;\naccount.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword;\naccount.getWebAuthorizations#182e6d6f = account.WebAuthorizations;\naccount.resetWebAuthorization#2d01b9ef hash:long = Bool;\naccount.resetWebAuthorizations#682d2594 = Bool;\naccount.getAllSecureValues#b288bc7d = Vector;\naccount.getSecureValue#73665bc2 types:Vector = Vector;\naccount.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue;\naccount.deleteSecureValue#b880bc4b types:Vector = Bool;\naccount.getAuthorizationForm#a929597a bot_id:long scope:string public_key:string = account.AuthorizationForm;\naccount.acceptAuthorization#f3ed4c73 bot_id:long scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool;\naccount.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode;\naccount.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool;\naccount.sendVerifyEmailCode#98e037bb purpose:EmailVerifyPurpose email:string = account.SentEmailCode;\naccount.verifyEmail#32da4cf purpose:EmailVerifyPurpose verification:EmailVerification = account.EmailVerified;\naccount.initTakeoutSession#8ef3eab0 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?long = account.Takeout;\naccount.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool;\naccount.confirmPasswordEmail#8fdf1920 code:string = Bool;\naccount.resendPasswordEmail#7a7f2a15 = Bool;\naccount.cancelPasswordEmail#c1cbd5b6 = Bool;\naccount.getContactSignUpNotification#9f07c728 = Bool;\naccount.setContactSignUpNotification#cff43f61 silent:Bool = Bool;\naccount.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true compare_stories:flags.2?true peer:flags.0?InputNotifyPeer = Updates;\naccount.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper;\naccount.uploadWallPaper#e39a8f03 flags:# for_chat:flags.0?true file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;\naccount.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool;\naccount.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool;\naccount.resetWallPapers#bb3b9804 = Bool;\naccount.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings;\naccount.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool;\naccount.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document;\naccount.createTheme#652e4400 flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?Vector = Theme;\naccount.updateTheme#2bf40ccc flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?Vector = Theme;\naccount.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool;\naccount.installTheme#c727bb3b flags:# dark:flags.0?true theme:flags.1?InputTheme format:flags.2?string base_theme:flags.3?BaseTheme = Bool;\naccount.getTheme#3a5869ec format:string theme:InputTheme = Theme;\naccount.getThemes#7206e458 format:string hash:long = account.Themes;\naccount.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool;\naccount.getContentSettings#8b9b4dae = account.ContentSettings;\naccount.getMultiWallPapers#65ad71dc wallpapers:Vector = Vector;\naccount.getGlobalPrivacySettings#eb2b4cf6 = GlobalPrivacySettings;\naccount.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings;\naccount.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;\naccount.resetPassword#9308ce1b = account.ResetPasswordResult;\naccount.declinePasswordReset#4c9409f6 = Bool;\naccount.getChatThemes#d638de89 hash:long = account.Themes;\naccount.setAuthorizationTTL#bf899aa0 authorization_ttl_days:int = Bool;\naccount.changeAuthorizationSettings#40f48462 flags:# confirmed:flags.3?true hash:long encrypted_requests_disabled:flags.0?Bool call_requests_disabled:flags.1?Bool = Bool;\naccount.getSavedRingtones#e1902288 hash:long = account.SavedRingtones;\naccount.saveRingtone#3dea5b03 id:InputDocument unsave:Bool = account.SavedRingtone;\naccount.uploadRingtone#831a83a2 file:InputFile file_name:string mime_type:string = Document;\naccount.updateEmojiStatus#fbd3de6b emoji_status:EmojiStatus = Bool;\naccount.getDefaultEmojiStatuses#d6753386 hash:long = account.EmojiStatuses;\naccount.getRecentEmojiStatuses#f578105 hash:long = account.EmojiStatuses;\naccount.clearRecentEmojiStatuses#18201aae = Bool;\naccount.reorderUsernames#ef500eab order:Vector = Bool;\naccount.toggleUsername#58d6b376 username:string active:Bool = Bool;\naccount.getDefaultProfilePhotoEmojis#e2750328 hash:long = EmojiList;\naccount.getDefaultGroupPhotoEmojis#915860ae hash:long = EmojiList;\naccount.getAutoSaveSettings#adcbbcda = account.AutoSaveSettings;\naccount.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool;\naccount.deleteAutoSaveExceptions#53bc0020 = Bool;\naccount.invalidateSignInCodes#ca8ae8ba codes:Vector = Bool;\naccount.updateColor#7cefa15d flags:# for_profile:flags.1?true color:flags.2?int background_emoji_id:flags.0?long = Bool;\naccount.getDefaultBackgroundEmojis#a60ab9ce hash:long = EmojiList;\naccount.getChannelDefaultEmojiStatuses#7727a7d5 hash:long = account.EmojiStatuses;\naccount.getChannelRestrictedStatusEmojis#35a9e0d5 hash:long = EmojiList;\naccount.updateBusinessWorkHours#4b00e066 flags:# business_work_hours:flags.0?BusinessWorkHours = Bool;\naccount.updateBusinessLocation#9e6b131a flags:# geo_point:flags.1?InputGeoPoint address:flags.0?string = Bool;\naccount.updateBusinessGreetingMessage#66cdafc4 flags:# message:flags.0?InputBusinessGreetingMessage = Bool;\naccount.updateBusinessAwayMessage#a26a7fa5 flags:# message:flags.0?InputBusinessAwayMessage = Bool;\naccount.updateConnectedBot#43d8521d flags:# can_reply:flags.0?true deleted:flags.1?true bot:InputUser recipients:InputBusinessBotRecipients = Updates;\naccount.getConnectedBots#4ea4c80f = account.ConnectedBots;\naccount.getBotBusinessConnection#76a86270 connection_id:string = Updates;\naccount.updateBusinessIntro#a614d034 flags:# intro:flags.0?InputBusinessIntro = Bool;\naccount.toggleConnectedBotPaused#646e1097 peer:InputPeer paused:Bool = Bool;\naccount.disablePeerConnectedBot#5e437ed9 peer:InputPeer = Bool;\naccount.updateBirthday#cc6e0c11 flags:# birthday:flags.0?Birthday = Bool;\naccount.createBusinessChatLink#8851e68e link:InputBusinessChatLink = BusinessChatLink;\naccount.editBusinessChatLink#8c3410af slug:string link:InputBusinessChatLink = BusinessChatLink;\naccount.deleteBusinessChatLink#60073674 slug:string = Bool;\naccount.getBusinessChatLinks#6f70dde1 = account.BusinessChatLinks;\naccount.resolveBusinessChatLink#5492e5ee slug:string = account.ResolvedBusinessChatLinks;\naccount.updatePersonalChannel#d94305e0 channel:InputChannel = Bool;\naccount.toggleSponsoredMessages#b9d9a38d enabled:Bool = Bool;\naccount.getReactionsNotifySettings#6dd654c = ReactionsNotifySettings;\naccount.setReactionsNotifySettings#316ce548 settings:ReactionsNotifySettings = ReactionsNotifySettings;\nusers.getUsers#d91a548 id:Vector = Vector;\nusers.getFullUser#b60f5918 id:InputUser = users.UserFull;\nusers.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool;\nusers.getIsPremiumRequiredToContact#a622aa10 id:Vector = Vector;\ncontacts.getContactIDs#7adc669d hash:long = Vector;\ncontacts.getStatuses#c4a353ee = Vector;\ncontacts.getContacts#5dd69e12 hash:long = contacts.Contacts;\ncontacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts;\ncontacts.deleteContacts#96a0e00 id:Vector = Updates;\ncontacts.deleteByPhones#1013fd9e phones:Vector = Bool;\ncontacts.block#2e2e8734 flags:# my_stories_from:flags.0?true id:InputPeer = Bool;\ncontacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bool;\ncontacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0?true offset:int limit:int = contacts.Blocked;\ncontacts.search#11f812d8 q:string limit:int = contacts.Found;\ncontacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;\ncontacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:long = contacts.TopPeers;\ncontacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;\ncontacts.resetSaved#879537f1 = Bool;\ncontacts.getSaved#82f1e39f = Vector;\ncontacts.toggleTopPeers#8514bdda enabled:Bool = Bool;\ncontacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates;\ncontacts.acceptContact#f831a20f id:InputUser = Updates;\ncontacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates;\ncontacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates;\ncontacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;\ncontacts.exportContactToken#f8654027 = ExportedContactToken;\ncontacts.importContactToken#13005788 token:string = User;\ncontacts.editCloseFriends#ba6705f0 id:Vector = Bool;\ncontacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector limit:int = Bool;\ncontacts.getBirthdays#daeda864 = contacts.ContactBirthdays;\nmessages.getMessages#63c66506 id:Vector = messages.Messages;\nmessages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;\nmessages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;\nmessages.search#29ee847a flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer saved_reaction:flags.3?Vector top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;\nmessages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;\nmessages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;\nmessages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages;\nmessages.receivedMessages#5a954c0 max_id:int = Vector;\nmessages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;\nmessages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;\nmessages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;\nmessages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;\nmessages.reportSpam#cf1592db peer:InputPeer = Bool;\nmessages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;\nmessages.report#8953ab4e peer:InputPeer id:Vector reason:ReportReason message:string = Bool;\nmessages.getChats#49e9528f id:Vector = messages.Chats;\nmessages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull;\nmessages.editChatTitle#73783ffd chat_id:long title:string = Updates;\nmessages.editChatPhoto#35ddd674 chat_id:long photo:InputChatPhoto = Updates;\nmessages.addChatUser#cbc6d107 chat_id:long user_id:InputUser fwd_limit:int = messages.InvitedUsers;\nmessages.deleteChatUser#a2185cab flags:# revoke_history:flags.0?true chat_id:long user_id:InputUser = Updates;\nmessages.createChat#92ceddd4 flags:# users:Vector title:string ttl_period:flags.0?int = messages.InvitedUsers;\nmessages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;\nmessages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;\nmessages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;\nmessages.discardEncryption#f393aea0 flags:# delete_history:flags.0?true chat_id:int = Bool;\nmessages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;\nmessages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool;\nmessages.sendEncrypted#44fa7a15 flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;\nmessages.sendEncryptedFile#5559481d flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;\nmessages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;\nmessages.receivedQueue#55a5bb66 max_qts:int = Vector;\nmessages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;\nmessages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages;\nmessages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;\nmessages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;\nmessages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia;\nmessages.exportChatInvite#a02ce5d5 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string = ExportedChatInvite;\nmessages.checkChatInvite#3eadb1bb hash:string = ChatInvite;\nmessages.importChatInvite#6c50051c hash:string = Updates;\nmessages.getStickerSet#c8a0ec74 stickerset:InputStickerSet hash:int = messages.StickerSet;\nmessages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult;\nmessages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;\nmessages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;\nmessages.getMessagesViews#5784d3e1 peer:InputPeer id:Vector increment:Bool = messages.MessageViews;\nmessages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = Bool;\nmessages.migrateChat#a2875319 chat_id:long = Updates;\nmessages.searchGlobal#4bc6589a flags:# broadcasts_only:flags.1?true folder_id:flags.0?int q:string filter:MessagesFilter min_date:int max_date:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;\nmessages.reorderStickerSets#78337739 flags:# masks:flags.0?true emojis:flags.1?true order:Vector = Bool;\nmessages.getDocumentByHash#b1f2061f sha256:bytes size:long mime_type:string = Document;\nmessages.getSavedGifs#5cf09635 hash:long = messages.SavedGifs;\nmessages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;\nmessages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;\nmessages.setInlineBotResults#bb12a419 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM switch_webview:flags.4?InlineBotWebView = Bool;\nmessages.sendInlineBotResult#3ebee86a flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to:flags.0?InputReplyTo random_id:long query_id:long id:string schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;\nmessages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;\nmessages.editMessage#dfd14005 flags:# no_webpage:flags.1?true invert_media:flags.16?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int quick_reply_shortcut_id:flags.17?int = Updates;\nmessages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true invert_media:flags.16?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool;\nmessages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswer;\nmessages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;\nmessages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs;\nmessages.saveDraft#d372c5ce flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo peer:InputPeer message:string entities:flags.3?Vector media:flags.5?InputMedia effect:flags.7?long = Bool;\nmessages.getAllDrafts#6a3f8d65 = Updates;\nmessages.getFeaturedStickers#64780b14 hash:long = messages.FeaturedStickers;\nmessages.readFeaturedStickers#5b118126 id:Vector = Bool;\nmessages.getRecentStickers#9da9403b flags:# attached:flags.0?true hash:long = messages.RecentStickers;\nmessages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;\nmessages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;\nmessages.getArchivedStickers#57f17692 flags:# masks:flags.0?true emojis:flags.1?true offset_id:long limit:int = messages.ArchivedStickers;\nmessages.getMaskStickers#640f82b8 hash:long = messages.AllStickers;\nmessages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector;\nmessages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;\nmessages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;\nmessages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;\nmessages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores;\nmessages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;\nmessages.getWebPage#8d9692a3 url:string hash:int = messages.WebPage;\nmessages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;\nmessages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool;\nmessages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs;\nmessages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool;\nmessages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool;\nmessages.uploadMedia#14967978 flags:# business_connection_id:flags.0?string peer:InputPeer media:InputMedia = MessageMedia;\nmessages.sendScreenshotNotification#a1405817 peer:InputPeer reply_to:InputReplyTo random_id:long = Updates;\nmessages.getFavedStickers#4f1aaa9 hash:long = messages.FavedStickers;\nmessages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;\nmessages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;\nmessages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;\nmessages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages;\nmessages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;\nmessages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;\nmessages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;\nmessages.getSplitRanges#1cff7e08 = Vector;\nmessages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;\nmessages.getDialogUnreadMarks#22e24e22 = Vector;\nmessages.clearAllDrafts#7e58ee9c = Bool;\nmessages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = Updates;\nmessages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates;\nmessages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates;\nmessages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines;\nmessages.editChatAbout#def60797 peer:InputPeer about:string = Bool;\nmessages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates;\nmessages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference;\nmessages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference;\nmessages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector;\nmessages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL;\nmessages.getSearchCounters#1bbcf300 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer top_msg_id:flags.0?int filters:Vector = Vector;\nmessages.requestUrlAuth#198fb446 flags:# peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult;\nmessages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult;\nmessages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool;\nmessages.getScheduledHistory#f516760b peer:InputPeer hash:long = messages.Messages;\nmessages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages;\nmessages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates;\nmessages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates;\nmessages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList;\nmessages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector = Bool;\nmessages.getDialogFilters#efd48c89 = messages.DialogFilters;\nmessages.getSuggestedDialogFilters#a29cd42c = Vector;\nmessages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool;\nmessages.updateDialogFiltersOrder#c563c1e4 order:Vector = Bool;\nmessages.getOldFeaturedStickers#7ed094a1 offset:int limit:int hash:long = messages.FeaturedStickers;\nmessages.getReplies#22ddd30c peer:InputPeer msg_id:int offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;\nmessages.getDiscussionMessage#446972fd peer:InputPeer msg_id:int = messages.DiscussionMessage;\nmessages.readDiscussion#f731a9f4 peer:InputPeer msg_id:int read_max_id:int = Bool;\nmessages.unpinAllMessages#ee22b9a8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;\nmessages.deleteChat#5bd0ee50 chat_id:long = Bool;\nmessages.deletePhoneCallHistory#f9cbe409 flags:# revoke:flags.0?true = messages.AffectedFoundMessages;\nmessages.checkHistoryImport#43fe19f3 import_head:string = messages.HistoryImportParsed;\nmessages.initHistoryImport#34090c3b peer:InputPeer file:InputFile media_count:int = messages.HistoryImport;\nmessages.uploadImportedMedia#2a862092 peer:InputPeer import_id:long file_name:string media:InputMedia = MessageMedia;\nmessages.startHistoryImport#b43df344 peer:InputPeer import_id:long = Bool;\nmessages.getExportedChatInvites#a2b5a3f6 flags:# revoked:flags.3?true peer:InputPeer admin_id:InputUser offset_date:flags.2?int offset_link:flags.2?string limit:int = messages.ExportedChatInvites;\nmessages.getExportedChatInvite#73746f5c peer:InputPeer link:string = messages.ExportedChatInvite;\nmessages.editExportedChatInvite#bdca2f75 flags:# revoked:flags.2?true peer:InputPeer link:string expire_date:flags.0?int usage_limit:flags.1?int request_needed:flags.3?Bool title:flags.4?string = messages.ExportedChatInvite;\nmessages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool;\nmessages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;\nmessages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;\nmessages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;\nmessages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;\nmessages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;\nmessages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates;\nmessages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector;\nmessages.getSearchResultsCalendar#6aa3f6bd flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar;\nmessages.getSearchResultsPositions#9c7f2f10 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;\nmessages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates;\nmessages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0?true peer:InputPeer link:flags.1?string = Updates;\nmessages.toggleNoForwards#b11eafa2 peer:InputPeer enabled:Bool = Updates;\nmessages.saveDefaultSendAs#ccfddf96 peer:InputPeer send_as:InputPeer = Bool;\nmessages.sendReaction#d30d78d4 flags:# big:flags.1?true add_to_recent:flags.2?true peer:InputPeer msg_id:int reaction:flags.0?Vector = Updates;\nmessages.getMessagesReactions#8bba90e6 peer:InputPeer id:Vector = Updates;\nmessages.getMessageReactionsList#461b3f48 flags:# peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = messages.MessageReactionsList;\nmessages.setChatAvailableReactions#5a150bd4 flags:# peer:InputPeer available_reactions:ChatReactions reactions_limit:flags.0?int = Updates;\nmessages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions;\nmessages.setDefaultReaction#4f47a016 reaction:Reaction = Bool;\nmessages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector text:flags.1?Vector to_lang:string = messages.TranslatedText;\nmessages.getUnreadReactions#3223495b flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;\nmessages.readReactions#54aa7f8e flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;\nmessages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;\nmessages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;\nmessages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;\nmessages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;\nmessages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;\nmessages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;\nmessages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;\nmessages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;\nmessages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;\nmessages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;\nmessages.rateTranscribedAudio#7f1d072f peer:InputPeer msg_id:int transcription_id:long good:Bool = Bool;\nmessages.getCustomEmojiDocuments#d9ab0f54 document_id:Vector = Vector;\nmessages.getEmojiStickers#fbfca18f hash:long = messages.AllStickers;\nmessages.getFeaturedEmojiStickers#ecf6736 hash:long = messages.FeaturedStickers;\nmessages.reportReaction#3f64c076 peer:InputPeer id:int reaction_peer:InputPeer = Bool;\nmessages.getTopReactions#bb8125ba limit:int hash:long = messages.Reactions;\nmessages.getRecentReactions#39461db2 limit:int hash:long = messages.Reactions;\nmessages.clearRecentReactions#9dfeefb4 = Bool;\nmessages.getExtendedMedia#84f80814 peer:InputPeer id:Vector = Updates;\nmessages.setDefaultHistoryTTL#9eb51445 period:int = Bool;\nmessages.getDefaultHistoryTTL#658b7188 = DefaultHistoryTTL;\nmessages.sendBotRequestedPeer#91b2d060 peer:InputPeer msg_id:int button_id:int requested_peers:Vector = Updates;\nmessages.getEmojiGroups#7488ce5b hash:int = messages.EmojiGroups;\nmessages.getEmojiStatusGroups#2ecd56cd hash:int = messages.EmojiGroups;\nmessages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups;\nmessages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;\nmessages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;\nmessages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;\nmessages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;\nmessages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;\nmessages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;\nmessages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;\nmessages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;\nmessages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;\nmessages.getPinnedSavedDialogs#d63d94e0 = messages.SavedDialogs;\nmessages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;\nmessages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector = Bool;\nmessages.getSavedReactionTags#3637e05b flags:# peer:flags.0?InputPeer hash:long = messages.SavedReactionTags;\nmessages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool;\nmessages.getDefaultTagReactions#bdf93428 hash:long = messages.Reactions;\nmessages.getOutboxReadDate#8c4bfe5d peer:InputPeer msg_id:int = OutboxReadDate;\nmessages.getQuickReplies#d483f2a8 hash:long = messages.QuickReplies;\nmessages.reorderQuickReplies#60331907 order:Vector = Bool;\nmessages.checkQuickReplyShortcut#f1d0fbd3 shortcut:string = Bool;\nmessages.editQuickReplyShortcut#5c003cef shortcut_id:int shortcut:string = Bool;\nmessages.deleteQuickReplyShortcut#3cc04740 shortcut_id:int = Bool;\nmessages.getQuickReplyMessages#94a495c3 flags:# shortcut_id:int id:flags.0?Vector hash:long = messages.Messages;\nmessages.sendQuickReplyMessages#6c750de1 peer:InputPeer shortcut_id:int id:Vector random_id:Vector = Updates;\nmessages.deleteQuickReplyMessages#e105e910 shortcut_id:int id:Vector = Updates;\nmessages.toggleDialogFilterTags#fd2dda49 enabled:Bool = Bool;\nmessages.getMyStickers#d0b5e1fc offset_id:long limit:int = messages.MyStickers;\nmessages.getEmojiStickerGroups#1dd840f5 hash:int = messages.EmojiGroups;\nmessages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects;\nmessages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates;\nmessages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates;\nmessages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector = Vector;\nupdates.getState#edd4882a = updates.State;\nupdates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;\nupdates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;\nphotos.updateProfilePhoto#9e82039 flags:# fallback:flags.0?true bot:flags.1?InputUser id:InputPhoto = photos.Photo;\nphotos.uploadProfilePhoto#388a3b5 flags:# fallback:flags.3?true bot:flags.5?InputUser file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.4?VideoSize = photos.Photo;\nphotos.deletePhotos#87cf7f2f id:Vector = Vector;\nphotos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;\nphotos.uploadContactProfilePhoto#e14c4a71 flags:# suggest:flags.3?true save:flags.4?true user_id:InputUser file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.5?VideoSize = photos.Photo;\nupload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;\nupload.getFile#be5335be flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:long limit:int = upload.File;\nupload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;\nupload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;\nupload.getCdnFile#395f69da file_token:bytes offset:long limit:int = upload.CdnFile;\nupload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector;\nupload.getCdnFileHashes#91dc3f31 file_token:bytes offset:long = Vector;\nupload.getFileHashes#9156982a location:InputFileLocation offset:long = Vector;\nhelp.getConfig#c4f9186b = Config;\nhelp.getNearestDc#1fb33026 = NearestDc;\nhelp.getAppUpdate#522d5a7d source:string = help.AppUpdate;\nhelp.getInviteText#4d392343 = help.InviteText;\nhelp.getSupport#9cdf08cd = help.Support;\nhelp.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;\nhelp.getCdnConfig#52029342 = CdnConfig;\nhelp.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;\nhelp.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate;\nhelp.acceptTermsOfService#ee72f79a id:DataJSON = Bool;\nhelp.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo;\nhelp.getAppConfig#61e3f854 hash:int = help.AppConfig;\nhelp.saveAppLog#6f02f748 events:Vector = Bool;\nhelp.getPassportConfig#c661ad08 hash:int = help.PassportConfig;\nhelp.getSupportName#d360e72c = help.SupportName;\nhelp.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo;\nhelp.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo;\nhelp.getPromoData#c0977421 = help.PromoData;\nhelp.hidePromoData#1e251c95 peer:InputPeer = Bool;\nhelp.dismissSuggestion#f50dbaa1 peer:InputPeer suggestion:string = Bool;\nhelp.getCountriesList#735787a8 lang_code:string hash:int = help.CountriesList;\nhelp.getPremiumPromo#b81b93d4 = help.PremiumPromo;\nhelp.getPeerColors#da80f42f hash:int = help.PeerColors;\nhelp.getPeerProfileColors#abcfa9fd hash:int = help.PeerColors;\nhelp.getTimezonesList#49b30240 hash:int = help.TimezonesList;\nchannels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;\nchannels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages;\nchannels.reportSpam#f44a8315 channel:InputChannel participant:InputPeer id:Vector = Bool;\nchannels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages;\nchannels.getParticipants#77ced9d0 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:long = channels.ChannelParticipants;\nchannels.getParticipant#a0ab6cc6 channel:InputChannel participant:InputPeer = channels.ChannelParticipant;\nchannels.getChannels#a7f6bbb id:Vector = messages.Chats;\nchannels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;\nchannels.createChannel#91006707 flags:# broadcast:flags.0?true megagroup:flags.1?true for_import:flags.3?true forum:flags.5?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string ttl_period:flags.4?int = Updates;\nchannels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates;\nchannels.editTitle#566decd0 channel:InputChannel title:string = Updates;\nchannels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;\nchannels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;\nchannels.updateUsername#3514b3de channel:InputChannel username:string = Bool;\nchannels.joinChannel#24b524c5 channel:InputChannel = Updates;\nchannels.leaveChannel#f836aa95 channel:InputChannel = Updates;\nchannels.inviteToChannel#c9e33d54 channel:InputChannel users:Vector = messages.InvitedUsers;\nchannels.deleteChannel#c0111fe3 channel:InputChannel = Updates;\nchannels.exportMessageLink#e63fadeb flags:# grouped:flags.0?true thread:flags.1?true channel:InputChannel id:int = ExportedMessageLink;\nchannels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;\nchannels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true for_personal:flags.2?true = messages.Chats;\nchannels.editBanned#96e6cd81 channel:InputChannel participant:InputPeer banned_rights:ChatBannedRights = Updates;\nchannels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults;\nchannels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;\nchannels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool;\nchannels.deleteHistory#9baa9647 flags:# for_everyone:flags.0?true channel:InputChannel max_id:int = Updates;\nchannels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;\nchannels.getLeftChannels#8341ecc0 offset:int = messages.Chats;\nchannels.getGroupsForDiscussion#f5dad378 = messages.Chats;\nchannels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool;\nchannels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates;\nchannels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool;\nchannels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;\nchannels.getInactiveChannels#11e831ee = messages.InactiveChats;\nchannels.convertToGigagroup#b290c69 channel:InputChannel = Updates;\nchannels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;\nchannels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;\nchannels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;\nchannels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory;\nchannels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;\nchannels.toggleJoinRequest#4c2985b6 channel:InputChannel enabled:Bool = Updates;\nchannels.reorderUsernames#b45ced1d channel:InputChannel order:Vector = Bool;\nchannels.toggleUsername#50f24105 channel:InputChannel username:string active:Bool = Bool;\nchannels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool;\nchannels.toggleForum#a4298b29 channel:InputChannel enabled:Bool = Updates;\nchannels.createForumTopic#f40c0224 flags:# channel:InputChannel title:string icon_color:flags.0?int icon_emoji_id:flags.3?long random_id:long send_as:flags.2?InputPeer = Updates;\nchannels.getForumTopics#de560d1 flags:# channel:InputChannel q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;\nchannels.getForumTopicsByID#b0831eb9 channel:InputChannel topics:Vector = messages.ForumTopics;\nchannels.editForumTopic#f4dfa185 flags:# channel:InputChannel topic_id:int title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = Updates;\nchannels.updatePinnedForumTopic#6c2d9026 channel:InputChannel topic_id:int pinned:Bool = Updates;\nchannels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;\nchannels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:InputChannel order:Vector = Updates;\nchannels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;\nchannels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;\nchannels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;\nchannels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;\nchannels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;\nchannels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;\nchannels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;\nchannels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates;\nchannels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates;\nchannels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool;\nchannels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult;\nchannels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates;\nchannels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;\nbots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;\nbots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;\nbots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector = Bool;\nbots.resetBotCommands#3d8de0f9 scope:BotCommandScope lang_code:string = Bool;\nbots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector;\nbots.setBotMenuButton#4504d54f user_id:InputUser button:BotMenuButton = Bool;\nbots.getBotMenuButton#9c60eb28 user_id:InputUser = BotMenuButton;\nbots.setBotBroadcastDefaultAdminRights#788464e1 admin_rights:ChatAdminRights = Bool;\nbots.setBotGroupDefaultAdminRights#925ec9ea admin_rights:ChatAdminRights = Bool;\nbots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool;\nbots.getBotInfo#dcd914fd flags:# bot:flags.0?InputUser lang_code:string = bots.BotInfo;\nbots.reorderUsernames#9709b1c2 bot:InputUser order:Vector = Bool;\nbots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;\nbots.canSendMessage#1359f4e6 bot:InputUser = Bool;\nbots.allowSendMessage#f132e3ef bot:InputUser = Updates;\nbots.invokeWebViewCustomMethod#87fc5e7 bot:InputUser custom_method:string params:DataJSON = DataJSON;\npayments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;\npayments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;\npayments.validateRequestedInfo#b6c8f12b flags:# save:flags.0?true invoice:InputInvoice info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;\npayments.sendPaymentForm#2d03522f flags:# form_id:long invoice:InputInvoice requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials tip_amount:flags.2?long = payments.PaymentResult;\npayments.getSavedInfo#227d824b = payments.SavedInfo;\npayments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;\npayments.getBankCardData#2e79d779 number:string = payments.BankCardData;\npayments.exportInvoice#f91b065 invoice_media:InputMedia = payments.ExportedInvoice;\npayments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;\npayments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;\npayments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;\npayments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector;\npayments.checkGiftCode#8e51b4c1 slug:string = payments.CheckedGiftCode;\npayments.applyGiftCode#f6e26854 slug:string = Updates;\npayments.getGiveawayInfo#f4239425 peer:InputPeer msg_id:int = payments.GiveawayInfo;\npayments.launchPrepaidGiveaway#5ff58f20 peer:InputPeer giveaway_id:long purpose:InputStorePaymentPurpose = Updates;\npayments.getStarsTopupOptions#c00ec7d3 = Vector;\npayments.getStarsStatus#104fcfa7 peer:InputPeer = payments.StarsStatus;\npayments.getStarsTransactions#97938d5a flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true peer:InputPeer offset:string limit:int = payments.StarsStatus;\npayments.sendStarsForm#2bb731d flags:# form_id:long invoice:InputInvoice = payments.PaymentResult;\npayments.refundStarsCharge#25ae8f4a user_id:InputUser charge_id:string = Updates;\npayments.getStarsRevenueStats#d91ffad6 flags:# dark:flags.0?true peer:InputPeer = payments.StarsRevenueStats;\npayments.getStarsRevenueWithdrawalUrl#13bbe8b3 peer:InputPeer stars:long password:InputCheckPasswordSRP = payments.StarsRevenueWithdrawalUrl;\npayments.getStarsRevenueAdsAccountUrl#d1d7efc5 peer:InputPeer = payments.StarsRevenueAdsAccountUrl;\npayments.getStarsTransactionsByID#27842d2e peer:InputPeer id:Vector = payments.StarsStatus;\nstickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector software:flags.3?string = messages.StickerSet;\nstickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;\nstickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;\nstickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;\nstickers.setStickerSetThumb#a76a5392 flags:# stickerset:InputStickerSet thumb:flags.0?InputDocument thumb_document_id:flags.1?long = messages.StickerSet;\nstickers.checkShortName#284b3639 short_name:string = Bool;\nstickers.suggestShortName#4dafc503 title:string = stickers.SuggestedShortName;\nstickers.changeSticker#f5537ebc flags:# sticker:InputDocument emoji:flags.0?string mask_coords:flags.1?MaskCoords keywords:flags.2?string = messages.StickerSet;\nstickers.renameStickerSet#124b1c00 stickerset:InputStickerSet title:string = messages.StickerSet;\nstickers.deleteStickerSet#87704394 stickerset:InputStickerSet = Bool;\nstickers.replaceSticker#4696459a sticker:InputDocument new_sticker:InputStickerSetItem = messages.StickerSet;\nphone.getCallConfig#55451fa9 = DataJSON;\nphone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;\nphone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;\nphone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;\nphone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;\nphone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;\nphone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates;\nphone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;\nphone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool;\nphone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;\nphone.joinGroupCall#b132ff7b flags:# muted:flags.0?true video_stopped:flags.2?true call:InputGroupCall join_as:InputPeer invite_hash:flags.1?string params:DataJSON = Updates;\nphone.leaveGroupCall#500377f9 call:InputGroupCall source:int = Updates;\nphone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector = Updates;\nphone.discardGroupCall#7a777135 call:InputGroupCall = Updates;\nphone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1?true call:InputGroupCall join_muted:flags.0?Bool = Updates;\nphone.getGroupCall#41845db call:InputGroupCall limit:int = phone.GroupCall;\nphone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector sources:Vector offset:string limit:int = phone.GroupParticipants;\nphone.checkGroupCall#b59cf977 call:InputGroupCall sources:Vector = Vector;\nphone.toggleGroupCallRecord#f128c708 flags:# start:flags.0?true video:flags.2?true call:InputGroupCall title:flags.1?string video_portrait:flags.2?Bool = Updates;\nphone.editGroupCallParticipant#a5273abf flags:# call:InputGroupCall participant:InputPeer muted:flags.0?Bool volume:flags.1?int raise_hand:flags.2?Bool video_stopped:flags.3?Bool video_paused:flags.4?Bool presentation_paused:flags.5?Bool = Updates;\nphone.editGroupCallTitle#1ca6ac0a call:InputGroupCall title:string = Updates;\nphone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone.JoinAsPeers;\nphone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0?true call:InputGroupCall = phone.ExportedGroupCallInvite;\nphone.toggleGroupCallStartSubscription#219c34e6 call:InputGroupCall subscribed:Bool = Updates;\nphone.startScheduledGroupCall#5680e342 call:InputGroupCall = Updates;\nphone.saveDefaultGroupCallJoinAs#575e1f8c peer:InputPeer join_as:InputPeer = Bool;\nphone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = Updates;\nphone.leaveGroupCallPresentation#1c50d144 call:InputGroupCall = Updates;\nphone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;\nphone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;\nphone.saveCallLog#41248786 peer:InputPhoneCall file:InputFile = Bool;\nlangpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;\nlangpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector;\nlangpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;\nlangpack.getLanguages#42c6978f lang_pack:string = Vector;\nlangpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage;\nfolders.editPeerFolders#6847d0ab folder_peers:Vector = Updates;\nstats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats;\nstats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;\nstats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats;\nstats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:string limit:int = stats.PublicForwards;\nstats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;\nstats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats;\nstats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards;\nstats.getBroadcastRevenueStats#75dfb671 flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastRevenueStats;\nstats.getBroadcastRevenueWithdrawalUrl#2a65ef73 channel:InputChannel password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;\nstats.getBroadcastRevenueTransactions#69280f channel:InputChannel offset:int limit:int = stats.BroadcastRevenueTransactions;\nchatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector = chatlists.ExportedChatlistInvite;\nchatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool;\nchatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector = ExportedChatlistInvite;\nchatlists.getExportedInvites#ce03da83 chatlist:InputChatlist = chatlists.ExportedInvites;\nchatlists.checkChatlistInvite#41c10fff slug:string = chatlists.ChatlistInvite;\nchatlists.joinChatlistInvite#a6b1e39a slug:string peers:Vector = Updates;\nchatlists.getChatlistUpdates#89419521 chatlist:InputChatlist = chatlists.ChatlistUpdates;\nchatlists.joinChatlistUpdates#e089f8f5 chatlist:InputChatlist peers:Vector = Updates;\nchatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlist = Bool;\nchatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector;\nchatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector = Updates;\nstories.canSendStory#c7dfdfdd peer:InputPeer = Bool;\nstories.sendStory#e4e6694b flags:# pinned:flags.2?true noforwards:flags.4?true fwd_modified:flags.7?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector caption:flags.0?string entities:flags.1?Vector privacy_rules:Vector random_id:long period:flags.3?int fwd_from_id:flags.6?InputPeer fwd_from_story:flags.6?int = Updates;\nstories.editStory#b583ba46 flags:# peer:InputPeer id:int media:flags.0?InputMedia media_areas:flags.3?Vector caption:flags.1?string entities:flags.1?Vector privacy_rules:flags.2?Vector = Updates;\nstories.deleteStories#ae59db5f peer:InputPeer id:Vector = Vector;\nstories.togglePinned#9a75a1ef peer:InputPeer id:Vector pinned:Bool = Vector;\nstories.getAllStories#eeb0d625 flags:# next:flags.1?true hidden:flags.2?true state:flags.0?string = stories.AllStories;\nstories.getPinnedStories#5821a5dc peer:InputPeer offset_id:int limit:int = stories.Stories;\nstories.getStoriesArchive#b4352016 peer:InputPeer offset_id:int limit:int = stories.Stories;\nstories.getStoriesByID#5774ca74 peer:InputPeer id:Vector = stories.Stories;\nstories.toggleAllStoriesHidden#7c2557c4 hidden:Bool = Bool;\nstories.readStories#a556dac8 peer:InputPeer max_id:int = Vector;\nstories.incrementStoryViews#b2028afb peer:InputPeer id:Vector = Bool;\nstories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true forwards_first:flags.3?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList;\nstories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector = stories.StoryViews;\nstories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink;\nstories.report#1923fa8c peer:InputPeer id:Vector reason:ReportReason message:string = Bool;\nstories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates;\nstories.sendReaction#7fd736b2 flags:# add_to_recent:flags.0?true peer:InputPeer story_id:int reaction:Reaction = Updates;\nstories.getPeerStories#2c4ada50 peer:InputPeer = stories.PeerStories;\nstories.getAllReadPeerStories#9b5ae7f9 = Updates;\nstories.getPeerMaxIDs#535983c3 id:Vector = Vector;\nstories.getChatsToSend#a56a8b60 = messages.Chats;\nstories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;\nstories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList;\nstories.togglePinnedToTop#b297e9b peer:InputPeer id:Vector = Bool;\nstories.searchPosts#6cea116a flags:# hashtag:flags.0?string area:flags.1?MediaArea offset:string limit:int = stories.FoundStories;\npremium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList;\npremium.getMyBoosts#be77b4a = premium.MyBoosts;\npremium.applyBoost#6b7da746 flags:# slots:flags.0?Vector peer:InputPeer = premium.MyBoosts;\npremium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus;\npremium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList;\nsmsjobs.isEligibleToJoin#edc39d0 = smsjobs.EligibilityToJoin;\nsmsjobs.join#a74ece2d = Bool;\nsmsjobs.leave#9898ad73 = Bool;\nsmsjobs.updateSettings#93fa0bf flags:# allow_international:flags.0?true = Bool;\nsmsjobs.getStatus#10a698e8 = smsjobs.Status;\nsmsjobs.getSmsJob#778d902f job_id:string = SmsJob;\nsmsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;\nfragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo;\n`},82500:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.GZIPPacked=void 0;const s=n(87440);const i=n(43585);class GZIPPacked{constructor(e){this.data=e;this.CONSTRUCTOR_ID=812830625;this.classType="constructor"}static async gzipIfSmaller(e,r){if(e&&r.length>512){const e=await new GZIPPacked(r).toBytes();if(e.length{Object.defineProperty(r,"__esModule",{value:true});r.MessageContainer=void 0;const s=n(30973);class MessageContainer{constructor(e){this.CONSTRUCTOR_ID=1945237724;this.messages=e;this.classType="constructor"}static async fromReader(e){const r=[];const n=e.readInt();for(let i=0;i{Object.defineProperty(r,"__esModule",{value:true});r.RPCResult=void 0;const s=n(11820);const i=n(29842);class RPCResult{constructor(e,r,n){this.CONSTRUCTOR_ID=4082920705;this.reqMsgId=e;this.body=r;this.error=n;this.classType="constructor"}static async fromReader(e){const r=e.readLong();const n=e.readInt(false);if(n===s.Api.RpcError.CONSTRUCTOR_ID){return new RPCResult(r,undefined,s.Api.RpcError.fromReader(e))}if(n===i.GZIPPacked.CONSTRUCTOR_ID){return new RPCResult(r,(await i.GZIPPacked.fromReader(e)).data)}e.seek(-4);return new RPCResult(r,e.read(),undefined)}}r.RPCResult=RPCResult;RPCResult.CONSTRUCTOR_ID=4082920705;RPCResult.classType="constructor"},30973:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.TLMessage=void 0;class TLMessage{constructor(e,r,n){this.msgId=e;this.seqNo=r;this.obj=n;this.classType="constructor"}}r.TLMessage=TLMessage;TLMessage.SIZE_OVERHEAD=12;TLMessage.classType="constructor"},29842:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.GZIPPacked=r.MessageContainer=r.TLMessage=r.RPCResult=r.coreObjects=void 0;const s=n(30973);Object.defineProperty(r,"TLMessage",{enumerable:true,get:function(){return s.TLMessage}});const i=n(98828);Object.defineProperty(r,"RPCResult",{enumerable:true,get:function(){return i.RPCResult}});const o=n(61530);Object.defineProperty(r,"MessageContainer",{enumerable:true,get:function(){return o.MessageContainer}});const c=n(82500);Object.defineProperty(r,"GZIPPacked",{enumerable:true,get:function(){return c.GZIPPacked}});r.coreObjects=new Map([[i.RPCResult.CONSTRUCTOR_ID,i.RPCResult],[c.GZIPPacked.CONSTRUCTOR_ID,c.GZIPPacked],[o.MessageContainer.CONSTRUCTOR_ID,o.MessageContainer]])},50808:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Button=void 0;const s=n(11820);const i=n(18219);const o=n(10330);const c=n(42355);class Button{constructor(e,r,n,s){this.button=e;this.resize=r;this.singleUse=n;this.selective=s}[c.inspect.custom](){return(0,o.betterConsoleLog)(this)}static _isInline(e){return e instanceof s.Api.KeyboardButtonCallback||e instanceof s.Api.KeyboardButtonSwitchInline||e instanceof s.Api.KeyboardButtonUrl||e instanceof s.Api.KeyboardButtonUrlAuth||e instanceof s.Api.InputKeyboardButtonUrlAuth}static inline(e,r){if(!r){r=Buffer.from(e,"utf-8")}if(r.length>64){throw new Error("Too many bytes for the data")}return new s.Api.KeyboardButtonCallback({text:e,data:r})}static switchInline(e,r="",n=false){return new s.Api.KeyboardButtonSwitchInline({text:e,query:r,samePeer:n})}static url(e,r){return new s.Api.KeyboardButtonUrl({text:e,url:r||e})}static auth(e,r,n,o,c){return new s.Api.InputKeyboardButtonUrlAuth({text:e,url:r||e,bot:i.utils.getInputUser(n||new s.Api.InputUserSelf),requestWriteAccess:o,fwdText:c})}static text(e,r,n,i){return new this(new s.Api.KeyboardButton({text:e}),r,n,i)}static requestLocation(e,r,n,i){return new this(new s.Api.KeyboardButtonRequestGeoLocation({text:e}),r,n,i)}static requestPhone(e,r,n,i){return new this(new s.Api.KeyboardButtonRequestPhone({text:e}),r,n,i)}static requestPoll(e,r,n,i){return new this(new s.Api.KeyboardButtonRequestPoll({text:e}),r,n,i)}static clear(){return new s.Api.ReplyKeyboardHide({})}static forceReply(){return new s.Api.ReplyKeyboardForceReply({})}}r.Button=Button},16077:function(e,r,n){var s=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],n;return r?r.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(r){n[r]=e[r]&&function(n){return new Promise((function(s,i){n=e[r](n),settle(s,i,n.done,n.value)}))}}function settle(e,r,n,s){Promise.resolve(s).then((function(r){e({value:r,done:n})}),r)}};Object.defineProperty(r,"__esModule",{value:true});r.ChatGetter=void 0;const i=n(18219);const o=n(11820);const c=n(10330);const u=n(42355);class ChatGetter{[u.inspect.custom](){return(0,c.betterConsoleLog)(this)}static initChatClass(e,{chatPeer:r,inputChat:n,chat:s,broadcast:i}){e._chatPeer=r;e._inputChat=n;e._chat=s;e._broadcast=i;e._client=undefined}get chat(){return this._chat}async getChat(){var e;if(!this._chat||"min"in this._chat&&await this.getInputChat()){try{if(this._inputChat){this._chat=await((e=this._client)===null||e===void 0?void 0:e.getEntity(this._inputChat))}}catch(e){await this._refetchChat()}}return this._chat}get inputChat(){if(!this._inputChat&&this._chatPeer&&this._client){try{this._inputChat=this._client._entityCache.get(i.utils.getPeerId(this._chatPeer))}catch(e){}}return this._inputChat}async getInputChat(){var e,r;if(!this.inputChat&&this.chatId&&this._client){try{const o=this.chatId;try{for(var n=s(this._client.iterDialogs({limit:100})),i;i=await n.next(),!i.done;){const e=i.value;if(e.id.eq(o)){this._chat=e.entity;this._inputChat=e.inputEntity;break}}}catch(r){e={error:r}}finally{try{if(i&&!i.done&&(r=n.return))await r.call(n)}finally{if(e)throw e.error}}}catch(e){}return this._inputChat}return this._inputChat}get chatId(){return this._chatPeer?(0,c.returnBigInt)(i.utils.getPeerId(this._chatPeer)):undefined}get isPrivate(){return this._chatPeer?this._chatPeer instanceof o.Api.PeerUser:undefined}get isGroup(){if(!this._broadcast&&this.chat&&"broadcast"in this.chat){this._broadcast=Boolean(this.chat.broadcast)}if(this._chatPeer instanceof o.Api.PeerChannel){if(this._broadcast===undefined){return undefined}else{return!this._broadcast}}return this._chatPeer instanceof o.Api.PeerChat}get isChannel(){return this._chatPeer instanceof o.Api.PeerChannel}async _refetchChat(){}}r.ChatGetter=ChatGetter},56556:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Dialog=void 0;const s=n(11820);const i=n(29078);const o=n(48761);const c=n(10330);const u=n(42355);class Dialog{constructor(e,r,n,u){this._client=e;this.dialog=r;this.pinned=!!r.pinned;this.folderId=r.folderId;this.archived=r.folderId!=undefined;this.message=u;this.date=this.message.date;this.entity=n.get((0,i.getPeerId)(r.peer));this.inputEntity=(0,i.getInputPeer)(this.entity);if(this.entity){this.id=(0,c.returnBigInt)((0,i.getPeerId)(this.entity));this.name=this.title=(0,i.getDisplayName)(this.entity)}this.unreadCount=r.unreadCount;this.unreadMentionsCount=r.unreadMentionsCount;if(!this.entity){throw new Error("Entity not found for dialog")}this.draft=new o.Draft(e,this.entity,this.dialog.draft);this.isUser=this.entity instanceof s.Api.User;this.isGroup=!!(this.entity instanceof s.Api.Chat||this.entity instanceof s.Api.ChatForbidden||this.entity instanceof s.Api.Channel&&this.entity.megagroup);this.isChannel=this.entity instanceof s.Api.Channel}[u.inspect.custom](){return(0,c.betterConsoleLog)(this)}}r.Dialog=Dialog},48761:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Draft=void 0;const s=n(29078);const i=n(11820);const o=n(10330);const c=n(42355);class Draft{constructor(e,r,n){this._client=e;this._peer=(0,s.getPeer)(r);this._entity=r;this._inputEntity=r?(0,s.getInputPeer)(r):undefined;if(!n||!(n instanceof i.Api.DraftMessage)){n=new i.Api.DraftMessage({message:"",date:-1})}if(!(n instanceof i.Api.DraftMessageEmpty)){this.linkPreview=!n.noWebpage;this._text=e.parseMode?e.parseMode.unparse(n.message,n.entities||[]):n.message;this._rawText=n.message;this.date=n.date;const r=n.replyTo;if(r!=undefined){if("replyToMsgId"in r){this.replyToMsgId=r.replyToMsgId}}}}[c.inspect.custom](){return(0,o.betterConsoleLog)(this)}get entity(){return this._entity}get inputEntity(){if(!this._inputEntity){this._inputEntity=this._client._entityCache.get(this._peer)}return this._inputEntity}}r.Draft=Draft},18998:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.File=void 0;const s=n(11820);const i=n(29078);const o=n(10330);const c=n(42355);class File{constructor(e){this.media=e}[c.inspect.custom](){return(0,o.betterConsoleLog)(this)}get id(){throw new Error("Unsupported")}get name(){return this._fromAttr(s.Api.DocumentAttributeFilename,"fileName")}get mimeType(){if(this.media instanceof s.Api.Photo){return"image/jpeg"}else if(this.media instanceof s.Api.Document){return this.media.mimeType}}get width(){return this._fromAttr([s.Api.DocumentAttributeImageSize,s.Api.DocumentAttributeVideo],"w")}get height(){return this._fromAttr([s.Api.DocumentAttributeImageSize,s.Api.DocumentAttributeVideo],"h")}get duration(){return this._fromAttr([s.Api.DocumentAttributeAudio,s.Api.DocumentAttributeVideo],"duration")}get title(){return this._fromAttr(s.Api.DocumentAttributeAudio,"title")}get performer(){return this._fromAttr(s.Api.DocumentAttributeAudio,"performer")}get emoji(){return this._fromAttr(s.Api.DocumentAttributeSticker,"alt")}get stickerSet(){return this._fromAttr(s.Api.DocumentAttributeSticker,"stickerset")}get size(){if(this.media instanceof s.Api.Photo){return(0,i._photoSizeByteCount)(this.media.sizes[this.media.sizes.length-1])}else if(this.media instanceof s.Api.Document){return this.media.size}}_fromAttr(e,r){if(this.media instanceof s.Api.Document){for(const n of this.media.attributes){if(n instanceof e){return n[r]}}}}}r.File=File},66751:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.Forward=void 0;const s=n(16077);const i=n(70446);const o=n(10330);const c=n(29078);const u=n(42355);class Forward extends i.SenderGetter{constructor(e,r,n){super();this.originalFwd=r;let u=undefined;let d=undefined;let A=undefined;let h=undefined;let g=undefined;let m=undefined;if(r.fromId){const s=(0,o._entityType)(r.fromId);if(s===o._EntityType.USER){u=(0,c.getPeerId)(r.fromId);[d,A]=(0,c._getEntityPair)(u,n,e._entityCache)}else if(s===o._EntityType.CHANNEL||s===o._EntityType.CHAT){h=r.fromId;[g,m]=(0,c._getEntityPair)((0,c.getPeerId)(h),n,e._entityCache)}}s.ChatGetter.initChatClass(this,{chatPeer:h,inputChat:m});i.SenderGetter.initSenderClass(this,{senderId:u?(0,o.returnBigInt)(u):undefined,sender:d,inputSender:A});this._client=e}[u.inspect.custom](){return(0,o.betterConsoleLog)(this)}}r.Forward=Forward},15026:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.ChatGetter=void 0;var s=n(16077);Object.defineProperty(r,"ChatGetter",{enumerable:true,get:function(){return s.ChatGetter}})},11528:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.InlineResult=void 0;const s=n(11820);const i=n(10330);const o=n(42355);const c=n(29078);class InlineResult{constructor(e,r,n,s){this._ARTICLE="article";this._PHOTO="photo";this._GIF="gif";this._VIDEO="video";this._VIDEO_GIF="mpeg4_gif";this._AUDIO="audio";this._DOCUMENT="document";this._LOCATION="location";this._VENUE="venue";this._CONTACT="contact";this._GAME="game";this._client=e;this.result=r;this._queryId=n;this._entity=s}[o.inspect.custom](){return(0,i.betterConsoleLog)(this)}get type(){return this.result.type}get message(){return this.result.sendMessage}get description(){return this.result.description}get url(){if(this.result instanceof s.Api.BotInlineResult){return this.result.url}}get photo(){if(this.result instanceof s.Api.BotInlineResult){return this.result.thumb}else{return this.result.photo}}get document(){if(this.result instanceof s.Api.BotInlineResult){return this.result.content}else{return this.result.document}}async click(e,r,n=false,i=false,o=false){if(e){e=await this._client.getInputEntity(e)}else if(this._entity){e=this._entity}else{throw new Error("You must provide the entity where the result should be sent to")}let u=undefined;if(r!=undefined){u=new s.Api.InputReplyToMessage({replyToMsgId:(0,c.getMessageId)(r)})}const d=new s.Api.messages.SendInlineBotResult({peer:e,queryId:this._queryId,id:this.result.id,silent:n,clearDraft:i,hideVia:o,replyTo:u});return await this._client.invoke(d)}}r.InlineResult=InlineResult},6743:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.InlineResults=void 0;const s=n(11528);const i=n(10330);const o=n(42355);class InlineResults extends Array{constructor(e,r,n){super(...r.results.map((i=>new s.InlineResult(e,i,r.queryId,n))));this.result=r;this.queryId=r.queryId;this.cacheTime=r.cacheTime;this._validUntil=(new Date).getTime()/1e3+this.cacheTime;this.users=r.users;this.gallery=Boolean(r.gallery);this.nextOffset=r.nextOffset;this.switchPm=r.switchPm}[o.inspect.custom](){return(0,i.betterConsoleLog)(this)}resultsValid(){return(new Date).getTime()/1e3r.get(e.toString())))}else if(this.action instanceof u.Api.MessageActionChatDeleteUser){this._actionEntities=[r.get(this.action.userId.toString())]}else if(this.action instanceof u.Api.MessageActionChatJoinedByLink){this._actionEntities=[r.get(A.getPeerId(new u.Api.PeerChannel({channelId:this.action.inviterId})))]}else if(this.action instanceof u.Api.MessageActionChannelMigrateFrom){this._actionEntities=[r.get(A.getPeerId(new u.Api.PeerChat({chatId:this.action.chatId})))]}}}get client(){return this._client}get text(){if(this._text===undefined&&this._client){if(!this._client.parseMode){this._text=this.message}else{this._text=this._client.parseMode.unparse(this.message||"",this.entities||[])}}return this._text||""}set text(e){this._text=e;if(this._client&&this._client.parseMode){[this.message,this.entities]=this._client.parseMode.parse(e)}else{this.message=e;this.entities=[]}}get rawText(){return this.message||""}set rawText(e){this.message=e;this.entities=[];this._text=""}get isReply(){return!!this.replyTo}get forward(){return this._forward}async _refetchSender(){await this._reloadMessage()}async _reloadMessage(){if(!this._client)return;let e=undefined;try{const r=this.isChannel?await this.getInputChat():undefined;let n=await this._client.getMessages(r,{ids:this.id});if(n){e=n[0]}}catch(e){this._client._log.error("Got error while trying to finish init message with id "+this.id);if(this._client._errorHandler){await this._client._errorHandler(e)}if(this._client._log.canSend(E.LogLevel.ERROR)){console.error(e)}}if(e==undefined)return;this._sender=e._sender;this._inputSender=e._inputSender;this._chat=e._chat;this._inputChat=e._inputChat;this._viaBot=e._viaBot;this._viaInputBot=e._viaInputBot;this._forward=e._forward;this._actionEntities=e._actionEntities}get buttons(){if(!this._buttons&&this.replyMarkup){if(!this.inputChat){return}try{const e=this._neededMarkupBot();this._setButtons(this.inputChat,e)}catch(e){return}}return this._buttons}async getButtons(){if(!this.buttons&&this.replyMarkup){const e=await this.getInputChat();if(!e)return;let r;try{r=this._neededMarkupBot()}catch(e){await this._reloadMessage();r=this._neededMarkupBot()}this._setButtons(e,r)}return this._buttons}get buttonCount(){if(!this._buttonsCount){if(this.replyMarkup instanceof u.Api.ReplyInlineMarkup||this.replyMarkup instanceof u.Api.ReplyKeyboardMarkup){this._buttonsCount=this.replyMarkup.rows.map((e=>e.buttons.length)).reduce((function(e,r){return e+r}),0)}else{this._buttonsCount=0}}return this._buttonsCount}get file(){if(!this._file){const e=this.photo||this.document;if(e){this._file=new g.File(e)}}return this._file}get photo(){if(this.media instanceof u.Api.MessageMediaPhoto){if(this.media.photo instanceof u.Api.Photo)return this.media.photo}else if(this.action instanceof u.Api.MessageActionChatEditPhoto){return this.action.photo}else{return this.webPreview&&this.webPreview.photo instanceof u.Api.Photo?this.webPreview.photo:undefined}return undefined}get document(){if(this.media instanceof u.Api.MessageMediaDocument){if(this.media.document instanceof u.Api.Document)return this.media.document}else{const e=this.webPreview;return e&&e.document instanceof u.Api.Document?e.document:undefined}return undefined}get webPreview(){if(this.media instanceof u.Api.MessageMediaWebPage){if(this.media.webpage instanceof u.Api.WebPage)return this.media.webpage}}get audio(){return this._documentByAttribute(u.Api.DocumentAttributeAudio,(e=>!e.voice))}get voice(){return this._documentByAttribute(u.Api.DocumentAttributeAudio,(e=>!!e.voice))}get video(){return this._documentByAttribute(u.Api.DocumentAttributeVideo)}get videoNote(){return this._documentByAttribute(u.Api.DocumentAttributeVideo,(e=>!!e.roundMessage))}get gif(){return this._documentByAttribute(u.Api.DocumentAttributeAnimated)}get sticker(){return this._documentByAttribute(u.Api.DocumentAttributeSticker)}get contact(){if(this.media instanceof u.Api.MessageMediaContact){return this.media}}get game(){if(this.media instanceof u.Api.MessageMediaGame){return this.media.game}}get geo(){if(this.media instanceof u.Api.MessageMediaGeo||this.media instanceof u.Api.MessageMediaGeoLive||this.media instanceof u.Api.MessageMediaVenue){return this.media.geo}}get invoice(){if(this.media instanceof u.Api.MessageMediaInvoice){return this.media}}get poll(){if(this.media instanceof u.Api.MessageMediaPoll){return this.media}}get venue(){if(this.media instanceof u.Api.MessageMediaVenue){return this.media}}get dice(){if(this.media instanceof u.Api.MessageMediaDice){return this.media}}get actionEntities(){return this._actionEntities}get viaBot(){return this._viaBot}get viaInputBot(){return this._viaInputBot}get replyToMsgId(){var e;return(e=this.replyTo)===null||e===void 0?void 0:e.replyToMsgId}get toId(){if(this._client&&!this.out&&this.isPrivate){return new u.Api.PeerUser({userId:(0,y._selfId)(this._client)})}return this.peerId}getEntitiesText(e){let r=this.entities;if(!r||r.length==0)return;if(e){r=r.filter((r=>r instanceof e))}const n=A.getInnerText(this.message||"",r);const zip=e=>e[0].map(((r,n)=>e.map((e=>e[n]))));return zip([r,n])}async getReplyMessage(){if(!this._replyMessage&&this._client){if(!this.replyTo)return undefined;this._replyMessage=(await this._client.getMessages(this.isChannel?await this.getInputChat():undefined,{ids:new u.Api.InputMessageReplyTo({id:this.id})}))[0];if(!this._replyMessage){this._replyMessage=(await this._client.getMessages(this.isChannel?this._inputChat:undefined,{ids:this.replyToMsgId}))[0]}}return this._replyMessage}async respond(e){if(this._client){return this._client.sendMessage(await this.getInputChat(),e)}}async reply(e){if(this._client){e.replyTo=this.id;return this._client.sendMessage(await this.getInputChat(),e)}}async forwardTo(e){if(this._client){e=await this._client.getInputEntity(e);const r={messages:[this.id],fromPeer:await this.getInputChat()};return this._client.forwardMessages(e,r)}}async edit(e){const r=e;if(this.fwdFrom||!this.out||!this._client)return undefined;if(r.linkPreview==undefined){r.linkPreview=!!this.webPreview}if(r.buttons==undefined){r.buttons=this.replyMarkup}r.message=this.id;return this._client.editMessage(await this.getInputChat(),r)}async delete({revoke:e}={revoke:false}){if(this._client){return this._client.deleteMessages(await this.getInputChat(),[this.id],{revoke:e})}}async pin(e){if(this._client){const r=await this.getInputChat();if(r===undefined){throw Error("Failed to pin message due to cannot get input chat.")}return this._client.pinMessage(r,this.id,e)}}async unpin(e){if(this._client){const r=await this.getInputChat();if(r===undefined){throw Error("Failed to unpin message due to cannot get input chat.")}return this._client.unpinMessage(r,this.id,e)}}async downloadMedia(e){if(this._client)return this._client.downloadMedia(this,e||{})}async markAsRead(){if(this._client){const e=await this.getInputChat();if(e===undefined){throw Error(`Failed to mark message id ${this.id} as read due to cannot get input chat.`)}return this._client.markAsRead(e,this.id)}}async click({i:e,j:r,text:n,filter:s,data:i,sharePhone:o,shareGeo:c,password:d}){if(!this.client){return}if(i){const h=await this.getInputChat();if(!h){return}const g=new u.Api.KeyboardButtonCallback({text:"",data:i});return await new _.MessageButton(this.client,g,h,undefined,this.id).click({sharePhone:o,shareGeo:c,password:d})}if(this.poll){function findPoll(r){if(e!=undefined){if(Array.isArray(e)){const n=[];for(let s=0;s{Object.defineProperty(r,"__esModule",{value:true});r.MessageButton=void 0;const s=n(11820);const i=n(50808);const o=n(10330);const c=n(79138);const u=n(42355);class MessageButton{constructor(e,r,n,s,i){this.button=r;this._bot=s;this._chat=n;this._msgId=i;this._client=e}[u.inspect.custom](){return(0,o.betterConsoleLog)(this)}get client(){return this._client}get text(){return!(this.button instanceof i.Button)?this.button.text:""}get data(){if(this.button instanceof s.Api.KeyboardButtonCallback){return this.button.data}}get inlineQuery(){if(this.button instanceof s.Api.KeyboardButtonSwitchInline){return this.button.query}}get url(){if(this.button instanceof s.Api.KeyboardButtonUrl){return this.button.url}}async click({sharePhone:e=false,shareGeo:r=[0,0],password:n}){if(this.button instanceof s.Api.KeyboardButton){return this._client.sendMessage(this._chat,{message:this.button.text,parseMode:undefined})}else if(this.button instanceof s.Api.KeyboardButtonCallback){let e;if(n!=undefined){const r=await this.client.invoke(new s.Api.account.GetPassword);e=await(0,c.computeCheck)(r,n)}const r=new s.Api.messages.GetBotCallbackAnswer({peer:this._chat,msgId:this._msgId,data:this.button.data,password:e});try{return await this._client.invoke(r)}catch(e){if(e.errorMessage=="BOT_RESPONSE_TIMEOUT"){return null}throw e}}else if(this.button instanceof s.Api.KeyboardButtonSwitchInline){return this._client.invoke(new s.Api.messages.StartBot({bot:this._bot,peer:this._chat,startParam:this.button.query}))}else if(this.button instanceof s.Api.KeyboardButtonUrl){return this.button.url}else if(this.button instanceof s.Api.KeyboardButtonGame){const e=new s.Api.messages.GetBotCallbackAnswer({peer:this._chat,msgId:this._msgId,game:true});try{return await this._client.invoke(e)}catch(e){if(e.errorMessage=="BOT_RESPONSE_TIMEOUT"){return null}throw e}}else if(this.button instanceof s.Api.KeyboardButtonRequestPhone){if(!e){throw new Error("cannot click on phone buttons unless sharePhone=true")}if(e==true||typeof e=="string"){const r=await this._client.getMe();e=new s.Api.InputMediaContact({phoneNumber:(e==true?r.phone:e)||"",firstName:r.firstName||"",lastName:r.lastName||"",vcard:""})}throw new Error("Not supported for now")}else if(this.button instanceof s.Api.InputWebFileGeoPointLocation){if(!r){throw new Error("cannot click on geo buttons unless shareGeo=[longitude, latitude]")}throw new Error("Not supported for now")}}}r.MessageButton=MessageButton},70446:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.SenderGetter=void 0;const s=n(11820);const i=n(10330);const o=n(16077);const c=n(42355);class SenderGetter extends o.ChatGetter{[c.inspect.custom](){return(0,i.betterConsoleLog)(this)}static initSenderClass(e,{senderId:r,sender:n,inputSender:s}){e._senderId=r;e._sender=n;e._inputSender=s;e._client=undefined}get sender(){return this._sender}async getSender(){if(this._client&&(!this._sender||this._sender instanceof s.Api.Channel&&this._sender.min)&&await this.getInputSender()){try{this._sender=await this._client.getEntity(this._inputSender)}catch(e){await this._refetchSender()}}return this._sender}get inputSender(){if(!this._inputSender&&this._senderId&&this._client){try{this._inputSender=this._client._entityCache.get(this._senderId)}catch(e){}}return this._inputSender}async getInputSender(){if(!this.inputSender&&this._senderId&&this._client){await this._refetchSender()}return this._inputSender}get senderId(){return this._senderId}async _refetchSender(){}}r.SenderGetter=SenderGetter},66695:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.variableSnakeToCamelCase=r.snakeToCamelCase=r.CORE_TYPES=r.fromLine=r.buildArgConfig=r.parseTl=r.findAll=r.serializeDate=r.serializeBytes=void 0;const s=n(10330);const snakeToCamelCase=e=>{const r=e.replace(/(?:^|_)([a-z])/g,((e,r)=>r.toUpperCase()));return r.replace(/_/g,"")};r.snakeToCamelCase=snakeToCamelCase;const variableSnakeToCamelCase=e=>e.replace(/([-_][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_","")));r.variableSnakeToCamelCase=variableSnakeToCamelCase;const i=new Set([3162085175,2574415285,1072550713,3300522427,1450380236]);r.CORE_TYPES=i;const o=new Set([85337187,2211011308,2851430293,1013613780,1459478408,3504867164,3045658042,1715713620,3608339646,4110704415,812830625]);const fromLine=(e,r)=>{const n=e.match(/([\w.]+)(?:#([0-9a-fA-F]+))?(?:\s{?\w+:[\w\d<>#.?!]+}?)*\s=\s([\w\d<>#.?]+);$/);if(!n){throw new Error(`Cannot parse TLObject ${e}`)}const i=findAll(/({)?(\w+):([\w\d<>#.?!]+)}?/,e);const o={name:n[1],constructorId:parseInt(n[2],16),argsConfig:{},subclassOfId:(0,s.crc32)(n[3]),result:n[3],isFunction:r,namespace:undefined};if(!o.constructorId){const e="";let r;if(Object.values(o.argsConfig).length){r=` ${Object.keys(o.argsConfig).map((e=>e.toString())).join(" ")}`}else{r=""}const n=`${o.name}${e}${r} = ${o.result}`.replace(/(:|\?)bytes /g,"$1string ").replace(/|{|}/g,"").replace(/ \w+:flags(\d+)?\.\d+\?true/g,"");if(o.name==="inputMediaInvoice"){if(o.name==="inputMediaInvoice"){}}o.constructorId=(0,s.crc32)(Buffer.from(n,"utf8"))}for(const[e,r,n]of i){if(e===undefined){o.argsConfig[variableSnakeToCamelCase(r)]=buildArgConfig(r,n)}}if(o.name.includes(".")){[o.namespace,o.name]=o.name.split(/\.(.+)/)}o.name=snakeToCamelCase(o.name);return o};r.fromLine=fromLine;function buildArgConfig(e,r){e=e==="self"?"is_self":e;const n={isVector:false,isFlag:false,skipConstructorId:false,flagName:null,flagIndex:-1,flagIndicator:true,type:null,useVectorId:null};const s=e==="random_id";if(r!=="#"){n.flagIndicator=false;n.type=r.replace(/^!+/,"");const e=n.type.match(/(flags(?:\d+)?).(\d+)\?([\w<>.]+)/);if(e){n.isFlag=true;n.flagName=e[1];n.flagIndex=Number(e[2]);n.type=e[3]}const s=n.type.match(/[Vv]ector<([\w\d.]+)>/);if(s){n.isVector=true;n.useVectorId=n.type.charAt(0)==="V";[,n.type]=s}if(/^[a-z]$/.test(n.type.split(".").pop().charAt(0))){n.skipConstructorId=true}}if(n.type=="future_salt"){n.type="FutureSalt"}return n}r.buildArgConfig=buildArgConfig;const parseTl=function*(e,r,n=[],s=i){const c=(n||[]).reduce(((e,r)=>Object.assign(Object.assign({},e),{[r.name]:r})),{});const u=[];const d={};const A={};const h=e;let g=false;for(let e of h.split("\n")){const r=e.indexOf("//");if(r!==-1){e=e.slice(0,r)}e=e.trim();if(!e){continue}const n=e.match(/---(\w+)---/);if(n){const[,e]=n;g=e==="functions";continue}try{const r=fromLine(e,g);if(s.has(r.constructorId)){continue}u.push(r);if(!r.isFunction){if(!A[r.result]){A[r.result]=[]}d[r.name]=r;A[r.result].push(r)}}catch(e){if(!e.toString().includes("vector#1cb5c415")){throw e}}}for(const e of u){if(o.has(e.constructorId)){for(const r in e.argsConfig){if(e.argsConfig[r].type==="string"){e.argsConfig[r].type="bytes"}}}}for(const e of u){yield e}};r.parseTl=parseTl;const findAll=(e,r,n=[])=>{if(!e.flags.includes("g")){e=new RegExp(e.source,"g")}const s=e.exec(r);if(s){n.push(s.slice(1));findAll(e,r,n)}return n};r.findAll=findAll;function serializeBytes(e){if(!(e instanceof Buffer)){if(typeof e=="string"){e=Buffer.from(e)}else{throw Error(`Bytes or str expected, not ${e.constructor.name}`)}}const r=[];let n;if(e.length<254){n=(e.length+1)%4;if(n!==0){n=4-n}r.push(Buffer.from([e.length]));r.push(e)}else{n=e.length%4;if(n!==0){n=4-n}r.push(Buffer.from([254,e.length%256,(e.length>>8)%256,(e.length>>16)%256]));r.push(e)}r.push(Buffer.alloc(n).fill(0));return Buffer.concat(r)}r.serializeBytes=serializeBytes;function serializeDate(e){if(!e){return Buffer.alloc(4).fill(0)}if(e instanceof Date){e=Math.floor((Date.now()-e.getTime())/1e3)}if(typeof e=="number"){const r=Buffer.alloc(4);r.writeInt32LE(e,0);return r}throw Error(`Cannot interpret "${e}" as a date`)}r.serializeDate=serializeDate},87440:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.serializeDate=r.serializeBytes=r.Api=void 0;const s=n(11820);Object.defineProperty(r,"Api",{enumerable:true,get:function(){return s.Api}});const i=n(76392);(0,i.patchAll)();var o=n(66695);Object.defineProperty(r,"serializeBytes",{enumerable:true,get:function(){return o.serializeBytes}});Object.defineProperty(r,"serializeDate",{enumerable:true,get:function(){return o.serializeDate}})},76392:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.patchAll=void 0;const s=n(11820);const i=n(89397);function getGetter(e,r){while(e){let n=Object.getOwnPropertyDescriptor(e,r);if(n&&n.get){return n.get}e=Object.getPrototypeOf(e)}}function getSetter(e,r){while(e){let n=Object.getOwnPropertyDescriptor(e,r);if(n&&n.set){return n.set}e=Object.getPrototypeOf(e)}}const getInstanceMethods=e=>{let r={methods:new Set,setters:new Set,getters:new Set};let n=e;const mapAllMethods=e=>{const s=getGetter(n,e);const i=getSetter(n,e);if(s){r["getters"].add(e)}else if(i){r["setters"].add(e)}else{if(!(e=="constructor")){r["methods"].add(e)}}};do{Object.getOwnPropertyNames(e).map(mapAllMethods);e=Object.getPrototypeOf(e)}while(e&&Object.getPrototypeOf(e));return r};function patchClass(e){const{getters:r,setters:n,methods:s}=getInstanceMethods(i.CustomMessage.prototype);for(const n of r){Object.defineProperty(e.prototype,n,{get:getGetter(i.CustomMessage.prototype,n)})}for(const r of n){Object.defineProperty(e.prototype,r,{set:getSetter(i.CustomMessage.prototype,r)})}for(const r of s){e.prototype[r]=i.CustomMessage.prototype[r]}}function patchAll(){patchClass(s.Api.Message);patchClass(s.Api.MessageService)}r.patchAll=patchAll},87113:e=>{e.exports=`\nresPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ;\np_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data;\np_q_inner_data_dc#a9f55f95 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_data;\np_q_inner_data_temp#3c6a84d4 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 expires_in:int = P_Q_inner_data;\np_q_inner_data_temp_dc#56fddf88 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int expires_in:int = P_Q_inner_data;\nbind_auth_key_inner#75a3f765 nonce:long temp_auth_key_id:long perm_auth_key_id:long temp_session_id:long expires_at:int = BindAuthKeyInner;\nserver_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params;\nserver_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;\nserver_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;\nclient_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;\ndh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;\ndh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer;\ndh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer;\ndestroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes;\ndestroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes;\ndestroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes;\n---functions---\nreq_pq#60469778 nonce:int128 = ResPQ;\nreq_pq_multi#be7e8ef1 nonce:int128 = ResPQ;\nreq_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;\nset_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;\ndestroy_auth_key#d1435160 = DestroyAuthKeyRes;\n---types---\nmsgs_ack#62d6b459 msg_ids:Vector = MsgsAck;\nbad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification;\nbad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification;\nmsgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq;\nmsgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo;\nmsgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo;\nmsg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo;\nmsg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo;\nmsg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq;\nrpc_error#2144ca19 error_code:int error_message:string = RpcError;\nrpc_answer_unknown#5e2ad36e = RpcDropAnswer;\nrpc_answer_dropped_running#cd78e586 = RpcDropAnswer;\nrpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer;\nfuture_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt;\nfuture_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts;\npong#347773c5 msg_id:long ping_id:long = Pong;\ndestroy_session_ok#e22045fc session_id:long = DestroySessionRes;\ndestroy_session_none#62d350c9 session_id:long = DestroySessionRes;\nnew_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession;\nhttp_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait;\nipPort#d433ad73 ipv4:int port:int = IpPort;\nipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort;\naccessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule;\nhelp.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple;\ntlsClientHello blocks:vector = TlsClientHello;\ntlsBlockString data:string = TlsBlock;\ntlsBlockRandom length:int = TlsBlock;\ntlsBlockZero length:int = TlsBlock;\ntlsBlockDomain = TlsBlock;\ntlsBlockGrease seed:int = TlsBlock;\ntlsBlockPublicKey = TlsBlock;\ntlsBlockScope entries:Vector = TlsBlock;\ntlsBlockPermutation entries:Vector> = TlsBlock;\n---functions---\nrpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer;\nget_future_salts#b921bd04 num:int = FutureSalts;\nping#7abe77ec ping_id:long = Pong;\nping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong;\ndestroy_session#e7512126 session_id:long = DestroySessionRes;\n`},1552:(e,r,n)=>{var s=n(24876);var i=n(92472);var o={TRANSITIONAL:0,NONTRANSITIONAL:1};function normalize(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function findStatus(e){var r=0;var n=i.length-1;while(r<=n){var s=Math.floor((r+n)/2);var o=i[s];if(o[0][0]<=e&&o[0][1]>=e){return o}else if(o[0][0]>e){n=s-1}else{r=s+1}}return null}var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function countSymbols(e){return e.replace(c,"_").length}function mapChars(e,r,n){var s=false;var i="";var c=countSymbols(e);for(var u=0;u253||u.length===0){o.error=true}for(var d=0;d63||c.length===0){o.error=true;break}}}if(o.error)return null;return c.join(".")};e.exports.toUnicode=function(e,r){var n=processing(e,r,o.NONTRANSITIONAL);return{domain:n.string,error:n.error}};e.exports.PROCESSING_OPTIONS=o},78229:(e,r)=>{function fixProto(e,r){var n=Object.setPrototypeOf;n?n(e,r):e.__proto__=r}function fixStack(e,r){if(r===void 0){r=e.constructor}var n=Error.captureStackTrace;n&&n(e,r)}var n=false||function(){var e=function extendStatics(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r){if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]}};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function __(){this.constructor=r}r.prototype=n===null?Object.create(n):(__.prototype=n.prototype,new __)}}();var s=function(e){n(CustomError,e);function CustomError(r,n){var s=this.constructor;var i=e.call(this,r,n)||this;Object.defineProperty(i,"name",{value:s.name,enumerable:false,configurable:true});fixProto(i,s.prototype);fixStack(i);return i}return CustomError}(Error);var i=false||function(e,r,n){if(n||arguments.length===2)for(var s=0,i=r.length,o;s{var r;var n;var s;var i;var o;var c;var u;var d;var A;var h;var g;var m;var y;var E;var _;var b;var I;var v;var C;var w;var B;var S;var T;var k;var R;var Q;var P;var O;var D;var F;var M;(function(r){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){r(createExporter(n,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){r(createExporter(n,createExporter(e.exports)))}else{r(createExporter(n))}function createExporter(e,r){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,s){return e[n]=r?r(n,s):s}}})((function(e){var x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};r=function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");x(e,r);function __(){this.constructor=e}e.prototype=r===null?Object.create(r):(__.prototype=r.prototype,new __)};n=Object.assign||function(e){for(var r,n=1,s=arguments.length;n=0;u--)if(c=e[u])o=(i<3?c(o):i>3?c(r,n,o):c(r,n))||o;return i>3&&o&&Object.defineProperty(r,n,o),o};o=function(e,r){return function(n,s){r(n,s,e)}};c=function(e,r,n,s,i,o){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var c=s.kind,u=c==="getter"?"get":c==="setter"?"set":"value";var d=!r&&e?s["static"]?e:e.prototype:null;var A=r||(d?Object.getOwnPropertyDescriptor(d,s.name):{});var h,g=false;for(var m=n.length-1;m>=0;m--){var y={};for(var E in s)y[E]=E==="access"?{}:s[E];for(var E in s.access)y.access[E]=s.access[E];y.addInitializer=function(e){if(g)throw new TypeError("Cannot add initializers after decoration has completed");o.push(accept(e||null))};var _=(0,n[m])(c==="accessor"?{get:A.get,set:A.set}:A[u],y);if(c==="accessor"){if(_===void 0)continue;if(_===null||typeof _!=="object")throw new TypeError("Object expected");if(h=accept(_.get))A.get=h;if(h=accept(_.set))A.set=h;if(h=accept(_.init))i.unshift(h)}else if(h=accept(_)){if(c==="field")i.unshift(h);else A[u]=h}}if(d)Object.defineProperty(d,s.name,A);g=true};u=function(e,r,n){var s=arguments.length>2;for(var i=0;i0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=e.length)e=void 0;return{value:e&&e[s++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};_=function(e,r){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var s=n.call(e),i,o=[],c;try{while((r===void 0||r-- >0)&&!(i=s.next()).done)o.push(i.value)}catch(e){c={error:e}}finally{try{if(i&&!i.done&&(n=s["return"]))n.call(s)}finally{if(c)throw c.error}}return o};b=function(){for(var e=[],r=0;r1||resume(e,r)}))};if(r)i[e]=r(i[e])}}function resume(e,r){try{step(s[e](r))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof C?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,r){if(e(r),o.shift(),o.length)resume(o[0][0],o[0][1])}};B=function(e){var r,n;return r={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),r[Symbol.iterator]=function(){return this},r;function verb(s,i){r[s]=e[s]?function(r){return(n=!n)?{value:C(e[s](r)),done:false}:i?i(r):r}:i}};S=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],n;return r?r.call(e):(e=typeof E==="function"?E(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(r){n[r]=e[r]&&function(n){return new Promise((function(s,i){n=e[r](n),settle(s,i,n.done,n.value)}))}}function settle(e,r,n,s){Promise.resolve(s).then((function(r){e({value:r,done:n})}),r)}};T=function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};var U=Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:true,value:r})}:function(e,r){e["default"]=r};k=function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))D(r,e,n);U(r,e);return r};R=function(e){return e&&e.__esModule?e:{default:e}};Q=function(e,r,n,s){if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof r==="function"?e!==r||!s:!r.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?s:n==="a"?s.call(e):s?s.value:r.get(e)};P=function(e,r,n,s,i){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof r==="function"?e!==r||!i:!r.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?i.call(e,n):i?i.value=n:r.set(e,n),n};O=function(e,r){if(r===null||typeof r!=="object"&&typeof r!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?r===e:e.has(r)};F=function(e,r,n){if(r!==null&&r!==void 0){if(typeof r!=="object"&&typeof r!=="function")throw new TypeError("Object expected.");var s,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=r[Symbol.asyncDispose]}if(s===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=r[Symbol.dispose];if(n)i=s}if(typeof s!=="function")throw new TypeError("Object not disposable.");if(i)s=function(){try{i.call(this)}catch(e){return Promise.reject(e)}};e.stack.push({value:r,dispose:s,async:n})}else if(n){e.stack.push({async:true})}return r};var N=typeof SuppressedError==="function"?SuppressedError:function(e,r,n){var s=new Error(n);return s.name="SuppressedError",s.error=e,s.suppressed=r,s};M=function(e){function fail(r){e.error=e.hasError?new N(r,e.error,"An error was suppressed during disposal."):r;e.hasError=true}var r,n=0;function next(){while(r=e.stack.pop()){try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(next);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(next,(function(e){fail(e);return next()}))}else n|=1}catch(e){fail(e)}}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return next()};e("__extends",r);e("__assign",n);e("__rest",s);e("__decorate",i);e("__param",o);e("__esDecorate",c);e("__runInitializers",u);e("__propKey",d);e("__setFunctionName",A);e("__metadata",h);e("__awaiter",g);e("__generator",m);e("__exportStar",y);e("__createBinding",D);e("__values",E);e("__read",_);e("__spread",b);e("__spreadArrays",I);e("__spreadArray",v);e("__await",C);e("__asyncGenerator",w);e("__asyncDelegator",B);e("__asyncValues",S);e("__makeTemplateObject",T);e("__importStar",k);e("__importDefault",R);e("__classPrivateFieldGet",Q);e("__classPrivateFieldSet",P);e("__classPrivateFieldIn",O);e("__addDisposableResource",F);e("__disposeResources",M)}))},20770:(e,r,n)=>{e.exports=n(20218)},20218:(e,r,n)=>{var s=n(69278);var i=n(64756);var o=n(58611);var c=n(65692);var u=n(24434);var d=n(42613);var A=n(39023);r.httpOverHttp=httpOverHttp;r.httpsOverHttp=httpsOverHttp;r.httpOverHttps=httpOverHttps;r.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var r=new TunnelingAgent(e);r.request=o.request;return r}function httpsOverHttp(e){var r=new TunnelingAgent(e);r.request=o.request;r.createSocket=createSecureSocket;r.defaultPort=443;return r}function httpOverHttps(e){var r=new TunnelingAgent(e);r.request=c.request;return r}function httpsOverHttps(e){var r=new TunnelingAgent(e);r.request=c.request;r.createSocket=createSecureSocket;r.defaultPort=443;return r}function TunnelingAgent(e){var r=this;r.options=e||{};r.proxyOptions=r.options.proxy||{};r.maxSockets=r.options.maxSockets||o.Agent.defaultMaxSockets;r.requests=[];r.sockets=[];r.on("free",(function onFree(e,n,s,i){var o=toOptions(n,s,i);for(var c=0,u=r.requests.length;c=this.maxSockets){i.requests.push(o);return}i.createSocket(o,(function(r){r.on("free",onFree);r.on("close",onCloseOrRemove);r.on("agentRemove",onCloseOrRemove);e.onSocket(r);function onFree(){i.emit("free",r,o)}function onCloseOrRemove(e){i.removeSocket(r);r.removeListener("free",onFree);r.removeListener("close",onCloseOrRemove);r.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,r){var n=this;var s={};n.sockets.push(s);var i=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}h("making CONNECT request");var o=n.request(i);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,r,n){process.nextTick((function(){onConnect(e,r,n)}))}function onConnect(i,c,u){o.removeAllListeners();c.removeAllListeners();if(i.statusCode!==200){h("tunneling socket could not be established, statusCode=%d",i.statusCode);c.destroy();var d=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);d.code="ECONNRESET";e.request.emit("error",d);n.removeSocket(s);return}if(u.length>0){h("got illegal response body from proxy");c.destroy();var d=new Error("got illegal response body from proxy");d.code="ECONNRESET";e.request.emit("error",d);n.removeSocket(s);return}h("tunneling connection has established");n.sockets[n.sockets.indexOf(s)]=c;return r(c)}function onError(r){o.removeAllListeners();h("tunneling socket could not be established, cause=%s\n",r.message,r.stack);var i=new Error("tunneling socket could not be established, "+"cause="+r.message);i.code="ECONNRESET";e.request.emit("error",i);n.removeSocket(s)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var r=this.sockets.indexOf(e);if(r===-1){return}this.sockets.splice(r,1);var n=this.requests.shift();if(n){this.createSocket(n,(function(e){n.request.onSocket(e)}))}};function createSecureSocket(e,r){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,(function(s){var o=e.request.getHeader("host");var c=mergeOptions({},n.options,{socket:s,servername:o?o.replace(/:.*$/,""):e.host});var u=i.connect(0,c);n.sockets[n.sockets.indexOf(s)]=u;r(u)}))}function toOptions(e,r,n){if(typeof e==="string"){return{host:e,port:r,localAddress:n}}return e}function mergeOptions(e){for(var r=1,n=arguments.length;r{Object.defineProperty(r,"__esModule",{value:true});r.AbstractStandardValidator=void 0;const s=n(29293);class AbstractStandardValidator extends s.AbstractValidator{constructor(e){super(e)}assertAndClean(e,r){this.assert(e,r);this.cleanValue(this.schema,e)}assertAndCleanCopy(e,r){this.assert(e,r);return this.cleanCopyOfValue(this.schema,e)}validateAndClean(e,r){this.validate(e,r);this.cleanValue(this.schema,e)}validateAndCleanCopy(e,r){this.validate(e,r);return this.cleanCopyOfValue(this.schema,e)}}r.AbstractStandardValidator=AbstractStandardValidator},73422:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.AbstractTypedUnionValidator=r.DEFAULT_DISCRIMINANT_KEY=void 0;const s=n(29293);r.DEFAULT_DISCRIMINANT_KEY="kind";class AbstractTypedUnionValidator extends s.AbstractValidator{constructor(e){super(e)}assert(e,r){this.assertReturningSchema(e,r)}assertAndClean(e,r){const n=this.assertReturningSchema(e,r);this.cleanValue(n,e)}assertAndCleanCopy(e,r){const n=this.assertReturningSchema(e,r);return this.cleanCopyOfValue(n,e)}validate(e,r){this.validateReturningSchema(e,r)}validateAndClean(e,r){const n=this.validateReturningSchema(e,r);this.cleanValue(n,e)}validateAndCleanCopy(e,r){const n=this.validateReturningSchema(e,r);return this.cleanCopyOfValue(n,e)}toValueKeyDereference(e){return/^[a-zA-Z_$][a-zA-Z_$0-9]*$/.test(e)?`value.${e}`:`value['${e.replace(/'/g,"\\'")}']`}}r.AbstractTypedUnionValidator=AbstractTypedUnionValidator},29293:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.AbstractValidator=void 0;const s=n(45105);const i=n(17085);class AbstractValidator{constructor(e){this.schema=e}testReturningErrors(e){return this.test(e)?null:this.errors(e)}testReturningFirstError(e){const r=this.testReturningErrors(e);if(r===null){return null}const n=r[Symbol.iterator]().next();return n.done?null:n.value}firstError(e){const r=this.errors(e)[Symbol.iterator]();const n=r.next();return n.done?null:n.value}cleanCopyOfValue(e,r){if(e.type==="object"&&typeof r==="object"){const n={};Object.keys(e.properties).forEach((e=>{n[e]=r[e]}));return n}return r}cleanValue(e,r){if(e.type==="object"&&typeof r==="object"){const n=Object.keys(e.properties);Object.getOwnPropertyNames(r).forEach((e=>{if(!n.includes(e)){delete r[e]}}))}}uncompiledAssert(e,r,n){if(!s.Value.Check(e,r)){(0,i.throwInvalidAssert)(n,s.Value.Errors(e,r).First())}}uncompiledValidate(e,r,n){if(!s.Value.Check(e,r)){(0,i.throwInvalidValidate)(n,s.Value.Errors(e,r))}}}r.AbstractValidator=AbstractValidator},26498:function(e,r,n){var s=this&&this.__classPrivateFieldSet||function(e,r,n,s,i){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof r==="function"?e!==r||!i:!r.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?i.call(e,n):i?i.value=n:r.set(e,n),n};var i=this&&this.__classPrivateFieldGet||function(e,r,n,s){if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof r==="function"?e!==r||!s:!r.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?s:n==="a"?s.call(e):s?s.value:r.get(e)};var o,c;Object.defineProperty(r,"__esModule",{value:true});r.CompilingDiscriminatedUnionValidator=void 0;const u=n(73422);const d=n(893);class CompilingDiscriminatedUnionValidator extends d.AbstractCompilingTypedUnionValidator{constructor(e){var r;super(e);o.set(this,void 0);c.set(this,void 0);s(this,o,(r=this.schema.discriminantKey)!==null&&r!==void 0?r:u.DEFAULT_DISCRIMINANT_KEY,"f")}compiledFindSchemaMemberIndex(e){if(i(this,c,"f")===undefined){const e=[`if (typeof value !== 'object' || value === null || Array.isArray(value)) return null;\n          switch (${this.toValueKeyDereference(i(this,o,"f"))}) {\n`];for(let r=0;r{Object.defineProperty(r,"__esModule",{value:true});r.TypeIdentifyingKeyIndex=r.MESSAGE_MEMBERS_MISSING_KEY=r.MESSAGE_MULTIPLE_MEMBERS_WITH_SAME_KEY=r.MESSAGE_MEMBER_WITH_MULTIPLE_KEYS=r.MESSAGE_OPTIONAL_TYPE_ID_KEY=void 0;const s=n(14019);r.MESSAGE_OPTIONAL_TYPE_ID_KEY="Type identifying key cannot be optional";r.MESSAGE_MEMBER_WITH_MULTIPLE_KEYS="Union has member with multiple identifying keys";r.MESSAGE_MULTIPLE_MEMBERS_WITH_SAME_KEY="Union has multiple members with same identifying key";r.MESSAGE_MEMBERS_MISSING_KEY="Union has members missing identifying keys";class TypeIdentifyingKeyIndex{constructor(e){this.schema=e}cacheKeys(){const e=this.schema.anyOf.length;const n=new Set;this.keyByMemberIndex=new Array(e);for(let i=0;i{Object.defineProperty(r,"__esModule",{value:true});r.TypeIdentifyingKey=void 0;function TypeIdentifyingKey(e){return Object.assign(Object.assign({},e),{typeIdentifyingKey:true})}r.TypeIdentifyingKey=TypeIdentifyingKey},80619:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(29293),r);i(n(58453),r);i(n(73422),r);i(n(68589),r);i(n(29539),r);i(n(96388),r);i(n(55776),r)},17085:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.throwInvalidValidate=r.throwInvalidAssert=r.createUnionTypeErrorIterable=r.createUnionTypeError=r.createErrorsIterable=r.adjustErrorMessage=r.DEFAULT_UNKNOWN_TYPE_MESSAGE=r.DEFAULT_OVERALL_MESSAGE=void 0;const s=n(14019);const i=n(65507);const o=n(55776);r.DEFAULT_OVERALL_MESSAGE="Invalid value";r.DEFAULT_UNKNOWN_TYPE_MESSAGE="Object type not recognized";const c="Expected required property";function adjustErrorMessage(e){if(e.schema.errorMessage!==undefined){e.message=e.schema.errorMessage}return e}r.adjustErrorMessage=adjustErrorMessage;function createErrorsIterable(e){return{[Symbol.iterator]:function*(){const r=e[Symbol.iterator]();let n=r.next();let i="???";while(n.value!==undefined){const e=n.value;const o=e.message;if(e.path!==i){adjustErrorMessage(e);if(e.message!=o){i=e.path;yield e}else if(e.message!=c||["Any","Unknown"].includes(e.schema[s.Kind])){yield e}}n=r.next()}}}}r.createErrorsIterable=createErrorsIterable;function createUnionTypeError(e,n){var s;return{type:i.ValueErrorType.Union,path:"",schema:e,value:n,message:(s=e.errorMessage)!==null&&s!==void 0?s:r.DEFAULT_UNKNOWN_TYPE_MESSAGE}}r.createUnionTypeError=createUnionTypeError;function createUnionTypeErrorIterable(e){return{[Symbol.iterator]:function*(){yield e}}}r.createUnionTypeErrorIterable=createUnionTypeErrorIterable;function throwInvalidAssert(e,n){adjustErrorMessage(n);throw new o.ValidationException(e===undefined?r.DEFAULT_OVERALL_MESSAGE:e.replace("{error}",o.ValidationException.errorToString(n)),[n])}r.throwInvalidAssert=throwInvalidAssert;function throwInvalidValidate(e,n){throw new o.ValidationException(e!==null&&e!==void 0?e:r.DEFAULT_OVERALL_MESSAGE,n instanceof i.ValueErrorIterator?[...createErrorsIterable(n)]:[n])}r.throwInvalidValidate=throwInvalidValidate},55776:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.ValidationException=void 0;class ValidationException{constructor(e,r=[]){this.message=e;this.details=r}toString(){let e=this.message;if(this.details.length>0){if(!e.endsWith(":")){e+=":"}for(const r of this.details){e+="\n * "+ValidationException.errorToString(r)}}return e}static errorToString(e){return e.path!=""?`${e.path.substring(1)} - ${e.message}`:e.message}}r.ValidationException=ValidationException},3470:function(e,r,n){var s=this&&this.__classPrivateFieldGet||function(e,r,n,s){if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof r==="function"?e!==r||!s:!r.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?s:n==="a"?s.call(e):s?s.value:r.get(e)};var i=this&&this.__classPrivateFieldSet||function(e,r,n,s,i){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof r==="function"?e!==r||!i:!r.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?i.call(e,n):i?i.value=n:r.set(e,n),n};var o;Object.defineProperty(r,"__esModule",{value:true});r.CompilingStandardValidator=void 0;const c=n(25269);const u=n(58453);const d=n(17085);class CompilingStandardValidator extends u.AbstractStandardValidator{constructor(e){super(e);o.set(this,void 0)}test(e){const r=this.getCompiledType();return r.Check(e)}assert(e,r){const n=this.getCompiledType();if(!n.Check(e)){(0,d.throwInvalidAssert)(r,n.Errors(e).First())}}validate(e,r){const n=this.getCompiledType();if(!n.Check(e)){(0,d.throwInvalidValidate)(r,n.Errors(e))}}errors(e){const r=this.getCompiledType();return(0,d.createErrorsIterable)(r.Errors(e))}getCompiledType(){if(s(this,o,"f")===undefined){i(this,o,c.TypeCompiler.Compile(this.schema),"f")}return s(this,o,"f")}}r.CompilingStandardValidator=CompilingStandardValidator;o=new WeakMap},68589:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(12491),r);i(n(3470),r)},12491:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.StandardValidator=void 0;const s=n(58453);const i=n(45105);const o=n(17085);class StandardValidator extends s.AbstractStandardValidator{constructor(e){super(e)}test(e){return i.Value.Check(this.schema,e)}assert(e,r){this.uncompiledAssert(this.schema,e,r)}validate(e,r){this.uncompiledValidate(this.schema,e,r)}errors(e){return(0,o.createErrorsIterable)(i.Value.Errors(this.schema,e))}}r.StandardValidator=StandardValidator},4618:(e,r,n)=>{var s=n(42858).strict;e.exports=function typedarrayToBuffer(e){if(s(e)){var r=Buffer.from(e.buffer);if(e.byteLength!==e.buffer.byteLength){r=r.slice(e.byteOffset,e.byteOffset+e.byteLength)}return r}else{return Buffer.from(e)}}},46752:(e,r,n)=>{const s=n(86197);const i=n(28611);const o=n(68707);const c=n(35076);const u=n(81093);const d=n(59965);const A=n(3440);const{InvalidArgumentError:h}=o;const g=n(56615);const m=n(59136);const y=n(47365);const E=n(47501);const _=n(94004);const b=n(52429);const I=n(22720);const v=n(53573);const{getGlobalDispatcher:C,setGlobalDispatcher:w}=n(32581);const B=n(78840);const S=n(48299);const T=n(64415);let k;try{n(76982);k=true}catch{k=false}Object.assign(i.prototype,g);e.exports.Dispatcher=i;e.exports.Client=s;e.exports.Pool=c;e.exports.BalancedPool=u;e.exports.Agent=d;e.exports.ProxyAgent=I;e.exports.RetryHandler=v;e.exports.DecoratorHandler=B;e.exports.RedirectHandler=S;e.exports.createRedirectInterceptor=T;e.exports.buildConnector=m;e.exports.errors=o;function makeDispatcher(e){return(r,n,s)=>{if(typeof n==="function"){s=n;n=null}if(!r||typeof r!=="string"&&typeof r!=="object"&&!(r instanceof URL)){throw new h("invalid url")}if(n!=null&&typeof n!=="object"){throw new h("invalid opts")}if(n&&n.path!=null){if(typeof n.path!=="string"){throw new h("invalid opts.path")}let e=n.path;if(!n.path.startsWith("/")){e=`/${e}`}r=new URL(A.parseOrigin(r).origin+e)}else{if(!n){n=typeof r==="object"?r:{}}r=A.parseURL(r)}const{agent:i,dispatcher:o=C()}=n;if(i){throw new h("unsupported opts.agent. Did you mean opts.client?")}return e.call(o,{...n,origin:r.origin,path:r.search?`${r.pathname}${r.search}`:r.pathname,method:n.method||(n.body?"PUT":"GET")},s)}}e.exports.setGlobalDispatcher=w;e.exports.getGlobalDispatcher=C;if(A.nodeMajor>16||A.nodeMajor===16&&A.nodeMinor>=8){let r=null;e.exports.fetch=async function fetch(e){if(!r){r=n(12315).fetch}try{return await r(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=n(26349).Headers;e.exports.Response=n(48676).Response;e.exports.Request=n(25194).Request;e.exports.FormData=n(43073).FormData;e.exports.File=n(63041).File;e.exports.FileReader=n(82160).FileReader;const{setGlobalOrigin:s,getGlobalOrigin:i}=n(75628);e.exports.setGlobalOrigin=s;e.exports.getGlobalOrigin=i;const{CacheStorage:o}=n(44738);const{kConstruct:c}=n(80296);e.exports.caches=new o(c)}if(A.nodeMajor>=16){const{deleteCookie:r,getCookies:s,getSetCookies:i,setCookie:o}=n(53168);e.exports.deleteCookie=r;e.exports.getCookies=s;e.exports.getSetCookies=i;e.exports.setCookie=o;const{parseMIMEType:c,serializeAMimeType:u}=n(94322);e.exports.parseMIMEType=c;e.exports.serializeAMimeType=u}if(A.nodeMajor>=18&&k){const{WebSocket:r}=n(55171);e.exports.WebSocket=r}e.exports.request=makeDispatcher(g.request);e.exports.stream=makeDispatcher(g.stream);e.exports.pipeline=makeDispatcher(g.pipeline);e.exports.connect=makeDispatcher(g.connect);e.exports.upgrade=makeDispatcher(g.upgrade);e.exports.MockClient=y;e.exports.MockPool=_;e.exports.MockAgent=E;e.exports.mockErrors=b},59965:(e,r,n)=>{const{InvalidArgumentError:s}=n(68707);const{kClients:i,kRunning:o,kClose:c,kDestroy:u,kDispatch:d,kInterceptors:A}=n(36443);const h=n(50001);const g=n(35076);const m=n(86197);const y=n(3440);const E=n(64415);const{WeakRef:_,FinalizationRegistry:b}=n(13194)();const I=Symbol("onConnect");const v=Symbol("onDisconnect");const C=Symbol("onConnectionError");const w=Symbol("maxRedirections");const B=Symbol("onDrain");const S=Symbol("factory");const T=Symbol("finalizer");const k=Symbol("options");function defaultFactory(e,r){return r&&r.connections===1?new m(e,r):new g(e,r)}class Agent extends h{constructor({factory:e=defaultFactory,maxRedirections:r=0,connect:n,...o}={}){super();if(typeof e!=="function"){throw new s("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new s("connect must be a function or an object")}if(!Number.isInteger(r)||r<0){throw new s("maxRedirections must be a positive number")}if(n&&typeof n!=="function"){n={...n}}this[A]=o.interceptors&&o.interceptors.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[E({maxRedirections:r})];this[k]={...y.deepClone(o),connect:n};this[k].interceptors=o.interceptors?{...o.interceptors}:undefined;this[w]=r;this[S]=e;this[i]=new Map;this[T]=new b((e=>{const r=this[i].get(e);if(r!==undefined&&r.deref()===undefined){this[i].delete(e)}}));const c=this;this[B]=(e,r)=>{c.emit("drain",e,[c,...r])};this[I]=(e,r)=>{c.emit("connect",e,[c,...r])};this[v]=(e,r,n)=>{c.emit("disconnect",e,[c,...r],n)};this[C]=(e,r,n)=>{c.emit("connectionError",e,[c,...r],n)}}get[o](){let e=0;for(const r of this[i].values()){const n=r.deref();if(n){e+=n[o]}}return e}[d](e,r){let n;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){n=String(e.origin)}else{throw new s("opts.origin must be a non-empty string or URL.")}const o=this[i].get(n);let c=o?o.deref():null;if(!c){c=this[S](e.origin,this[k]).on("drain",this[B]).on("connect",this[I]).on("disconnect",this[v]).on("connectionError",this[C]);this[i].set(n,new _(c));this[T].register(c,n)}return c.dispatch(e,r)}async[c](){const e=[];for(const r of this[i].values()){const n=r.deref();if(n){e.push(n.close())}}await Promise.all(e)}async[u](e){const r=[];for(const n of this[i].values()){const s=n.deref();if(s){r.push(s.destroy(e))}}await Promise.all(r)}}e.exports=Agent},80158:(e,r,n)=>{const{addAbortListener:s}=n(3440);const{RequestAbortedError:i}=n(68707);const o=Symbol("kListener");const c=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new i)}}function addSignal(e,r){e[c]=null;e[o]=null;if(!r){return}if(r.aborted){abort(e);return}e[c]=r;e[o]=()=>{abort(e)};s(e[c],e[o])}function removeSignal(e){if(!e[c]){return}if("removeEventListener"in e[c]){e[c].removeEventListener("abort",e[o])}else{e[c].removeListener("abort",e[o])}e[c]=null;e[o]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(e,r,n)=>{const{AsyncResource:s}=n(90290);const{InvalidArgumentError:i,RequestAbortedError:o,SocketError:c}=n(68707);const u=n(3440);const{addSignal:d,removeSignal:A}=n(80158);class ConnectHandler extends s{constructor(e,r){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof r!=="function"){throw new i("invalid callback")}const{signal:n,opaque:s,responseHeaders:o}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=s||null;this.responseHeaders=o||null;this.callback=r;this.abort=null;d(this,n)}onConnect(e,r){if(!this.callback){throw new o}this.abort=e;this.context=r}onHeaders(){throw new c("bad connect",null)}onUpgrade(e,r,n){const{callback:s,opaque:i,context:o}=this;A(this);this.callback=null;let c=r;if(c!=null){c=this.responseHeaders==="raw"?u.parseRawHeaders(r):u.parseHeaders(r)}this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:o})}onError(e){const{callback:r,opaque:n}=this;A(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}}}function connect(e,r){if(r===undefined){return new Promise(((r,n)=>{connect.call(this,e,((e,s)=>e?n(e):r(s)))}))}try{const n=new ConnectHandler(e,r);this.dispatch({...e,method:"CONNECT"},n)}catch(n){if(typeof r!=="function"){throw n}const s=e&&e.opaque;queueMicrotask((()=>r(n,{opaque:s})))}}e.exports=connect},76862:(e,r,n)=>{const{Readable:s,Duplex:i,PassThrough:o}=n(2203);const{InvalidArgumentError:c,InvalidReturnValueError:u,RequestAbortedError:d}=n(68707);const A=n(3440);const{AsyncResource:h}=n(90290);const{addSignal:g,removeSignal:m}=n(80158);const y=n(42613);const E=Symbol("resume");class PipelineRequest extends s{constructor(){super({autoDestroy:true});this[E]=null}_read(){const{[E]:e}=this;if(e){this[E]=null;e()}}_destroy(e,r){this._read();r(e)}}class PipelineResponse extends s{constructor(e){super({autoDestroy:true});this[E]=e}_read(){this[E]()}_destroy(e,r){if(!e&&!this._readableState.endEmitted){e=new d}r(e)}}class PipelineHandler extends h{constructor(e,r){if(!e||typeof e!=="object"){throw new c("invalid opts")}if(typeof r!=="function"){throw new c("invalid handler")}const{signal:n,method:s,opaque:o,onInfo:u,responseHeaders:h}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new c("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new c("invalid method")}if(u&&typeof u!=="function"){throw new c("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=h||null;this.handler=r;this.abort=null;this.context=null;this.onInfo=u||null;this.req=(new PipelineRequest).on("error",A.nop);this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,r,n)=>{const{req:s}=this;if(s.push(e,r)||s._readableState.destroyed){n()}else{s[E]=n}},destroy:(e,r)=>{const{body:n,req:s,res:i,ret:o,abort:c}=this;if(!e&&!o._readableState.endEmitted){e=new d}if(c&&e){c()}A.destroy(n,e);A.destroy(s,e);A.destroy(i,e);m(this);r(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;g(this,n)}onConnect(e,r){const{ret:n,res:s}=this;y(!s,"pipeline cannot be retried");if(n.destroyed){throw new d}this.abort=e;this.context=r}onHeaders(e,r,n){const{opaque:s,handler:i,context:o}=this;if(e<200){if(this.onInfo){const n=this.responseHeaders==="raw"?A.parseRawHeaders(r):A.parseHeaders(r);this.onInfo({statusCode:e,headers:n})}return}this.res=new PipelineResponse(n);let c;try{this.handler=null;const n=this.responseHeaders==="raw"?A.parseRawHeaders(r):A.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:s,body:this.res,context:o})}catch(e){this.res.on("error",A.nop);throw e}if(!c||typeof c.on!=="function"){throw new u("expected Readable")}c.on("data",(e=>{const{ret:r,body:n}=this;if(!r.push(e)&&n.pause){n.pause()}})).on("error",(e=>{const{ret:r}=this;A.destroy(r,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){A.destroy(e,new d)}}));this.body=c}onData(e){const{res:r}=this;return r.push(e)}onComplete(e){const{res:r}=this;r.push(null)}onError(e){const{ret:r}=this;this.handler=null;A.destroy(r,e)}}function pipeline(e,r){try{const n=new PipelineHandler(e,r);this.dispatch({...e,body:n.req},n);return n.ret}catch(e){return(new o).destroy(e)}}e.exports=pipeline},14043:(e,r,n)=>{const s=n(49927);const{InvalidArgumentError:i,RequestAbortedError:o}=n(68707);const c=n(3440);const{getResolveErrorBodyCallback:u}=n(87655);const{AsyncResource:d}=n(90290);const{addSignal:A,removeSignal:h}=n(80158);class RequestHandler extends d{constructor(e,r){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:n,method:s,opaque:o,body:u,onInfo:d,responseHeaders:h,throwOnError:g,highWaterMark:m}=e;try{if(typeof r!=="function"){throw new i("invalid callback")}if(m&&(typeof m!=="number"||m<0)){throw new i("invalid highWaterMark")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new i("invalid method")}if(d&&typeof d!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(c.isStream(u)){c.destroy(u.on("error",c.nop),e)}throw e}this.responseHeaders=h||null;this.opaque=o||null;this.callback=r;this.res=null;this.abort=null;this.body=u;this.trailers={};this.context=null;this.onInfo=d||null;this.throwOnError=g;this.highWaterMark=m;if(c.isStream(u)){u.on("error",(e=>{this.onError(e)}))}A(this,n)}onConnect(e,r){if(!this.callback){throw new o}this.abort=e;this.context=r}onHeaders(e,r,n,i){const{callback:o,opaque:d,abort:A,context:h,responseHeaders:g,highWaterMark:m}=this;const y=g==="raw"?c.parseRawHeaders(r):c.parseHeaders(r);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:y})}return}const E=g==="raw"?c.parseHeaders(r):y;const _=E["content-type"];const b=new s({resume:n,abort:A,contentType:_,highWaterMark:m});this.callback=null;this.res=b;if(o!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(u,null,{callback:o,body:b,contentType:_,statusCode:e,statusMessage:i,headers:y})}else{this.runInAsyncScope(o,null,null,{statusCode:e,headers:y,trailers:this.trailers,opaque:d,body:b,context:h})}}}onData(e){const{res:r}=this;return r.push(e)}onComplete(e){const{res:r}=this;h(this);c.parseHeaders(e,this.trailers);r.push(null)}onError(e){const{res:r,callback:n,body:s,opaque:i}=this;h(this);if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:i})}))}if(r){this.res=null;queueMicrotask((()=>{c.destroy(r,e)}))}if(s){this.body=null;c.destroy(s,e)}}}function request(e,r){if(r===undefined){return new Promise(((r,n)=>{request.call(this,e,((e,s)=>e?n(e):r(s)))}))}try{this.dispatch(e,new RequestHandler(e,r))}catch(n){if(typeof r!=="function"){throw n}const s=e&&e.opaque;queueMicrotask((()=>r(n,{opaque:s})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,r,n)=>{const{finished:s,PassThrough:i}=n(2203);const{InvalidArgumentError:o,InvalidReturnValueError:c,RequestAbortedError:u}=n(68707);const d=n(3440);const{getResolveErrorBodyCallback:A}=n(87655);const{AsyncResource:h}=n(90290);const{addSignal:g,removeSignal:m}=n(80158);class StreamHandler extends h{constructor(e,r,n){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:s,method:i,opaque:c,body:u,onInfo:A,responseHeaders:h,throwOnError:m}=e;try{if(typeof n!=="function"){throw new o("invalid callback")}if(typeof r!=="function"){throw new o("invalid factory")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new o("invalid method")}if(A&&typeof A!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(d.isStream(u)){d.destroy(u.on("error",d.nop),e)}throw e}this.responseHeaders=h||null;this.opaque=c||null;this.factory=r;this.callback=n;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=u;this.onInfo=A||null;this.throwOnError=m||false;if(d.isStream(u)){u.on("error",(e=>{this.onError(e)}))}g(this,s)}onConnect(e,r){if(!this.callback){throw new u}this.abort=e;this.context=r}onHeaders(e,r,n,o){const{factory:u,opaque:h,context:g,callback:m,responseHeaders:y}=this;const E=y==="raw"?d.parseRawHeaders(r):d.parseHeaders(r);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:E})}return}this.factory=null;let _;if(this.throwOnError&&e>=400){const n=y==="raw"?d.parseHeaders(r):E;const s=n["content-type"];_=new i;this.callback=null;this.runInAsyncScope(A,null,{callback:m,body:_,contentType:s,statusCode:e,statusMessage:o,headers:E})}else{if(u===null){return}_=this.runInAsyncScope(u,null,{statusCode:e,headers:E,opaque:h,context:g});if(!_||typeof _.write!=="function"||typeof _.end!=="function"||typeof _.on!=="function"){throw new c("expected Writable")}s(_,{readable:false},(e=>{const{callback:r,res:n,opaque:s,trailers:i,abort:o}=this;this.res=null;if(e||!n.readable){d.destroy(n,e)}this.callback=null;this.runInAsyncScope(r,null,e||null,{opaque:s,trailers:i});if(e){o()}}))}_.on("drain",n);this.res=_;const b=_.writableNeedDrain!==undefined?_.writableNeedDrain:_._writableState&&_._writableState.needDrain;return b!==true}onData(e){const{res:r}=this;return r?r.write(e):true}onComplete(e){const{res:r}=this;m(this);if(!r){return}this.trailers=d.parseHeaders(e);r.end()}onError(e){const{res:r,callback:n,opaque:s,body:i}=this;m(this);this.factory=null;if(r){this.res=null;d.destroy(r,e)}else if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:s})}))}if(i){this.body=null;d.destroy(i,e)}}}function stream(e,r,n){if(n===undefined){return new Promise(((n,s)=>{stream.call(this,e,r,((e,r)=>e?s(e):n(r)))}))}try{this.dispatch(e,new StreamHandler(e,r,n))}catch(r){if(typeof n!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>n(r,{opaque:s})))}}e.exports=stream},61882:(e,r,n)=>{const{InvalidArgumentError:s,RequestAbortedError:i,SocketError:o}=n(68707);const{AsyncResource:c}=n(90290);const u=n(3440);const{addSignal:d,removeSignal:A}=n(80158);const h=n(42613);class UpgradeHandler extends c{constructor(e,r){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof r!=="function"){throw new s("invalid callback")}const{signal:n,opaque:i,responseHeaders:o}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=i||null;this.callback=r;this.abort=null;this.context=null;d(this,n)}onConnect(e,r){if(!this.callback){throw new i}this.abort=e;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(e,r,n){const{callback:s,opaque:i,context:o}=this;h.strictEqual(e,101);A(this);this.callback=null;const c=this.responseHeaders==="raw"?u.parseRawHeaders(r):u.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:o})}onError(e){const{callback:r,opaque:n}=this;A(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}}}function upgrade(e,r){if(r===undefined){return new Promise(((r,n)=>{upgrade.call(this,e,((e,s)=>e?n(e):r(s)))}))}try{const n=new UpgradeHandler(e,r);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},n)}catch(n){if(typeof r!=="function"){throw n}const s=e&&e.opaque;queueMicrotask((()=>r(n,{opaque:s})))}}e.exports=upgrade},56615:(e,r,n)=>{e.exports.request=n(14043);e.exports.stream=n(3560);e.exports.pipeline=n(76862);e.exports.upgrade=n(61882);e.exports.connect=n(34660)},49927:(e,r,n)=>{const s=n(42613);const{Readable:i}=n(2203);const{RequestAbortedError:o,NotSupportedError:c,InvalidArgumentError:u}=n(68707);const d=n(3440);const{ReadableStreamFrom:A,toUSVString:h}=n(3440);let g;const m=Symbol("kConsume");const y=Symbol("kReading");const E=Symbol("kBody");const _=Symbol("abort");const b=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends i{constructor({resume:e,abort:r,contentType:n="",highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[_]=r;this[m]=null;this[E]=null;this[b]=n;this[y]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new o}if(e){this[_]()}return super.destroy(e)}emit(e,...r){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...r)}on(e,...r){if(e==="data"||e==="readable"){this[y]=true}return super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){const n=super.off(e,...r);if(e==="data"||e==="readable"){this[y]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return n}removeListener(e,...r){return this.off(e,...r)}push(e){if(this[m]&&e!==null&&this.readableLength===0){consumePush(this[m],e);return this[y]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new c}get bodyUsed(){return d.isDisturbed(this)}get body(){if(!this[E]){this[E]=A(this);if(this[m]){this[E].getReader();s(this[E].locked)}}return this[E]}dump(e){let r=e&&Number.isFinite(e.limit)?e.limit:262144;const n=e&&e.signal;if(n){try{if(typeof n!=="object"||!("aborted"in n)){throw new u("signal must be an AbortSignal")}d.throwIfAborted(n)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,s)=>{const i=n?d.addAbortListener(n,(()=>{this.destroy()})):noop;this.on("close",(function(){i();if(n&&n.aborted){s(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){r-=e.length;if(r<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[E]&&e[E].locked===true||e[m]}function isUnusable(e){return d.isDisturbed(e)||isLocked(e)}async function consume(e,r){if(isUnusable(e)){throw new TypeError("unusable")}s(!e[m]);return new Promise(((n,s)=>{e[m]={type:r,stream:e,resolve:n,reject:s,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[m],e)})).on("close",(function(){if(this[m].body!==null){consumeFinish(this[m],new o)}}));process.nextTick(consumeStart,e[m])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:r}=e.stream;for(const n of r.buffer){consumePush(e,n)}if(r.endEmitted){consumeEnd(this[m])}else{e.stream.on("end",(function(){consumeEnd(this[m])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:r,body:s,resolve:i,stream:o,length:c}=e;try{if(r==="text"){i(h(Buffer.concat(s)))}else if(r==="json"){i(JSON.parse(Buffer.concat(s)))}else if(r==="arrayBuffer"){const e=new Uint8Array(c);let r=0;for(const n of s){e.set(n,r);r+=n.byteLength}i(e.buffer)}else if(r==="blob"){if(!g){g=n(20181).Blob}i(new g(s,{type:o[b]}))}consumeFinish(e)}catch(e){o.destroy(e)}}function consumePush(e,r){e.length+=r.length;e.body.push(r)}function consumeFinish(e,r){if(e.body===null){return}if(r){e.reject(r)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},87655:(e,r,n)=>{const s=n(42613);const{ResponseStatusCodeError:i}=n(68707);const{toUSVString:o}=n(3440);async function getResolveErrorBodyCallback({callback:e,body:r,contentType:n,statusCode:c,statusMessage:u,headers:d}){s(r);let A=[];let h=0;for await(const e of r){A.push(e);h+=e.length;if(h>128*1024){A=null;break}}if(c===204||!n||!A){process.nextTick(e,new i(`Response status code ${c}${u?`: ${u}`:""}`,c,d));return}try{if(n.startsWith("application/json")){const r=JSON.parse(o(Buffer.concat(A)));process.nextTick(e,new i(`Response status code ${c}${u?`: ${u}`:""}`,c,d,r));return}if(n.startsWith("text/")){const r=o(Buffer.concat(A));process.nextTick(e,new i(`Response status code ${c}${u?`: ${u}`:""}`,c,d,r));return}}catch(e){}process.nextTick(e,new i(`Response status code ${c}${u?`: ${u}`:""}`,c,d))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(e,r,n)=>{const{BalancedPoolMissingUpstreamError:s,InvalidArgumentError:i}=n(68707);const{PoolBase:o,kClients:c,kNeedDrain:u,kAddClient:d,kRemoveClient:A,kGetDispatcher:h}=n(58640);const g=n(35076);const{kUrl:m,kInterceptors:y}=n(36443);const{parseOrigin:E}=n(3440);const _=Symbol("factory");const b=Symbol("options");const I=Symbol("kGreatestCommonDivisor");const v=Symbol("kCurrentWeight");const C=Symbol("kIndex");const w=Symbol("kWeight");const B=Symbol("kMaxWeightPerServer");const S=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,r){if(r===0)return e;return getGreatestCommonDivisor(r,e%r)}function defaultFactory(e,r){return new g(e,r)}class BalancedPool extends o{constructor(e=[],{factory:r=defaultFactory,...n}={}){super();this[b]=n;this[C]=-1;this[v]=0;this[B]=this[b].maxWeightPerServer||100;this[S]=this[b].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof r!=="function"){throw new i("factory must be a function.")}this[y]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[];this[_]=r;for(const r of e){this.addUpstream(r)}this._updateBalancedPoolStats()}addUpstream(e){const r=E(e).origin;if(this[c].find((e=>e[m].origin===r&&e.closed!==true&&e.destroyed!==true))){return this}const n=this[_](r,Object.assign({},this[b]));this[d](n);n.on("connect",(()=>{n[w]=Math.min(this[B],n[w]+this[S])}));n.on("connectionError",(()=>{n[w]=Math.max(1,n[w]-this[S]);this._updateBalancedPoolStats()}));n.on("disconnect",((...e)=>{const r=e[2];if(r&&r.code==="UND_ERR_SOCKET"){n[w]=Math.max(1,n[w]-this[S]);this._updateBalancedPoolStats()}}));for(const e of this[c]){e[w]=this[B]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[I]=this[c].map((e=>e[w])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const r=E(e).origin;const n=this[c].find((e=>e[m].origin===r&&e.closed!==true&&e.destroyed!==true));if(n){this[A](n)}return this}get upstreams(){return this[c].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[m].origin))}[h](){if(this[c].length===0){throw new s}const e=this[c].find((e=>!e[u]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const r=this[c].map((e=>e[u])).reduce(((e,r)=>e&&r),true);if(r){return}let n=0;let i=this[c].findIndex((e=>!e[u]));while(n++this[c][i][w]&&!e[u]){i=this[C]}if(this[C]===0){this[v]=this[v]-this[I];if(this[v]<=0){this[v]=this[B]}}if(e[w]>=this[v]&&!e[u]){return e}}this[v]=this[c][i][w];this[C]=i;return this[c][i]}}e.exports=BalancedPool},50479:(e,r,n)=>{const{kConstruct:s}=n(80296);const{urlEquals:i,fieldValues:o}=n(23993);const{kEnumerableProperty:c,isDisturbed:u}=n(3440);const{kHeadersList:d}=n(36443);const{webidl:A}=n(74222);const{Response:h,cloneResponse:g}=n(48676);const{Request:m}=n(25194);const{kState:y,kHeaders:E,kGuard:_,kRealm:b}=n(89710);const{fetching:I}=n(12315);const{urlIsHttpHttpsScheme:v,createDeferredPromise:C,readAllBytes:w}=n(15523);const B=n(42613);const{getGlobalDispatcher:S}=n(32581);class Cache{#e;constructor(){if(arguments[0]!==s){A.illegalConstructor()}this.#e=arguments[1]}async match(e,r={}){A.brandCheck(this,Cache);A.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=A.converters.RequestInfo(e);r=A.converters.CacheQueryOptions(r);const n=await this.matchAll(e,r);if(n.length===0){return}return n[0]}async matchAll(e=undefined,r={}){A.brandCheck(this,Cache);if(e!==undefined)e=A.converters.RequestInfo(e);r=A.converters.CacheQueryOptions(r);let n=null;if(e!==undefined){if(e instanceof m){n=e[y];if(n.method!=="GET"&&!r.ignoreMethod){return[]}}else if(typeof e==="string"){n=new m(e)[y]}}const s=[];if(e===undefined){for(const e of this.#e){s.push(e[1])}}else{const e=this.#t(n,r);for(const r of e){s.push(r[1])}}const i=[];for(const e of s){const r=new h(e.body?.source??null);const n=r[y].body;r[y]=e;r[y].body=n;r[E][d]=e.headersList;r[E][_]="immutable";i.push(r)}return Object.freeze(i)}async add(e){A.brandCheck(this,Cache);A.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=A.converters.RequestInfo(e);const r=[e];const n=this.addAll(r);return await n}async addAll(e){A.brandCheck(this,Cache);A.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=A.converters["sequence"](e);const r=[];const n=[];for(const r of e){if(typeof r==="string"){continue}const e=r[y];if(!v(e.url)||e.method!=="GET"){throw A.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const i of e){const e=new m(i)[y];if(!v(e.url)){throw A.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const c=C();s.push(I({request:e,dispatcher:S(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){c.reject(A.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const r=o(e.headersList.get("vary"));for(const e of r){if(e==="*"){c.reject(A.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){c.reject(new DOMException("aborted","AbortError"));return}c.resolve(e)}}));r.push(c.promise)}const i=Promise.all(r);const c=await i;const u=[];let d=0;for(const e of c){const r={type:"put",request:n[d],response:e};u.push(r);d++}const h=C();let g=null;try{this.#r(u)}catch(e){g=e}queueMicrotask((()=>{if(g===null){h.resolve(undefined)}else{h.reject(g)}}));return h.promise}async put(e,r){A.brandCheck(this,Cache);A.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=A.converters.RequestInfo(e);r=A.converters.Response(r);let n=null;if(e instanceof m){n=e[y]}else{n=new m(e)[y]}if(!v(n.url)||n.method!=="GET"){throw A.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const s=r[y];if(s.status===206){throw A.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=o(s.headersList.get("vary"));for(const r of e){if(r==="*"){throw A.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(s.body&&(u(s.body.stream)||s.body.stream.locked)){throw A.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const i=g(s);const c=C();if(s.body!=null){const e=s.body.stream;const r=e.getReader();w(r).then(c.resolve,c.reject)}else{c.resolve(undefined)}const d=[];const h={type:"put",request:n,response:i};d.push(h);const E=await c.promise;if(i.body!=null){i.body.source=E}const _=C();let b=null;try{this.#r(d)}catch(e){b=e}queueMicrotask((()=>{if(b===null){_.resolve()}else{_.reject(b)}}));return _.promise}async delete(e,r={}){A.brandCheck(this,Cache);A.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=A.converters.RequestInfo(e);r=A.converters.CacheQueryOptions(r);let n=null;if(e instanceof m){n=e[y];if(n.method!=="GET"&&!r.ignoreMethod){return false}}else{B(typeof e==="string");n=new m(e)[y]}const s=[];const i={type:"delete",request:n,options:r};s.push(i);const o=C();let c=null;let u;try{u=this.#r(s)}catch(e){c=e}queueMicrotask((()=>{if(c===null){o.resolve(!!u?.length)}else{o.reject(c)}}));return o.promise}async keys(e=undefined,r={}){A.brandCheck(this,Cache);if(e!==undefined)e=A.converters.RequestInfo(e);r=A.converters.CacheQueryOptions(r);let n=null;if(e!==undefined){if(e instanceof m){n=e[y];if(n.method!=="GET"&&!r.ignoreMethod){return[]}}else if(typeof e==="string"){n=new m(e)[y]}}const s=C();const i=[];if(e===undefined){for(const e of this.#e){i.push(e[0])}}else{const e=this.#t(n,r);for(const r of e){i.push(r[0])}}queueMicrotask((()=>{const e=[];for(const r of i){const n=new m("https://a");n[y]=r;n[E][d]=r.headersList;n[E][_]="immutable";n[b]=r.client;e.push(n)}s.resolve(Object.freeze(e))}));return s.promise}#r(e){const r=this.#e;const n=[...r];const s=[];const i=[];try{for(const n of e){if(n.type!=="delete"&&n.type!=="put"){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(n.type==="delete"&&n.response!=null){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(n.request,n.options,s).length){throw new DOMException("???","InvalidStateError")}let e;if(n.type==="delete"){e=this.#t(n.request,n.options);if(e.length===0){return[]}for(const n of e){const e=r.indexOf(n);B(e!==-1);r.splice(e,1)}}else if(n.type==="put"){if(n.response==null){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const i=n.request;if(!v(i.url)){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(i.method!=="GET"){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(n.options!=null){throw A.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(n.request);for(const n of e){const e=r.indexOf(n);B(e!==-1);r.splice(e,1)}r.push([n.request,n.response]);s.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){this.#e.length=0;this.#e=n;throw e}}#t(e,r,n){const s=[];const i=n??this.#e;for(const n of i){const[i,o]=n;if(this.#n(e,i,o,r)){s.push(n)}}return s}#n(e,r,n=null,s){const c=new URL(e.url);const u=new URL(r.url);if(s?.ignoreSearch){u.search="";c.search=""}if(!i(c,u,true)){return false}if(n==null||s?.ignoreVary||!n.headersList.contains("vary")){return true}const d=o(n.headersList.get("vary"));for(const n of d){if(n==="*"){return false}const s=r.headersList.get(n);const i=e.headersList.get(n);if(s!==i){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:c,matchAll:c,add:c,addAll:c,put:c,delete:c,keys:c});const T=[{key:"ignoreSearch",converter:A.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:A.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:A.converters.boolean,defaultValue:false}];A.converters.CacheQueryOptions=A.dictionaryConverter(T);A.converters.MultiCacheQueryOptions=A.dictionaryConverter([...T,{key:"cacheName",converter:A.converters.DOMString}]);A.converters.Response=A.interfaceConverter(h);A.converters["sequence"]=A.sequenceConverter(A.converters.RequestInfo);e.exports={Cache:Cache}},44738:(e,r,n)=>{const{kConstruct:s}=n(80296);const{Cache:i}=n(50479);const{webidl:o}=n(74222);const{kEnumerableProperty:c}=n(3440);class CacheStorage{#s=new Map;constructor(){if(arguments[0]!==s){o.illegalConstructor()}}async match(e,r={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=o.converters.RequestInfo(e);r=o.converters.MultiCacheQueryOptions(r);if(r.cacheName!=null){if(this.#s.has(r.cacheName)){const n=this.#s.get(r.cacheName);const o=new i(s,n);return await o.match(e,r)}}else{for(const n of this.#s.values()){const o=new i(s,n);const c=await o.match(e,r);if(c!==undefined){return c}}}}async has(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=o.converters.DOMString(e);return this.#s.has(e)}async open(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=o.converters.DOMString(e);if(this.#s.has(e)){const r=this.#s.get(e);return new i(s,r)}const r=[];this.#s.set(e,r);return new i(s,r)}async delete(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=o.converters.DOMString(e);return this.#s.delete(e)}async keys(){o.brandCheck(this,CacheStorage);const e=this.#s.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:c,has:c,open:c,delete:c,keys:c});e.exports={CacheStorage:CacheStorage}},80296:(e,r,n)=>{e.exports={kConstruct:n(36443).kConstruct}},23993:(e,r,n)=>{const s=n(42613);const{URLSerializer:i}=n(94322);const{isValidHeaderName:o}=n(15523);function urlEquals(e,r,n=false){const s=i(e,n);const o=i(r,n);return s===o}function fieldValues(e){s(e!==null);const r=[];for(let n of e.split(",")){n=n.trim();if(!n.length){continue}else if(!o(n)){continue}r.push(n)}return r}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(e,r,n)=>{const s=n(42613);const i=n(69278);const o=n(58611);const{pipeline:c}=n(2203);const u=n(3440);const d=n(28804);const A=n(44655);const h=n(50001);const{RequestContentLengthMismatchError:g,ResponseContentLengthMismatchError:m,InvalidArgumentError:y,RequestAbortedError:E,HeadersTimeoutError:_,HeadersOverflowError:b,SocketError:I,InformationalError:v,BodyTimeoutError:C,HTTPParserError:w,ResponseExceededMaxSizeError:B,ClientDestroyedError:S}=n(68707);const T=n(59136);const{kUrl:k,kReset:R,kServerName:Q,kClient:P,kBusy:O,kParser:D,kConnect:F,kBlocking:M,kResuming:x,kRunning:U,kPending:N,kSize:L,kWriting:G,kQueue:j,kConnected:V,kConnecting:q,kNeedDrain:H,kNoRef:W,kKeepAliveDefaultTimeout:K,kHostHeader:J,kPendingIdx:Y,kRunningIdx:z,kError:$,kPipelining:Z,kSocket:X,kKeepAliveTimeoutValue:ee,kMaxHeadersSize:te,kKeepAliveMaxTimeout:re,kKeepAliveTimeoutThreshold:ne,kHeadersTimeout:se,kBodyTimeout:ie,kStrictContentLength:oe,kConnector:ae,kMaxRedirections:ce,kMaxRequests:le,kCounter:ue,kClose:de,kDestroy:pe,kDispatch:fe,kInterceptors:Ae,kLocalAddress:he,kMaxResponseSize:ge,kHTTPConnVersion:me,kHost:ye,kHTTP2Session:Ee,kHTTP2SessionState:_e,kHTTP2BuildRequest:be,kHTTP2CopyHeaders:Ie,kHTTP1BuildRequest:ve}=n(36443);let Ce;try{Ce=n(85675)}catch{Ce={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:we,HTTP2_HEADER_METHOD:Be,HTTP2_HEADER_PATH:Se,HTTP2_HEADER_SCHEME:Te,HTTP2_HEADER_CONTENT_LENGTH:ke,HTTP2_HEADER_EXPECT:Re,HTTP2_HEADER_STATUS:Qe}}=Ce;let Pe=false;const Oe=Buffer[Symbol.species];const De=Symbol("kClosedResolve");const Fe={};try{const e=n(31637);Fe.sendHeaders=e.channel("undici:client:sendHeaders");Fe.beforeConnect=e.channel("undici:client:beforeConnect");Fe.connectError=e.channel("undici:client:connectError");Fe.connected=e.channel("undici:client:connected")}catch{Fe.sendHeaders={hasSubscribers:false};Fe.beforeConnect={hasSubscribers:false};Fe.connectError={hasSubscribers:false};Fe.connected={hasSubscribers:false}}class Client extends h{constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:s,socketTimeout:c,requestTimeout:d,connectTimeout:A,bodyTimeout:h,idleTimeout:g,keepAlive:m,keepAliveTimeout:E,maxKeepAliveTimeout:_,keepAliveMaxTimeout:b,keepAliveTimeoutThreshold:I,socketPath:v,pipelining:C,tls:w,strictContentLength:B,maxCachedSessions:S,maxRedirections:R,connect:P,maxRequestsPerClient:O,localAddress:D,maxResponseSize:F,autoSelectFamily:M,autoSelectFamilyAttemptTimeout:U,allowH2:N,maxConcurrentStreams:L}={}){super();if(m!==undefined){throw new y("unsupported keepAlive, use pipelining=0 instead")}if(c!==undefined){throw new y("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(d!==undefined){throw new y("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(g!==undefined){throw new y("unsupported idleTimeout, use keepAliveTimeout instead")}if(_!==undefined){throw new y("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(n!=null&&!Number.isFinite(n)){throw new y("invalid maxHeaderSize")}if(v!=null&&typeof v!=="string"){throw new y("invalid socketPath")}if(A!=null&&(!Number.isFinite(A)||A<0)){throw new y("invalid connectTimeout")}if(E!=null&&(!Number.isFinite(E)||E<=0)){throw new y("invalid keepAliveTimeout")}if(b!=null&&(!Number.isFinite(b)||b<=0)){throw new y("invalid keepAliveMaxTimeout")}if(I!=null&&!Number.isFinite(I)){throw new y("invalid keepAliveTimeoutThreshold")}if(s!=null&&(!Number.isInteger(s)||s<0)){throw new y("headersTimeout must be a positive integer or zero")}if(h!=null&&(!Number.isInteger(h)||h<0)){throw new y("bodyTimeout must be a positive integer or zero")}if(P!=null&&typeof P!=="function"&&typeof P!=="object"){throw new y("connect must be a function or an object")}if(R!=null&&(!Number.isInteger(R)||R<0)){throw new y("maxRedirections must be a positive number")}if(O!=null&&(!Number.isInteger(O)||O<0)){throw new y("maxRequestsPerClient must be a positive number")}if(D!=null&&(typeof D!=="string"||i.isIP(D)===0)){throw new y("localAddress must be valid string IP address")}if(F!=null&&(!Number.isInteger(F)||F<-1)){throw new y("maxResponseSize must be a positive number")}if(U!=null&&(!Number.isInteger(U)||U<-1)){throw new y("autoSelectFamilyAttemptTimeout must be a positive number")}if(N!=null&&typeof N!=="boolean"){throw new y("allowH2 must be a valid boolean value")}if(L!=null&&(typeof L!=="number"||L<1)){throw new y("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof P!=="function"){P=T({...w,maxCachedSessions:S,allowH2:N,socketPath:v,timeout:A,...u.nodeHasAutoSelectFamily&&M?{autoSelectFamily:M,autoSelectFamilyAttemptTimeout:U}:undefined,...P})}this[Ae]=r&&r.Client&&Array.isArray(r.Client)?r.Client:[xe({maxRedirections:R})];this[k]=u.parseOrigin(e);this[ae]=P;this[X]=null;this[Z]=C!=null?C:1;this[te]=n||o.maxHeaderSize;this[K]=E==null?4e3:E;this[re]=b==null?6e5:b;this[ne]=I==null?1e3:I;this[ee]=this[K];this[Q]=null;this[he]=D!=null?D:null;this[x]=0;this[H]=0;this[J]=`host: ${this[k].hostname}${this[k].port?`:${this[k].port}`:""}\r\n`;this[ie]=h!=null?h:3e5;this[se]=s!=null?s:3e5;this[oe]=B==null?true:B;this[ce]=R;this[le]=O;this[De]=null;this[ge]=F>-1?F:-1;this[me]="h1";this[Ee]=null;this[_e]=!N?null:{openStreams:0,maxConcurrentStreams:L!=null?L:100};this[ye]=`${this[k].hostname}${this[k].port?`:${this[k].port}`:""}`;this[j]=[];this[z]=0;this[Y]=0}get pipelining(){return this[Z]}set pipelining(e){this[Z]=e;resume(this,true)}get[N](){return this[j].length-this[Y]}get[U](){return this[Y]-this[z]}get[L](){return this[j].length-this[z]}get[V](){return!!this[X]&&!this[q]&&!this[X].destroyed}get[O](){const e=this[X];return e&&(e[R]||e[G]||e[M])||this[L]>=(this[Z]||1)||this[N]>0}[F](e){connect(this);this.once("connect",e)}[fe](e,r){const n=e.origin||this[k].origin;const s=this[me]==="h2"?A[be](n,e,r):A[ve](n,e,r);this[j].push(s);if(this[x]){}else if(u.bodyLength(s.body)==null&&u.isIterable(s.body)){this[x]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[x]&&this[H]!==2&&this[O]){this[H]=2}return this[H]<2}async[de](){return new Promise((e=>{if(!this[L]){e(null)}else{this[De]=e}}))}async[pe](e){return new Promise((r=>{const n=this[j].splice(this[Y]);for(let r=0;r{if(this[De]){this[De]();this[De]=null}r()};if(this[Ee]!=null){u.destroy(this[Ee],e);this[Ee]=null;this[_e]=null}if(!this[X]){queueMicrotask(callback)}else{u.destroy(this[X].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[X][$]=e;onError(this[P],e)}function onHttp2FrameError(e,r,n){const s=new v(`HTTP/2: "frameError" received - type ${e}, code ${r}`);if(n===0){this[X][$]=s;onError(this[P],s)}}function onHttp2SessionEnd(){u.destroy(this,new I("other side closed"));u.destroy(this[X],new I("other side closed"))}function onHTTP2GoAway(e){const r=this[P];const n=new v(`HTTP/2: "GOAWAY" frame received with code ${e}`);r[X]=null;r[Ee]=null;if(r.destroyed){s(this[N]===0);const e=r[j].splice(r[z]);for(let r=0;r0){const e=r[j][r[z]];r[j][r[z]++]=null;errorRequest(r,e,n)}r[Y]=r[z];s(r[U]===0);r.emit("disconnect",r[k],[r],n);resume(r)}const Me=n(52824);const xe=n(64415);const Ue=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?n(63870):undefined;let r;try{r=await WebAssembly.compile(Buffer.from(n(53434),"base64"))}catch(s){r=await WebAssembly.compile(Buffer.from(e||n(63870),"base64"))}return await WebAssembly.instantiate(r,{env:{wasm_on_url:(e,r,n)=>0,wasm_on_status:(e,r,n)=>{s.strictEqual(Ge.ptr,e);const i=r-qe+je.byteOffset;return Ge.onStatus(new Oe(je.buffer,i,n))||0},wasm_on_message_begin:e=>{s.strictEqual(Ge.ptr,e);return Ge.onMessageBegin()||0},wasm_on_header_field:(e,r,n)=>{s.strictEqual(Ge.ptr,e);const i=r-qe+je.byteOffset;return Ge.onHeaderField(new Oe(je.buffer,i,n))||0},wasm_on_header_value:(e,r,n)=>{s.strictEqual(Ge.ptr,e);const i=r-qe+je.byteOffset;return Ge.onHeaderValue(new Oe(je.buffer,i,n))||0},wasm_on_headers_complete:(e,r,n,i)=>{s.strictEqual(Ge.ptr,e);return Ge.onHeadersComplete(r,Boolean(n),Boolean(i))||0},wasm_on_body:(e,r,n)=>{s.strictEqual(Ge.ptr,e);const i=r-qe+je.byteOffset;return Ge.onBody(new Oe(je.buffer,i,n))||0},wasm_on_message_complete:e=>{s.strictEqual(Ge.ptr,e);return Ge.onMessageComplete()||0}}})}let Ne=null;let Le=lazyllhttp();Le.catch();let Ge=null;let je=null;let Ve=0;let qe=null;const He=1;const We=2;const Ke=3;class Parser{constructor(e,r,{exports:n}){s(Number.isFinite(e[te])&&e[te]>0);this.llhttp=n;this.ptr=this.llhttp.llhttp_alloc(Me.TYPE.RESPONSE);this.client=e;this.socket=r;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[ge]}setTimeout(e,r){this.timeoutType=r;if(e!==this.timeoutValue){d.clearTimeout(this.timeout);if(e){this.timeout=d.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}s(this.ptr!=null);s(Ge==null);this.llhttp.llhttp_resume(this.ptr);s(this.timeoutType===We);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ue);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){s(this.ptr!=null);s(Ge==null);s(!this.paused);const{socket:r,llhttp:n}=this;if(e.length>Ve){if(qe){n.free(qe)}Ve=Math.ceil(e.length/4096)*4096;qe=n.malloc(Ve)}new Uint8Array(n.memory.buffer,qe,Ve).set(e);try{let s;try{je=e;Ge=this;s=n.llhttp_execute(this.ptr,qe,e.length)}catch(e){throw e}finally{Ge=null;je=null}const i=n.llhttp_get_error_pos(this.ptr)-qe;if(s===Me.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(i))}else if(s===Me.ERROR.PAUSED){this.paused=true;r.unshift(e.slice(i))}else if(s!==Me.ERROR.OK){const r=n.llhttp_get_error_reason(this.ptr);let o="";if(r){const e=new Uint8Array(n.memory.buffer,r).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,r,e).toString()+")"}throw new w(o,Me.ERROR[s],e.slice(i))}}catch(e){u.destroy(r,e)}}destroy(){s(this.ptr!=null);s(Ge==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;d.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:r}=this;if(e.destroyed){return-1}const n=r[j][r[z]];if(!n){return-1}}onHeaderField(e){const r=this.headers.length;if((r&1)===0){this.headers.push(e)}else{this.headers[r-1]=Buffer.concat([this.headers[r-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;if((r&1)===1){this.headers.push(e);r+=1}else{this.headers[r-1]=Buffer.concat([this.headers[r-1],e])}const n=this.headers[r-2];if(n.length===10&&n.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(n.length===10&&n.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(n.length===14&&n.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){u.destroy(this.socket,new b)}}onUpgrade(e){const{upgrade:r,client:n,socket:i,headers:o,statusCode:c}=this;s(r);const d=n[j][n[z]];s(d);s(!i.destroyed);s(i===n[X]);s(!this.paused);s(d.upgrade||d.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;s(this.headers.length%2===0);this.headers=[];this.headersSize=0;i.unshift(e);i[D].destroy();i[D]=null;i[P]=null;i[$]=null;i.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);n[X]=null;n[j][n[z]++]=null;n.emit("disconnect",n[k],[n],new v("upgrade"));try{d.onUpgrade(c,o,i)}catch(e){u.destroy(i,e)}resume(n)}onHeadersComplete(e,r,n){const{client:i,socket:o,headers:c,statusText:d}=this;if(o.destroyed){return-1}const A=i[j][i[z]];if(!A){return-1}s(!this.upgrade);s(this.statusCode<200);if(e===100){u.destroy(o,new I("bad response",u.getSocketInfo(o)));return-1}if(r&&!A.upgrade){u.destroy(o,new I("bad upgrade",u.getSocketInfo(o)));return-1}s.strictEqual(this.timeoutType,He);this.statusCode=e;this.shouldKeepAlive=n||A.method==="HEAD"&&!o[R]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=A.bodyTimeout!=null?A.bodyTimeout:i[ie];this.setTimeout(e,We)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(A.method==="CONNECT"){s(i[U]===1);this.upgrade=true;return 2}if(r){s(i[U]===1);this.upgrade=true;return 2}s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&i[Z]){const e=this.keepAlive?u.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const r=Math.min(e-i[ne],i[re]);if(r<=0){o[R]=true}else{i[ee]=r}}else{i[ee]=i[K]}}else{o[R]=true}const h=A.onHeaders(e,c,this.resume,d)===false;if(A.aborted){return-1}if(A.method==="HEAD"){return 1}if(e<200){return 1}if(o[M]){o[M]=false;resume(i)}return h?Me.ERROR.PAUSED:0}onBody(e){const{client:r,socket:n,statusCode:i,maxResponseSize:o}=this;if(n.destroyed){return-1}const c=r[j][r[z]];s(c);s.strictEqual(this.timeoutType,We);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}s(i>=200);if(o>-1&&this.bytesRead+e.length>o){u.destroy(n,new B);return-1}this.bytesRead+=e.length;if(c.onData(e)===false){return Me.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:r,statusCode:n,upgrade:i,headers:o,contentLength:c,bytesRead:d,shouldKeepAlive:A}=this;if(r.destroyed&&(!n||A)){return-1}if(i){return}const h=e[j][e[z]];s(h);s(n>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(n<200){return}if(h.method!=="HEAD"&&c&&d!==parseInt(c,10)){u.destroy(r,new m);return-1}h.onComplete(o);e[j][e[z]++]=null;if(r[G]){s.strictEqual(e[U],0);u.destroy(r,new v("reset"));return Me.ERROR.PAUSED}else if(!A){u.destroy(r,new v("reset"));return Me.ERROR.PAUSED}else if(r[R]&&e[U]===0){u.destroy(r,new v("reset"));return Me.ERROR.PAUSED}else if(e[Z]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:r,timeoutType:n,client:i}=e;if(n===He){if(!r[G]||r.writableNeedDrain||i[U]>1){s(!e.paused,"cannot be paused while waiting for headers");u.destroy(r,new _)}}else if(n===We){if(!e.paused){u.destroy(r,new C)}}else if(n===Ke){s(i[U]===0&&i[ee]);u.destroy(r,new v("socket idle timeout"))}}function onSocketReadable(){const{[D]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[P]:r,[D]:n}=this;s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(r[me]!=="h2"){if(e.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}}this[$]=e;onError(this[P],e)}function onError(e,r){if(e[U]===0&&r.code!=="UND_ERR_INFO"&&r.code!=="UND_ERR_SOCKET"){s(e[Y]===e[z]);const n=e[j].splice(e[z]);for(let s=0;s0&&n.code!=="UND_ERR_INFO"){const r=e[j][e[z]];e[j][e[z]++]=null;errorRequest(e,r,n)}e[Y]=e[z];s(e[U]===0);e.emit("disconnect",e[k],[e],n);resume(e)}async function connect(e){s(!e[q]);s(!e[X]);let{host:r,hostname:n,protocol:o,port:c}=e[k];if(n[0]==="["){const e=n.indexOf("]");s(e!==-1);const r=n.substring(1,e);s(i.isIP(r));n=r}e[q]=true;if(Fe.beforeConnect.hasSubscribers){Fe.beforeConnect.publish({connectParams:{host:r,hostname:n,protocol:o,port:c,servername:e[Q],localAddress:e[he]},connector:e[ae]})}try{const i=await new Promise(((s,i)=>{e[ae]({host:r,hostname:n,protocol:o,port:c,servername:e[Q],localAddress:e[he]},((e,r)=>{if(e){i(e)}else{s(r)}}))}));if(e.destroyed){u.destroy(i.on("error",(()=>{})),new S);return}e[q]=false;s(i);const d=i.alpnProtocol==="h2";if(d){if(!Pe){Pe=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const r=Ce.connect(e[k],{createConnection:()=>i,peerMaxConcurrentStreams:e[_e].maxConcurrentStreams});e[me]="h2";r[P]=e;r[X]=i;r.on("error",onHttp2SessionError);r.on("frameError",onHttp2FrameError);r.on("end",onHttp2SessionEnd);r.on("goaway",onHTTP2GoAway);r.on("close",onSocketClose);r.unref();e[Ee]=r;i[Ee]=r}else{if(!Ne){Ne=await Le;Le=null}i[W]=false;i[G]=false;i[R]=false;i[M]=false;i[D]=new Parser(e,i,Ne)}i[ue]=0;i[le]=e[le];i[P]=e;i[$]=null;i.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[X]=i;if(Fe.connected.hasSubscribers){Fe.connected.publish({connectParams:{host:r,hostname:n,protocol:o,port:c,servername:e[Q],localAddress:e[he]},connector:e[ae],socket:i})}e.emit("connect",e[k],[e])}catch(i){if(e.destroyed){return}e[q]=false;if(Fe.connectError.hasSubscribers){Fe.connectError.publish({connectParams:{host:r,hostname:n,protocol:o,port:c,servername:e[Q],localAddress:e[he]},connector:e[ae],error:i})}if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){s(e[U]===0);while(e[N]>0&&e[j][e[Y]].servername===e[Q]){const r=e[j][e[Y]++];errorRequest(e,r,i)}}else{onError(e,i)}e.emit("connectionError",e[k],[e],i)}resume(e)}function emitDrain(e){e[H]=0;e.emit("drain",e[k],[e])}function resume(e,r){if(e[x]===2){return}e[x]=2;_resume(e,r);e[x]=0;if(e[z]>256){e[j].splice(0,e[z]);e[Y]-=e[z];e[z]=0}}function _resume(e,r){while(true){if(e.destroyed){s(e[N]===0);return}if(e[De]&&!e[L]){e[De]();e[De]=null;return}const n=e[X];if(n&&!n.destroyed&&n.alpnProtocol!=="h2"){if(e[L]===0){if(!n[W]&&n.unref){n.unref();n[W]=true}}else if(n[W]&&n.ref){n.ref();n[W]=false}if(e[L]===0){if(n[D].timeoutType!==Ke){n[D].setTimeout(e[ee],Ke)}}else if(e[U]>0&&n[D].statusCode<200){if(n[D].timeoutType!==He){const r=e[j][e[z]];const s=r.headersTimeout!=null?r.headersTimeout:e[se];n[D].setTimeout(s,He)}}}if(e[O]){e[H]=2}else if(e[H]===2){if(r){e[H]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[N]===0){return}if(e[U]>=(e[Z]||1)){return}const i=e[j][e[Y]];if(e[k].protocol==="https:"&&e[Q]!==i.servername){if(e[U]>0){return}e[Q]=i.servername;if(n&&n.servername!==i.servername){u.destroy(n,new v("servername changed"));return}}if(e[q]){return}if(!n&&!e[Ee]){connect(e);return}if(n.destroyed||n[G]||n[R]||n[M]){return}if(e[U]>0&&!i.idempotent){return}if(e[U]>0&&(i.upgrade||i.method==="CONNECT")){return}if(e[U]>0&&u.bodyLength(i.body)!==0&&(u.isStream(i.body)||u.isAsyncIterable(i.body))){return}if(!i.aborted&&write(e,i)){e[Y]++}else{e[j].splice(e[Y],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,r){if(e[me]==="h2"){writeH2(e,e[Ee],r);return}const{body:n,method:i,path:o,host:c,upgrade:d,headers:A,blocking:h,reset:m}=r;const y=i==="PUT"||i==="POST"||i==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}const _=u.bodyLength(n);let b=_;if(b===null){b=r.contentLength}if(b===0&&!y){b=null}if(shouldSendContentLength(i)&&b>0&&r.contentLength!==null&&r.contentLength!==b){if(e[oe]){errorRequest(e,r,new g);return false}process.emitWarning(new g)}const I=e[X];try{r.onConnect((n=>{if(r.aborted||r.completed){return}errorRequest(e,r,n||new E);u.destroy(I,new v("aborted"))}))}catch(n){errorRequest(e,r,n)}if(r.aborted){return false}if(i==="HEAD"){I[R]=true}if(d||i==="CONNECT"){I[R]=true}if(m!=null){I[R]=m}if(e[le]&&I[ue]++>=e[le]){I[R]=true}if(h){I[M]=true}let C=`${i} ${o} HTTP/1.1\r\n`;if(typeof c==="string"){C+=`host: ${c}\r\n`}else{C+=e[J]}if(d){C+=`connection: upgrade\r\nupgrade: ${d}\r\n`}else if(e[Z]&&!I[R]){C+="connection: keep-alive\r\n"}else{C+="connection: close\r\n"}if(A){C+=A}if(Fe.sendHeaders.hasSubscribers){Fe.sendHeaders.publish({request:r,headers:C,socket:I})}if(!n||_===0){if(b===0){I.write(`${C}content-length: 0\r\n\r\n`,"latin1")}else{s(b===null,"no body must not have content length");I.write(`${C}\r\n`,"latin1")}r.onRequestSent()}else if(u.isBuffer(n)){s(b===n.byteLength,"buffer body must have content length");I.cork();I.write(`${C}content-length: ${b}\r\n\r\n`,"latin1");I.write(n);I.uncork();r.onBodySent(n);r.onRequestSent();if(!y){I[R]=true}}else if(u.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({body:n.stream(),client:e,request:r,socket:I,contentLength:b,header:C,expectsPayload:y})}else{writeBlob({body:n,client:e,request:r,socket:I,contentLength:b,header:C,expectsPayload:y})}}else if(u.isStream(n)){writeStream({body:n,client:e,request:r,socket:I,contentLength:b,header:C,expectsPayload:y})}else if(u.isIterable(n)){writeIterable({body:n,client:e,request:r,socket:I,contentLength:b,header:C,expectsPayload:y})}else{s(false)}return true}function writeH2(e,r,n){const{body:i,method:o,path:c,host:d,upgrade:h,expectContinue:m,signal:y,headers:_}=n;let b;if(typeof _==="string")b=A[Ie](_.trim());else b=_;if(h){errorRequest(e,n,new Error("Upgrade not supported for H2"));return false}try{n.onConnect((r=>{if(n.aborted||n.completed){return}errorRequest(e,n,r||new E)}))}catch(r){errorRequest(e,n,r)}if(n.aborted){return false}let I;const C=e[_e];b[we]=d||e[ye];b[Be]=o;if(o==="CONNECT"){r.ref();I=r.request(b,{endStream:false,signal:y});if(I.id&&!I.pending){n.onUpgrade(null,null,I);++C.openStreams}else{I.once("ready",(()=>{n.onUpgrade(null,null,I);++C.openStreams}))}I.once("close",(()=>{C.openStreams-=1;if(C.openStreams===0)r.unref()}));return true}b[Se]=c;b[Te]="https";const w=o==="PUT"||o==="POST"||o==="PATCH";if(i&&typeof i.read==="function"){i.read(0)}let B=u.bodyLength(i);if(B==null){B=n.contentLength}if(B===0||!w){B=null}if(shouldSendContentLength(o)&&B>0&&n.contentLength!=null&&n.contentLength!==B){if(e[oe]){errorRequest(e,n,new g);return false}process.emitWarning(new g)}if(B!=null){s(i,"no body must not have content length");b[ke]=`${B}`}r.ref();const S=o==="GET"||o==="HEAD";if(m){b[Re]="100-continue";I=r.request(b,{endStream:S,signal:y});I.once("continue",writeBodyH2)}else{I=r.request(b,{endStream:S,signal:y});writeBodyH2()}++C.openStreams;I.once("response",(e=>{const{[Qe]:r,...s}=e;if(n.onHeaders(Number(r),s,I.resume.bind(I),"")===false){I.pause()}}));I.once("end",(()=>{n.onComplete([])}));I.on("data",(e=>{if(n.onData(e)===false){I.pause()}}));I.once("close",(()=>{C.openStreams-=1;if(C.openStreams===0){r.unref()}}));I.once("error",(function(r){if(e[Ee]&&!e[Ee].destroyed&&!this.closed&&!this.destroyed){C.streams-=1;u.destroy(I,r)}}));I.once("frameError",((r,s)=>{const i=new v(`HTTP/2: "frameError" received - type ${r}, code ${s}`);errorRequest(e,n,i);if(e[Ee]&&!e[Ee].destroyed&&!this.closed&&!this.destroyed){C.streams-=1;u.destroy(I,i)}}));return true;function writeBodyH2(){if(!i){n.onRequestSent()}else if(u.isBuffer(i)){s(B===i.byteLength,"buffer body must have content length");I.cork();I.write(i);I.uncork();I.end();n.onBodySent(i);n.onRequestSent()}else if(u.isBlobLike(i)){if(typeof i.stream==="function"){writeIterable({client:e,request:n,contentLength:B,h2stream:I,expectsPayload:w,body:i.stream(),socket:e[X],header:""})}else{writeBlob({body:i,client:e,request:n,contentLength:B,expectsPayload:w,h2stream:I,header:"",socket:e[X]})}}else if(u.isStream(i)){writeStream({body:i,client:e,request:n,contentLength:B,expectsPayload:w,socket:e[X],h2stream:I,header:""})}else if(u.isIterable(i)){writeIterable({body:i,client:e,request:n,contentLength:B,expectsPayload:w,header:"",h2stream:I,socket:e[X]})}else{s(false)}}}function writeStream({h2stream:e,body:r,client:n,request:i,socket:o,contentLength:d,header:A,expectsPayload:h}){s(d!==0||n[U]===0,"stream body cannot be pipelined");if(n[me]==="h2"){const y=c(r,e,(n=>{if(n){u.destroy(r,n);u.destroy(e,n)}else{i.onRequestSent()}}));y.on("data",onPipeData);y.once("end",(()=>{y.removeListener("data",onPipeData);u.destroy(y)}));function onPipeData(e){i.onBodySent(e)}return}let g=false;const m=new AsyncWriter({socket:o,request:i,contentLength:d,client:n,expectsPayload:h,header:A});const onData=function(e){if(g){return}try{if(!m.write(e)&&this.pause){this.pause()}}catch(e){u.destroy(this,e)}};const onDrain=function(){if(g){return}if(r.resume){r.resume()}};const onAbort=function(){if(g){return}const e=new E;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(g){return}g=true;s(o.destroyed||o[G]&&n[U]<=1);o.off("drain",onDrain).off("error",onFinished);r.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{m.end()}catch(r){e=r}}m.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){u.destroy(r,e)}else{u.destroy(r)}};r.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(r.resume){r.resume()}o.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:r,client:n,request:i,socket:o,contentLength:c,header:d,expectsPayload:A}){s(c===r.size,"blob body must have content length");const h=n[me]==="h2";try{if(c!=null&&c!==r.size){throw new g}const s=Buffer.from(await r.arrayBuffer());if(h){e.cork();e.write(s);e.uncork()}else{o.cork();o.write(`${d}content-length: ${c}\r\n\r\n`,"latin1");o.write(s);o.uncork()}i.onBodySent(s);i.onRequestSent();if(!A){o[R]=true}resume(n)}catch(r){u.destroy(h?e:o,r)}}async function writeIterable({h2stream:e,body:r,client:n,request:i,socket:o,contentLength:c,header:u,expectsPayload:d}){s(c!==0||n[U]===0,"iterator body cannot be pipelined");let A=null;function onDrain(){if(A){const e=A;A=null;e()}}const waitForDrain=()=>new Promise(((e,r)=>{s(A===null);if(o[$]){r(o[$])}else{A=e}}));if(n[me]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const n of r){if(o[$]){throw o[$]}const r=e.write(n);i.onBodySent(n);if(!r){await waitForDrain()}}}catch(r){e.destroy(r)}finally{i.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const h=new AsyncWriter({socket:o,request:i,contentLength:c,client:n,expectsPayload:d,header:u});try{for await(const e of r){if(o[$]){throw o[$]}if(!h.write(e)){await waitForDrain()}}h.end()}catch(e){h.destroy(e)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:r,contentLength:n,client:s,expectsPayload:i,header:o}){this.socket=e;this.request=r;this.contentLength=n;this.client=s;this.bytesWritten=0;this.expectsPayload=i;this.header=o;e[G]=true}write(e){const{socket:r,request:n,contentLength:s,client:i,bytesWritten:o,expectsPayload:c,header:u}=this;if(r[$]){throw r[$]}if(r.destroyed){return false}const d=Buffer.byteLength(e);if(!d){return true}if(s!==null&&o+d>s){if(i[oe]){throw new g}process.emitWarning(new g)}r.cork();if(o===0){if(!c){r[R]=true}if(s===null){r.write(`${u}transfer-encoding: chunked\r\n`,"latin1")}else{r.write(`${u}content-length: ${s}\r\n\r\n`,"latin1")}}if(s===null){r.write(`\r\n${d.toString(16)}\r\n`,"latin1")}this.bytesWritten+=d;const A=r.write(e);r.uncork();n.onBodySent(e);if(!A){if(r[D].timeout&&r[D].timeoutType===He){if(r[D].timeout.refresh){r[D].timeout.refresh()}}}return A}end(){const{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:o,request:c}=this;c.onRequestSent();e[G]=false;if(e[$]){throw e[$]}if(e.destroyed){return}if(s===0){if(i){e.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${o}\r\n`,"latin1")}}else if(r===null){e.write("\r\n0\r\n\r\n","latin1")}if(r!==null&&s!==r){if(n[oe]){throw new g}else{process.emitWarning(new g)}}if(e[D].timeout&&e[D].timeoutType===He){if(e[D].timeout.refresh){e[D].timeout.refresh()}}resume(n)}destroy(e){const{socket:r,client:n}=this;r[G]=false;if(e){s(n[U]<=1,"pipeline should only contain this request");u.destroy(r,e)}}}function errorRequest(e,r,n){try{r.onError(n);s(r.aborted)}catch(n){e.emit("error",n)}}e.exports=Client},13194:(e,r,n)=>{const{kConnected:s,kSize:i}=n(36443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[s]===0&&this.value[i]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,r){if(e.on){e.on("disconnect",(()=>{if(e[s]===0&&e[i]===0){this.finalizer(r)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:e=>{const r=1024;const n=4096;e.exports={maxAttributeValueSize:r,maxNameValuePairSize:n}},53168:(e,r,n)=>{const{parseSetCookie:s}=n(8915);const{stringify:i,getHeadersList:o}=n(3834);const{webidl:c}=n(74222);const{Headers:u}=n(26349);function getCookies(e){c.argumentLengthCheck(arguments,1,{header:"getCookies"});c.brandCheck(e,u,{strict:false});const r=e.get("cookie");const n={};if(!r){return n}for(const e of r.split(";")){const[r,...s]=e.split("=");n[r.trim()]=s.join("=")}return n}function deleteCookie(e,r,n){c.argumentLengthCheck(arguments,2,{header:"deleteCookie"});c.brandCheck(e,u,{strict:false});r=c.converters.DOMString(r);n=c.converters.DeleteCookieAttributes(n);setCookie(e,{name:r,value:"",expires:new Date(0),...n})}function getSetCookies(e){c.argumentLengthCheck(arguments,1,{header:"getSetCookies"});c.brandCheck(e,u,{strict:false});const r=o(e).cookies;if(!r){return[]}return r.map((e=>s(Array.isArray(e)?e[1]:e)))}function setCookie(e,r){c.argumentLengthCheck(arguments,2,{header:"setCookie"});c.brandCheck(e,u,{strict:false});r=c.converters.Cookie(r);const n=i(r);if(n){e.append("Set-Cookie",i(r))}}c.converters.DeleteCookieAttributes=c.dictionaryConverter([{converter:c.nullableConverter(c.converters.DOMString),key:"path",defaultValue:null},{converter:c.nullableConverter(c.converters.DOMString),key:"domain",defaultValue:null}]);c.converters.Cookie=c.dictionaryConverter([{converter:c.converters.DOMString,key:"name"},{converter:c.converters.DOMString,key:"value"},{converter:c.nullableConverter((e=>{if(typeof e==="number"){return c.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:c.nullableConverter(c.converters["long long"]),key:"maxAge",defaultValue:null},{converter:c.nullableConverter(c.converters.DOMString),key:"domain",defaultValue:null},{converter:c.nullableConverter(c.converters.DOMString),key:"path",defaultValue:null},{converter:c.nullableConverter(c.converters.boolean),key:"secure",defaultValue:null},{converter:c.nullableConverter(c.converters.boolean),key:"httpOnly",defaultValue:null},{converter:c.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:c.sequenceConverter(c.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,r,n)=>{const{maxNameValuePairSize:s,maxAttributeValueSize:i}=n(19237);const{isCTLExcludingHtab:o}=n(3834);const{collectASequenceOfCodePointsFast:c}=n(94322);const u=n(42613);function parseSetCookie(e){if(o(e)){return null}let r="";let n="";let i="";let u="";if(e.includes(";")){const s={position:0};r=c(";",e,s);n=e.slice(s.position)}else{r=e}if(!r.includes("=")){u=r}else{const e={position:0};i=c("=",r,e);u=r.slice(e.position+1)}i=i.trim();u=u.trim();if(i.length+u.length>s){return null}return{name:i,value:u,...parseUnparsedAttributes(n)}}function parseUnparsedAttributes(e,r={}){if(e.length===0){return r}u(e[0]===";");e=e.slice(1);let n="";if(e.includes(";")){n=c(";",e,{position:0});e=e.slice(n.length)}else{n=e;e=""}let s="";let o="";if(n.includes("=")){const e={position:0};s=c("=",n,e);o=n.slice(e.position+1)}else{s=n}s=s.trim();o=o.trim();if(o.length>i){return parseUnparsedAttributes(e,r)}const d=s.toLowerCase();if(d==="expires"){const e=new Date(o);r.expires=e}else if(d==="max-age"){const n=o.charCodeAt(0);if((n<48||n>57)&&o[0]!=="-"){return parseUnparsedAttributes(e,r)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(e,r)}const s=Number(o);r.maxAge=s}else if(d==="domain"){let e=o;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();r.domain=e}else if(d==="path"){let e="";if(o.length===0||o[0]!=="/"){e="/"}else{e=o}r.path=e}else if(d==="secure"){r.secure=true}else if(d==="httponly"){r.httpOnly=true}else if(d==="samesite"){let e="Default";const n=o.toLowerCase();if(n.includes("none")){e="None"}if(n.includes("strict")){e="Strict"}if(n.includes("lax")){e="Lax"}r.sameSite=e}else{r.unparsed??=[];r.unparsed.push(`${s}=${o}`)}return parseUnparsedAttributes(e,r)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:(e,r,n)=>{const s=n(42613);const{kHeadersList:i}=n(36443);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const r of e){const e=r.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const r of e){const e=r.charCodeAt(0);if(e<=32||e>127||r==="("||r===")"||r===">"||r==="<"||r==="@"||r===","||r===";"||r===":"||r==="\\"||r==='"'||r==="/"||r==="["||r==="]"||r==="?"||r==="="||r==="{"||r==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const r of e){const e=r.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const r of e){const e=r.charCodeAt(0);if(e<33||r===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const s=r[e.getUTCDay()];const i=e.getUTCDate().toString().padStart(2,"0");const o=n[e.getUTCMonth()];const c=e.getUTCFullYear();const u=e.getUTCHours().toString().padStart(2,"0");const d=e.getUTCMinutes().toString().padStart(2,"0");const A=e.getUTCSeconds().toString().padStart(2,"0");return`${s}, ${i} ${o} ${c} ${u}:${d}:${A} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const r=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){r.push("Secure")}if(e.httpOnly){r.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);r.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);r.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);r.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){r.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){r.push(`SameSite=${e.sameSite}`)}for(const n of e.unparsed){if(!n.includes("=")){throw new Error("Invalid unparsed")}const[e,...s]=n.split("=");r.push(`${e.trim()}=${s.join("=")}`)}return r.join("; ")}let o;function getHeadersList(e){if(e[i]){return e[i]}if(!o){o=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));s(o,"Headers cannot be parsed")}const r=e[o];s(r);return r}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},59136:(e,r,n)=>{const s=n(69278);const i=n(42613);const o=n(3440);const{InvalidArgumentError:c,ConnectTimeoutError:u}=n(68707);let d;let A;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){A=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,r)}}}function buildConnector({allowH2:e,maxCachedSessions:r,socketPath:u,timeout:h,...g}){if(r!=null&&(!Number.isInteger(r)||r<0)){throw new c("maxCachedSessions must be a positive integer or zero")}const m={path:u,...g};const y=new A(r==null?100:r);h=h==null?1e4:h;e=e!=null?e:false;return function connect({hostname:r,host:c,protocol:u,port:A,servername:g,localAddress:E,httpSocket:_},b){let I;if(u==="https:"){if(!d){d=n(64756)}g=g||m.servername||o.getServerName(c)||null;const s=g||r;const u=y.get(s)||null;i(s);I=d.connect({highWaterMark:16384,...m,servername:g,session:u,localAddress:E,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:_,port:A||443,host:r});I.on("session",(function(e){y.set(s,e)}))}else{i(!_,"httpSocket can only be sent on TLS update");I=s.connect({highWaterMark:64*1024,...m,localAddress:E,port:A||80,host:r})}if(m.keepAlive==null||m.keepAlive){const e=m.keepAliveInitialDelay===undefined?6e4:m.keepAliveInitialDelay;I.setKeepAlive(true,e)}const v=setupTimeout((()=>onConnectTimeout(I)),h);I.setNoDelay(true).once(u==="https:"?"secureConnect":"connect",(function(){v();if(b){const e=b;b=null;e(null,this)}})).on("error",(function(e){v();if(b){const r=b;b=null;r(e)}}));return I}}function setupTimeout(e,r){if(!r){return()=>{}}let n=null;let s=null;const i=setTimeout((()=>{n=setImmediate((()=>{if(process.platform==="win32"){s=setImmediate((()=>e()))}else{e()}}))}),r);return()=>{clearTimeout(i);clearImmediate(n);clearImmediate(s)}}function onConnectTimeout(e){o.destroy(e,new u)}e.exports=buildConnector},10735:e=>{const r={};const n=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,r,n,s){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=s;this.status=r;this.statusCode=r;this.headers=n}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,r){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=r}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,r,n){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=r?`HPE_${r}`:undefined;this.data=n?n.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,r,{headers:n,data:s}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=r;this.data=s;this.headers=n}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(e,r,n)=>{const{InvalidArgumentError:s,NotSupportedError:i}=n(68707);const o=n(42613);const{kHTTP2BuildRequest:c,kHTTP2CopyHeaders:u,kHTTP1BuildRequest:d}=n(36443);const A=n(3440);const h=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const g=/[^\t\x20-\x7e\x80-\xff]/;const m=/[^\u0021-\u00ff]/;const y=Symbol("handler");const E={};let _;try{const e=n(31637);E.create=e.channel("undici:request:create");E.bodySent=e.channel("undici:request:bodySent");E.headers=e.channel("undici:request:headers");E.trailers=e.channel("undici:request:trailers");E.error=e.channel("undici:request:error")}catch{E.create={hasSubscribers:false};E.bodySent={hasSubscribers:false};E.headers={hasSubscribers:false};E.trailers={hasSubscribers:false};E.error={hasSubscribers:false}}class Request{constructor(e,{path:r,method:i,body:o,headers:c,query:u,idempotent:d,blocking:g,upgrade:b,headersTimeout:I,bodyTimeout:v,reset:C,throwOnError:w,expectContinue:B},S){if(typeof r!=="string"){throw new s("path must be a string")}else if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&i!=="CONNECT"){throw new s("path must be an absolute URL or start with a slash")}else if(m.exec(r)!==null){throw new s("invalid request path")}if(typeof i!=="string"){throw new s("method must be a string")}else if(h.exec(i)===null){throw new s("invalid request method")}if(b&&typeof b!=="string"){throw new s("upgrade must be a string")}if(I!=null&&(!Number.isFinite(I)||I<0)){throw new s("invalid headersTimeout")}if(v!=null&&(!Number.isFinite(v)||v<0)){throw new s("invalid bodyTimeout")}if(C!=null&&typeof C!=="boolean"){throw new s("invalid reset")}if(B!=null&&typeof B!=="boolean"){throw new s("invalid expectContinue")}this.headersTimeout=I;this.bodyTimeout=v;this.throwOnError=w===true;this.method=i;this.abort=null;if(o==null){this.body=null}else if(A.isStream(o)){this.body=o;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){A.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(A.isBuffer(o)){this.body=o.byteLength?o:null}else if(ArrayBuffer.isView(o)){this.body=o.buffer.byteLength?Buffer.from(o.buffer,o.byteOffset,o.byteLength):null}else if(o instanceof ArrayBuffer){this.body=o.byteLength?Buffer.from(o):null}else if(typeof o==="string"){this.body=o.length?Buffer.from(o):null}else if(A.isFormDataLike(o)||A.isIterable(o)||A.isBlobLike(o)){this.body=o}else{throw new s("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=b||null;this.path=u?A.buildURL(r,u):r;this.origin=e;this.idempotent=d==null?i==="HEAD"||i==="GET":d;this.blocking=g==null?false:g;this.reset=C==null?null:C;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=B!=null?B:false;if(Array.isArray(c)){if(c.length%2!==0){throw new s("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(e,r,n)=>{const s=n(42613);const{kDestroyed:i,kBodyUsed:o}=n(36443);const{IncomingMessage:c}=n(58611);const u=n(2203);const d=n(69278);const{InvalidArgumentError:A}=n(68707);const{Blob:h}=n(20181);const g=n(39023);const{stringify:m}=n(83480);const{headerNameLowerCasedRecord:y}=n(10735);const[E,_]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return h&&e instanceof h||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,r){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const n=m(r);if(n){e+="?"+n}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new A("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new A("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new A("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new A("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new A("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new A("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new A("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new A("Invalid URL origin: the origin must be a string or null/undefined.")}const r=e.port!=null?e.port:e.protocol==="https:"?443:80;let n=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${r}`;let s=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(n.endsWith("/")){n=n.substring(0,n.length-1)}if(s&&!s.startsWith("/")){s=`/${s}`}e=new URL(n+s)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new A("invalid url")}return e}function getHostname(e){if(e[0]==="["){const r=e.indexOf("]");s(r!==-1);return e.substring(1,r)}const r=e.indexOf(":");if(r===-1)return e;return e.substring(0,r)}function getServerName(e){if(!e){return null}s.strictEqual(typeof e,"string");const r=getHostname(e);if(d.isIP(r)){return""}return r}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const r=e._readableState;return r&&r.objectMode===false&&r.ended===true&&Number.isFinite(r.length)?r.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[i])}function isReadableAborted(e){const r=e&&e._readableState;return isDestroyed(e)&&r&&!r.endEmitted}function destroy(e,r){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c){e.socket=null}e.destroy(r)}else if(r){process.nextTick(((e,r)=>{e.emit("error",r)}),e,r)}if(e.destroyed!==true){e[i]=true}}const b=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const r=e.toString().match(b);return r?parseInt(r[1],10)*1e3:null}function headerNameToString(e){return y[e]||e.toLowerCase()}function parseHeaders(e,r={}){if(!Array.isArray(e))return e;for(let n=0;ne.toString("utf8")))}else{r[s]=e[n+1].toString("utf8")}}else{if(!Array.isArray(i)){i=[i];r[s]=i}i.push(e[n+1].toString("utf8"))}}if("content-length"in r&&"content-disposition"in r){r["content-disposition"]=Buffer.from(r["content-disposition"]).toString("latin1")}return r}function parseRawHeaders(e){const r=[];let n=false;let s=-1;for(let i=0;i{e.close()}))}else{const r=Buffer.isBuffer(s)?s:Buffer.from(s);e.enqueue(new Uint8Array(r))}return e.desiredSize>0},async cancel(e){await r.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,r){if("addEventListener"in e){e.addEventListener("abort",r,{once:true});return()=>e.removeEventListener("abort",r)}e.addListener("abort",r);return()=>e.removeListener("abort",r)}const v=!!String.prototype.toWellFormed;function toUSVString(e){if(v){return`${e}`.toWellFormed()}else if(g.toUSVString){return g.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const r=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return r?{start:parseInt(r[1]),end:r[2]?parseInt(r[2]):null,size:r[3]?parseInt(r[3]):null}:null}const C=Object.create(null);C.enumerable=true;e.exports={kEnumerableProperty:C,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:E,nodeMinor:_,nodeHasAutoSelectFamily:E>18||E===18&&_>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(e,r,n)=>{const s=n(28611);const{ClientDestroyedError:i,ClientClosedError:o,InvalidArgumentError:c}=n(68707);const{kDestroy:u,kClose:d,kDispatch:A,kInterceptors:h}=n(36443);const g=Symbol("destroyed");const m=Symbol("closed");const y=Symbol("onDestroyed");const E=Symbol("onClosed");const _=Symbol("Intercepted Dispatch");class DispatcherBase extends s{constructor(){super();this[g]=false;this[y]=null;this[m]=false;this[E]=[]}get destroyed(){return this[g]}get closed(){return this[m]}get interceptors(){return this[h]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--){const e=this[h][r];if(typeof e!=="function"){throw new c("interceptor must be an function")}}}this[h]=e}close(e){if(e===undefined){return new Promise(((e,r)=>{this.close(((n,s)=>n?r(n):e(s)))}))}if(typeof e!=="function"){throw new c("invalid callback")}if(this[g]){queueMicrotask((()=>e(new i,null)));return}if(this[m]){if(this[E]){this[E].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[m]=true;this[E].push(e);const onClosed=()=>{const e=this[E];this[E]=null;for(let r=0;rthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,r){if(typeof e==="function"){r=e;e=null}if(r===undefined){return new Promise(((r,n)=>{this.destroy(e,((e,s)=>e?n(e):r(s)))}))}if(typeof r!=="function"){throw new c("invalid callback")}if(this[g]){if(this[y]){this[y].push(r)}else{queueMicrotask((()=>r(null,null)))}return}if(!e){e=new i}this[g]=true;this[y]=this[y]||[];this[y].push(r);const onDestroyed=()=>{const e=this[y];this[y]=null;for(let r=0;r{queueMicrotask(onDestroyed)}))}[_](e,r){if(!this[h]||this[h].length===0){this[_]=this[A];return this[A](e,r)}let n=this[A].bind(this);for(let e=this[h].length-1;e>=0;e--){n=this[h][e](n)}this[_]=n;return n(e,r)}dispatch(e,r){if(!r||typeof r!=="object"){throw new c("handler must be an object")}try{if(!e||typeof e!=="object"){throw new c("opts must be an object.")}if(this[g]||this[y]){throw new i}if(this[m]){throw new o}return this[_](e,r)}catch(e){if(typeof r.onError!=="function"){throw new c("invalid onError method")}r.onError(e);return false}}}e.exports=DispatcherBase},28611:(e,r,n)=>{const s=n(24434);class Dispatcher extends s{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,r,n)=>{const s=n(89581);const i=n(3440);const{ReadableStreamFrom:o,isBlobLike:c,isReadableStreamLike:u,readableStreamClose:d,createDeferredPromise:A,fullyReadBody:h}=n(15523);const{FormData:g}=n(43073);const{kState:m}=n(89710);const{webidl:y}=n(74222);const{DOMException:E,structuredClone:_}=n(87326);const{Blob:b,File:I}=n(20181);const{kBodyUsed:v}=n(36443);const C=n(42613);const{isErrored:w}=n(3440);const{isUint8Array:B,isArrayBuffer:S}=n(98253);const{File:T}=n(63041);const{parseMIMEType:k,serializeAMimeType:R}=n(94322);let Q=globalThis.ReadableStream;const P=I??T;const O=new TextEncoder;const D=new TextDecoder;function extractBody(e,r=false){if(!Q){Q=n(63774).ReadableStream}let s=null;if(e instanceof Q){s=e}else if(c(e)){s=e.stream()}else{s=new Q({async pull(e){e.enqueue(typeof h==="string"?O.encode(h):h);queueMicrotask((()=>d(e)))},start(){},type:undefined})}C(u(s));let A=null;let h=null;let g=null;let m=null;if(typeof e==="string"){h=e;m="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){h=e.toString();m="application/x-www-form-urlencoded;charset=UTF-8"}else if(S(e)){h=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){h=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(i.isFormDataLike(e)){const r=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const n=`--${r}\r\nContent-Disposition: form-data`
+/*! formdata-polyfill. MIT License. Jimmy Wärting  */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const s=[];const i=new Uint8Array([13,10]);g=0;let o=false;for(const[r,c]of e){if(typeof c==="string"){const e=O.encode(n+`; name="${escape(normalizeLinefeeds(r))}"`+`\r\n\r\n${normalizeLinefeeds(c)}\r\n`);s.push(e);g+=e.byteLength}else{const e=O.encode(`${n}; name="${escape(normalizeLinefeeds(r))}"`+(c.name?`; filename="${escape(c.name)}"`:"")+"\r\n"+`Content-Type: ${c.type||"application/octet-stream"}\r\n\r\n`);s.push(e,c,i);if(typeof c.size==="number"){g+=e.byteLength+c.size+i.byteLength}else{o=true}}}const c=O.encode(`--${r}--`);s.push(c);g+=c.byteLength;if(o){g=null}h=e;A=async function*(){for(const e of s){if(e.stream){yield*e.stream()}else{yield e}}};m="multipart/form-data; boundary="+r}else if(c(e)){h=e;g=e.size;if(e.type){m=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(r){throw new TypeError("keepalive")}if(i.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=e instanceof Q?e:o(e)}if(typeof h==="string"||i.isBuffer(h)){g=Buffer.byteLength(h)}if(A!=null){let r;s=new Q({async start(){r=A(e)[Symbol.asyncIterator]()},async pull(e){const{value:n,done:i}=await r.next();if(i){queueMicrotask((()=>{e.close()}))}else{if(!w(s)){e.enqueue(new Uint8Array(n))}}return e.desiredSize>0},async cancel(e){await r.return()},type:undefined})}const y={stream:s,source:h,length:g};return[y,m]}function safelyExtractBody(e,r=false){if(!Q){Q=n(63774).ReadableStream}if(e instanceof Q){C(!i.isDisturbed(e),"The body has already been consumed.");C(!e.locked,"The stream is locked.")}return extractBody(e,r)}function cloneBody(e){const[r,n]=e.stream.tee();const s=_(n,{transfer:[n]});const[,i]=s.tee();e.stream=r;return{stream:i,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(B(e)){yield e}else{const r=e.stream;if(i.isDisturbed(r)){throw new TypeError("The body has already been consumed.")}if(r.locked){throw new TypeError("The stream is locked.")}r[v]=true;yield*r}}}function throwIfAborted(e){if(e.aborted){throw new E("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const r={blob(){return specConsumeBody(this,(e=>{let r=bodyMimeType(this);if(r==="failure"){r=""}else if(r){r=R(r)}return new b([e],{type:r})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){y.brandCheck(this,e);throwIfAborted(this[m]);const r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){const e={};for(const[r,n]of this.headers)e[r.toLowerCase()]=n;const r=new g;let n;try{n=new s({headers:e,preservePath:true})}catch(e){throw new E(`${e}`,"AbortError")}n.on("field",((e,n)=>{r.append(e,n)}));n.on("file",((e,n,s,i,o)=>{const c=[];if(i==="base64"||i.toLowerCase()==="base64"){let i="";n.on("data",(e=>{i+=e.toString().replace(/[\r\n]/gm,"");const r=i.length-i.length%4;c.push(Buffer.from(i.slice(0,r),"base64"));i=i.slice(r)}));n.on("end",(()=>{c.push(Buffer.from(i,"base64"));r.append(e,new P(c,s,{type:o}))}))}else{n.on("data",(e=>{c.push(e)}));n.on("end",(()=>{r.append(e,new P(c,s,{type:o}))}))}}));const i=new Promise(((e,r)=>{n.on("finish",e);n.on("error",(e=>r(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[m].body))n.write(e);n.end();await i;return r}else if(/application\/x-www-form-urlencoded/.test(r)){let e;try{let r="";const n=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[m].body)){if(!B(e)){throw new TypeError("Expected Uint8Array chunk")}r+=n.decode(e,{stream:true})}r+=n.decode();e=new URLSearchParams(r)}catch(e){throw Object.assign(new TypeError,{cause:e})}const r=new g;for(const[n,s]of e){r.append(n,s)}return r}else{await Promise.resolve();throwIfAborted(this[m]);throw y.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return r}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,r,n){y.brandCheck(e,n);throwIfAborted(e[m]);if(bodyUnusable(e[m].body)){throw new TypeError("Body is unusable")}const s=A();const errorSteps=e=>s.reject(e);const successSteps=e=>{try{s.resolve(r(e))}catch(e){errorSteps(e)}};if(e[m].body==null){successSteps(new Uint8Array);return s.promise}await h(e[m].body,successSteps,errorSteps);return s.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||i.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const r=D.decode(e);return r}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:r}=e[m];const n=r.get("content-type");if(n===null){return"failure"}return k(n)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},87326:(e,r,n)=>{const{MessageChannel:s,receiveMessageOnPort:i}=n(28167);const o=["GET","HEAD","POST"];const c=new Set(o);const u=[101,204,205,304];const d=[301,302,303,307,308];const A=new Set(d);const h=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const g=new Set(h);const m=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const y=new Set(m);const E=["follow","manual","error"];const _=["GET","HEAD","OPTIONS","TRACE"];const b=new Set(_);const I=["navigate","same-origin","no-cors","cors"];const v=["omit","same-origin","include"];const C=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const w=["content-encoding","content-language","content-location","content-type","content-length"];const B=["half"];const S=["CONNECT","TRACE","TRACK"];const T=new Set(S);const k=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const R=new Set(k);const Q=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let P;const O=globalThis.structuredClone??function structuredClone(e,r=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!P){P=new s}P.port1.unref();P.port2.unref();P.port1.postMessage(e,r?.transfer);return i(P.port2).message};e.exports={DOMException:Q,structuredClone:O,subresource:k,forbiddenMethods:S,requestBodyHeader:w,referrerPolicy:m,requestRedirect:E,requestMode:I,requestCredentials:v,requestCache:C,redirectStatus:d,corsSafeListedMethods:o,nullBodyStatus:u,safeMethods:_,badPorts:h,requestDuplex:B,subresourceSet:R,badPortsSet:g,redirectStatusSet:A,corsSafeListedMethodsSet:c,safeMethodsSet:b,forbiddenMethodsSet:T,referrerPolicySet:y}},94322:(e,r,n)=>{const s=n(42613);const{atob:i}=n(20181);const{isomorphicDecode:o}=n(15523);const c=new TextEncoder;const u=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const d=/(\u000A|\u000D|\u0009|\u0020)/;const A=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){s(e.protocol==="data:");let r=URLSerializer(e,true);r=r.slice(5);const n={position:0};let i=collectASequenceOfCodePointsFast(",",r,n);const c=i.length;i=removeASCIIWhitespace(i,true,true);if(n.position>=r.length){return"failure"}n.position++;const u=r.slice(c+1);let d=stringPercentDecode(u);if(/;(\u0020){0,}base64$/i.test(i)){const e=o(d);d=forgivingBase64(e);if(d==="failure"){return"failure"}i=i.slice(0,-6);i=i.replace(/(\u0020)+$/,"");i=i.slice(0,-1)}if(i.startsWith(";")){i="text/plain"+i}let A=parseMIMEType(i);if(A==="failure"){A=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:A,body:d}}function URLSerializer(e,r=false){if(!r){return e.href}const n=e.href;const s=e.hash.length;return s===0?n:n.substring(0,n.length-s)}function collectASequenceOfCodePoints(e,r,n){let s="";while(n.positione.length){return"failure"}r.position++;let s=collectASequenceOfCodePointsFast(";",e,r);s=removeHTTPWhitespace(s,false,true);if(s.length===0||!u.test(s)){return"failure"}const i=n.toLowerCase();const o=s.toLowerCase();const c={type:i,subtype:o,parameters:new Map,essence:`${i}/${o}`};while(r.positiond.test(e)),e,r);let n=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,r);n=n.toLowerCase();if(r.positione.length){break}let s=null;if(e[r.position]==='"'){s=collectAnHTTPQuotedString(e,r,true);collectASequenceOfCodePointsFast(";",e,r)}else{s=collectASequenceOfCodePointsFast(";",e,r);s=removeHTTPWhitespace(s,false,true);if(s.length===0){continue}}if(n.length!==0&&u.test(n)&&(s.length===0||A.test(s))&&!c.parameters.has(n)){c.parameters.set(n,s)}}return c}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const r=i(e);const n=new Uint8Array(r.length);for(let e=0;ee!=='"'&&e!=="\\"),e,r);if(r.position>=e.length){break}const n=e[r.position];r.position++;if(n==="\\"){if(r.position>=e.length){o+="\\";break}o+=e[r.position];r.position++}else{s(n==='"');break}}if(n){return o}return e.slice(i,r.position)}function serializeAMimeType(e){s(e!=="failure");const{parameters:r,essence:n}=e;let i=n;for(let[e,n]of r.entries()){i+=";";i+=e;i+="=";if(!u.test(n)){n=n.replace(/(\\|")/g,"\\$1");n='"'+n;n+='"'}i+=n}return i}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,r=true,n=true){let s=0;let i=e.length-1;if(r){for(;s0&&isHTTPWhiteSpace(e[i]);i--);}return e.slice(s,i+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,r=true,n=true){let s=0;let i=e.length-1;if(r){for(;s0&&isASCIIWhitespace(e[i]);i--);}return e.slice(s,i+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},63041:(e,r,n)=>{const{Blob:s,File:i}=n(20181);const{types:o}=n(39023);const{kState:c}=n(89710);const{isBlobLike:u}=n(15523);const{webidl:d}=n(74222);const{parseMIMEType:A,serializeAMimeType:h}=n(94322);const{kEnumerableProperty:g}=n(3440);const m=new TextEncoder;class File extends s{constructor(e,r,n={}){d.argumentLengthCheck(arguments,2,{header:"File constructor"});e=d.converters["sequence"](e);r=d.converters.USVString(r);n=d.converters.FilePropertyBag(n);const s=r;let i=n.type;let o;e:{if(i){i=A(i);if(i==="failure"){i="";break e}i=h(i).toLowerCase()}o=n.lastModified}super(processBlobParts(e,n),{type:i});this[c]={name:s,lastModified:o,type:i}}get name(){d.brandCheck(this,File);return this[c].name}get lastModified(){d.brandCheck(this,File);return this[c].lastModified}get type(){d.brandCheck(this,File);return this[c].type}}class FileLike{constructor(e,r,n={}){const s=r;const i=n.type;const o=n.lastModified??Date.now();this[c]={blobLike:e,name:s,type:i,lastModified:o}}stream(...e){d.brandCheck(this,FileLike);return this[c].blobLike.stream(...e)}arrayBuffer(...e){d.brandCheck(this,FileLike);return this[c].blobLike.arrayBuffer(...e)}slice(...e){d.brandCheck(this,FileLike);return this[c].blobLike.slice(...e)}text(...e){d.brandCheck(this,FileLike);return this[c].blobLike.text(...e)}get size(){d.brandCheck(this,FileLike);return this[c].blobLike.size}get type(){d.brandCheck(this,FileLike);return this[c].blobLike.type}get name(){d.brandCheck(this,FileLike);return this[c].name}get lastModified(){d.brandCheck(this,FileLike);return this[c].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:g,lastModified:g});d.converters.Blob=d.interfaceConverter(s);d.converters.BlobPart=function(e,r){if(d.util.Type(e)==="Object"){if(u(e)){return d.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||o.isAnyArrayBuffer(e)){return d.converters.BufferSource(e,r)}}return d.converters.USVString(e,r)};d.converters["sequence"]=d.sequenceConverter(d.converters.BlobPart);d.converters.FilePropertyBag=d.dictionaryConverter([{key:"lastModified",converter:d.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:d.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=d.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,r){const n=[];for(const s of e){if(typeof s==="string"){let e=s;if(r.endings==="native"){e=convertLineEndingsNative(e)}n.push(m.encode(e))}else if(o.isAnyArrayBuffer(s)||o.isTypedArray(s)){if(!s.buffer){n.push(new Uint8Array(s))}else{n.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}}else if(u(s)){n.push(s)}}return n}function convertLineEndingsNative(e){let r="\n";if(process.platform==="win32"){r="\r\n"}return e.replace(/\r?\n/g,r)}function isFileLike(e){return i&&e instanceof i||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},43073:(e,r,n)=>{const{isBlobLike:s,toUSVString:i,makeIterator:o}=n(15523);const{kState:c}=n(89710);const{File:u,FileLike:d,isFileLike:A}=n(63041);const{webidl:h}=n(74222);const{Blob:g,File:m}=n(20181);const y=m??u;class FormData{constructor(e){if(e!==undefined){throw h.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[c]=[]}append(e,r,n=undefined){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!s(r)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=h.converters.USVString(e);r=s(r)?h.converters.Blob(r,{strict:false}):h.converters.USVString(r);n=arguments.length===3?h.converters.USVString(n):undefined;const i=makeEntry(e,r,n);this[c].push(i)}delete(e){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=h.converters.USVString(e);this[c]=this[c].filter((r=>r.name!==e))}get(e){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=h.converters.USVString(e);const r=this[c].findIndex((r=>r.name===e));if(r===-1){return null}return this[c][r].value}getAll(e){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=h.converters.USVString(e);return this[c].filter((r=>r.name===e)).map((e=>e.value))}has(e){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=h.converters.USVString(e);return this[c].findIndex((r=>r.name===e))!==-1}set(e,r,n=undefined){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!s(r)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=h.converters.USVString(e);r=s(r)?h.converters.Blob(r,{strict:false}):h.converters.USVString(r);n=arguments.length===3?i(n):undefined;const o=makeEntry(e,r,n);const u=this[c].findIndex((r=>r.name===e));if(u!==-1){this[c]=[...this[c].slice(0,u),o,...this[c].slice(u+1).filter((r=>r.name!==e))]}else{this[c].push(o)}}entries(){h.brandCheck(this,FormData);return o((()=>this[c].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){h.brandCheck(this,FormData);return o((()=>this[c].map((e=>[e.name,e.value]))),"FormData","key")}values(){h.brandCheck(this,FormData);return o((()=>this[c].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,r=globalThis){h.brandCheck(this,FormData);h.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[n,s]of this){e.apply(r,[s,n,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,r,n){e=Buffer.from(e).toString("utf8");if(typeof r==="string"){r=Buffer.from(r).toString("utf8")}else{if(!A(r)){r=r instanceof g?new y([r],"blob",{type:r.type}):new d(r,"blob",{type:r.type})}if(n!==undefined){const e={type:r.type,lastModified:r.lastModified};r=m&&r instanceof m||r instanceof u?new y([r],n,e):new d(r,n,e)}}return{name:e,value:r}}e.exports={FormData:FormData}},75628:e=>{const r=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[r]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,r,{value:undefined,writable:true,enumerable:false,configurable:false});return}const n=new URL(e);if(n.protocol!=="http:"&&n.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${n.protocol}`)}Object.defineProperty(globalThis,r,{value:n,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},26349:(e,r,n)=>{const{kHeadersList:s,kConstruct:i}=n(36443);const{kGuard:o}=n(89710);const{kEnumerableProperty:c}=n(3440);const{makeIterator:u,isValidHeaderName:d,isValidHeaderValue:A}=n(15523);const{webidl:h}=n(74222);const g=n(42613);const m=Symbol("headers map");const y=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let r=0;let n=e.length;while(n>r&&isHTTPWhiteSpaceCharCode(e.charCodeAt(n-1)))--n;while(n>r&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r)))++r;return r===0&&n===e.length?e:e.substring(r,n)}function fill(e,r){if(Array.isArray(r)){for(let n=0;n>","record"]})}}function appendHeader(e,r,n){n=headerValueNormalize(n);if(!d(r)){throw h.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header name"})}else if(!A(n)){throw h.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}if(e[o]==="immutable"){throw new TypeError("immutable")}else if(e[o]==="request-no-cors"){}return e[s].append(r,n)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[m]=new Map(e[m]);this[y]=e[y];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[m]=new Map(e);this[y]=null}}contains(e){e=e.toLowerCase();return this[m].has(e)}clear(){this[m].clear();this[y]=null;this.cookies=null}append(e,r){this[y]=null;const n=e.toLowerCase();const s=this[m].get(n);if(s){const e=n==="cookie"?"; ":", ";this[m].set(n,{name:s.name,value:`${s.value}${e}${r}`})}else{this[m].set(n,{name:e,value:r})}if(n==="set-cookie"){this.cookies??=[];this.cookies.push(r)}}set(e,r){this[y]=null;const n=e.toLowerCase();if(n==="set-cookie"){this.cookies=[r]}this[m].set(n,{name:e,value:r})}delete(e){this[y]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[m].delete(e)}get(e){const r=this[m].get(e.toLowerCase());return r===undefined?null:r.value}*[Symbol.iterator](){for(const[e,{value:r}]of this[m]){yield[e,r]}}get entries(){const e={};if(this[m].size){for(const{name:r,value:n}of this[m].values()){e[r]=n}}return e}}class Headers{constructor(e=undefined){if(e===i){return}this[s]=new HeadersList;this[o]="none";if(e!==undefined){e=h.converters.HeadersInit(e);fill(this,e)}}append(e,r){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=h.converters.ByteString(e);r=h.converters.ByteString(r);return appendHeader(this,e,r)}delete(e){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=h.converters.ByteString(e);if(!d(e)){throw h.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}if(!this[s].contains(e)){return}this[s].delete(e)}get(e){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=h.converters.ByteString(e);if(!d(e)){throw h.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[s].get(e)}has(e){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=h.converters.ByteString(e);if(!d(e)){throw h.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[s].contains(e)}set(e,r){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=h.converters.ByteString(e);r=h.converters.ByteString(r);r=headerValueNormalize(r);if(!d(e)){throw h.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!A(r)){throw h.errors.invalidArgument({prefix:"Headers.set",value:r,type:"header value"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}this[s].set(e,r)}getSetCookie(){h.brandCheck(this,Headers);const e=this[s].cookies;if(e){return[...e]}return[]}get[y](){if(this[s][y]){return this[s][y]}const e=[];const r=[...this[s]].sort(((e,r)=>e[0]e),"Headers","key")}return u((()=>[...this[y].values()]),"Headers","key")}values(){h.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[y];return u((()=>e),"Headers","value")}return u((()=>[...this[y].values()]),"Headers","value")}entries(){h.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[y];return u((()=>e),"Headers","key+value")}return u((()=>[...this[y].values()]),"Headers","key+value")}forEach(e,r=globalThis){h.brandCheck(this,Headers);h.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[n,s]of this){e.apply(r,[s,n,this])}}[Symbol.for("nodejs.util.inspect.custom")](){h.brandCheck(this,Headers);return this[s]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:c,delete:c,get:c,has:c,set:c,getSetCookie:c,keys:c,values:c,entries:c,forEach:c,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});h.converters.HeadersInit=function(e){if(h.util.Type(e)==="Object"){if(e[Symbol.iterator]){return h.converters["sequence>"](e)}return h.converters["record"](e)}throw h.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},12315:(e,r,n)=>{const{Response:s,makeNetworkError:i,makeAppropriateNetworkError:o,filterResponse:c,makeResponse:u}=n(48676);const{Headers:d}=n(26349);const{Request:A,makeRequest:h}=n(25194);const g=n(43106);const{bytesMatch:m,makePolicyContainer:y,clonePolicyContainer:E,requestBadPort:_,TAOCheck:b,appendRequestOriginHeader:I,responseLocationURL:v,requestCurrentURL:C,setRequestReferrerPolicyOnRedirect:w,tryUpgradeRequestToAPotentiallyTrustworthyURL:B,createOpaqueTimingInfo:S,appendFetchMetadata:T,corsCheck:k,crossOriginResourcePolicyCheck:R,determineRequestsReferrer:Q,coarsenedSharedCurrentTime:P,createDeferredPromise:O,isBlobLike:D,sameOrigin:F,isCancelled:M,isAborted:x,isErrorLike:U,fullyReadBody:N,readableStreamClose:L,isomorphicEncode:G,urlIsLocal:j,urlIsHttpHttpsScheme:V,urlHasHttpsScheme:q}=n(15523);const{kState:H,kHeaders:W,kGuard:K,kRealm:J}=n(89710);const Y=n(42613);const{safelyExtractBody:z}=n(8923);const{redirectStatusSet:$,nullBodyStatus:Z,safeMethodsSet:X,requestBodyHeader:ee,subresourceSet:te,DOMException:re}=n(87326);const{kHeadersList:ne}=n(36443);const se=n(24434);const{Readable:ie,pipeline:oe}=n(2203);const{addAbortListener:ae,isErrored:ce,isReadable:le,nodeMajor:ue,nodeMinor:de}=n(3440);const{dataURLProcessor:pe,serializeAMimeType:fe}=n(94322);const{TransformStream:Ae}=n(63774);const{getGlobalDispatcher:he}=n(32581);const{webidl:ge}=n(74222);const{STATUS_CODES:me}=n(58611);const ye=["GET","HEAD"];let Ee;let _e=globalThis.ReadableStream;class Fetch extends se{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new re("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,r={}){ge.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const n=O();let i;try{i=new A(e,r)}catch(e){n.reject(e);return n.promise}const o=i[H];if(i.signal.aborted){abortFetch(n,o,null,i.signal.reason);return n.promise}const c=o.client.globalObject;if(c?.constructor?.name==="ServiceWorkerGlobalScope"){o.serviceWorkers="none"}let u=null;const d=null;let h=false;let g=null;ae(i.signal,(()=>{h=true;Y(g!=null);g.abort(i.signal.reason);abortFetch(n,o,u,i.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(h){return Promise.resolve()}if(e.aborted){abortFetch(n,o,u,g.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){n.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}u=new s;u[H]=e;u[J]=d;u[W][ne]=e.headersList;u[W][K]="immutable";u[W][J]=d;n.resolve(u)};g=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:r.dispatcher??he()});return n.promise}function finalizeAndReportTiming(e,r="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const n=e.urlList[0];let s=e.timingInfo;let i=e.cacheState;if(!V(n)){return}if(s===null){return}if(!e.timingAllowPassed){s=S({startTime:s.startTime});i=""}s.endTime=P();e.timingInfo=s;markResourceTiming(s,n,r,globalThis,i)}function markResourceTiming(e,r,n,s,i){if(ue>18||ue===18&&de>=2){performance.markResourceTiming(e,r.href,n,s,i)}}function abortFetch(e,r,n,s){if(!s){s=new re("The operation was aborted.","AbortError")}e.reject(s);if(r.body!=null&&le(r.body?.stream)){r.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(n==null){return}const i=n[H];if(i.body!=null&&le(i.body?.stream)){i.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:r,processRequestEndOfBody:n,processResponse:s,processResponseEndOfBody:i,processResponseConsumeBody:o,useParallelQueue:c=false,dispatcher:u}){let d=null;let A=false;if(e.client!=null){d=e.client.globalObject;A=e.client.crossOriginIsolatedCapability}const h=P(A);const g=S({startTime:h});const m={controller:new Fetch(u),request:e,timingInfo:g,processRequestBodyChunkLength:r,processRequestEndOfBody:n,processResponse:s,processResponseConsumeBody:o,processResponseEndOfBody:i,taskDestination:d,crossOriginIsolatedCapability:A};Y(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=E(e.client.policyContainer)}else{e.policyContainer=y()}}if(!e.headersList.contains("accept")){const r="*/*";e.headersList.append("accept",r)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(te.has(e.destination)){}mainFetch(m).catch((e=>{m.controller.terminate(e)}));return m.controller}async function mainFetch(e,r=false){const n=e.request;let s=null;if(n.localURLsOnly&&!j(C(n))){s=i("local URLs only")}B(n);if(_(n)==="blocked"){s=i("bad port")}if(n.referrerPolicy===""){n.referrerPolicy=n.policyContainer.referrerPolicy}if(n.referrer!=="no-referrer"){n.referrer=Q(n)}if(s===null){s=await(async()=>{const r=C(n);if(F(r,n.url)&&n.responseTainting==="basic"||r.protocol==="data:"||(n.mode==="navigate"||n.mode==="websocket")){n.responseTainting="basic";return await schemeFetch(e)}if(n.mode==="same-origin"){return i('request mode cannot be "same-origin"')}if(n.mode==="no-cors"){if(n.redirect!=="follow"){return i('redirect mode cannot be "follow" for "no-cors" request')}n.responseTainting="opaque";return await schemeFetch(e)}if(!V(C(n))){return i("URL scheme must be a HTTP(S) scheme")}n.responseTainting="cors";return await httpFetch(e)})()}if(r){return s}if(s.status!==0&&!s.internalResponse){if(n.responseTainting==="cors"){}if(n.responseTainting==="basic"){s=c(s,"basic")}else if(n.responseTainting==="cors"){s=c(s,"cors")}else if(n.responseTainting==="opaque"){s=c(s,"opaque")}else{Y(false)}}let o=s.status===0?s:s.internalResponse;if(o.urlList.length===0){o.urlList.push(...n.urlList)}if(!n.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&o.status===206&&o.rangeRequested&&!n.headers.contains("range")){s=o=i()}if(s.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||Z.includes(o.status))){o.body=null;e.controller.dump=true}if(n.integrity){const processBodyError=r=>fetchFinale(e,i(r));if(n.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=r=>{if(!m(r,n.integrity)){processBodyError("integrity mismatch");return}s.body=z(r)[0];fetchFinale(e,s)};await N(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(M(e)&&e.request.redirectCount===0){return Promise.resolve(o(e))}const{request:r}=e;const{protocol:s}=C(r);switch(s){case"about:":{return Promise.resolve(i("about scheme is not supported"))}case"blob:":{if(!Ee){Ee=n(20181).resolveObjectURL}const e=C(r);if(e.search.length!==0){return Promise.resolve(i("NetworkError when attempting to fetch resource."))}const s=Ee(e.toString());if(r.method!=="GET"||!D(s)){return Promise.resolve(i("invalid method"))}const o=z(s);const c=o[0];const d=G(`${c.length}`);const A=o[1]??"";const h=u({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:d}],["content-type",{name:"Content-Type",value:A}]]});h.body=c;return Promise.resolve(h)}case"data:":{const e=C(r);const n=pe(e);if(n==="failure"){return Promise.resolve(i("failed to fetch the data URL"))}const s=fe(n.mimeType);return Promise.resolve(u({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:z(n.body)[0]}))}case"file:":{return Promise.resolve(i("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>i(e)))}default:{return Promise.resolve(i("unknown scheme"))}}}function finalizeResponse(e,r){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(r)))}}function fetchFinale(e,r){if(r.type==="error"){r.urlList=[e.request.urlList[0]];r.timingInfo=S({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(r)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(r)))}if(r.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,r)=>{r.enqueue(e)};const e=new Ae({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});r.body={stream:r.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=n=>e.processResponseConsumeBody(r,n);const processBodyError=n=>e.processResponseConsumeBody(r,n);if(r.body==null){queueMicrotask((()=>processBody(null)))}else{return N(r.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const r=e.request;let n=null;let s=null;const o=e.timingInfo;if(r.serviceWorkers==="all"){}if(n===null){if(r.redirect==="follow"){r.serviceWorkers="none"}s=n=await httpNetworkOrCacheFetch(e);if(r.responseTainting==="cors"&&k(r,n)==="failure"){return i("cors failure")}if(b(r,n)==="failure"){r.timingAllowFailed=true}}if((r.responseTainting==="opaque"||n.type==="opaque")&&R(r.origin,r.client,r.destination,s)==="blocked"){return i("blocked")}if($.has(s.status)){if(r.redirect!=="manual"){e.controller.connection.destroy()}if(r.redirect==="error"){n=i("unexpected redirect")}else if(r.redirect==="manual"){n=s}else if(r.redirect==="follow"){n=await httpRedirectFetch(e,n)}else{Y(false)}}n.timingInfo=o;return n}function httpRedirectFetch(e,r){const n=e.request;const s=r.internalResponse?r.internalResponse:r;let o;try{o=v(s,C(n).hash);if(o==null){return r}}catch(e){return Promise.resolve(i(e))}if(!V(o)){return Promise.resolve(i("URL scheme must be a HTTP(S) scheme"))}if(n.redirectCount===20){return Promise.resolve(i("redirect count exceeded"))}n.redirectCount+=1;if(n.mode==="cors"&&(o.username||o.password)&&!F(n,o)){return Promise.resolve(i('cross origin not allowed for request mode "cors"'))}if(n.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(i('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&n.body!=null&&n.body.source==null){return Promise.resolve(i())}if([301,302].includes(s.status)&&n.method==="POST"||s.status===303&&!ye.includes(n.method)){n.method="GET";n.body=null;for(const e of ee){n.headersList.delete(e)}}if(!F(C(n),o)){n.headersList.delete("authorization");n.headersList.delete("proxy-authorization",true);n.headersList.delete("cookie");n.headersList.delete("host")}if(n.body!=null){Y(n.body.source!=null);n.body=z(n.body.source)[0]}const c=e.timingInfo;c.redirectEndTime=c.postRedirectStartTime=P(e.crossOriginIsolatedCapability);if(c.redirectStartTime===0){c.redirectStartTime=c.startTime}n.urlList.push(o);w(n,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,r=false,n=false){const s=e.request;let c=null;let u=null;let d=null;const A=null;const g=false;if(s.window==="no-window"&&s.redirect==="error"){c=e;u=s}else{u=h(s);c={...e};c.request=u}const m=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const y=u.body?u.body.length:null;let E=null;if(u.body==null&&["POST","PUT"].includes(u.method)){E="0"}if(y!=null){E=G(`${y}`)}if(E!=null){u.headersList.append("content-length",E)}if(y!=null&&u.keepalive){}if(u.referrer instanceof URL){u.headersList.append("referer",G(u.referrer.href))}I(u);T(u);if(!u.headersList.contains("user-agent")){u.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(u.cache==="default"&&(u.headersList.contains("if-modified-since")||u.headersList.contains("if-none-match")||u.headersList.contains("if-unmodified-since")||u.headersList.contains("if-match")||u.headersList.contains("if-range"))){u.cache="no-store"}if(u.cache==="no-cache"&&!u.preventNoCacheCacheControlHeaderModification&&!u.headersList.contains("cache-control")){u.headersList.append("cache-control","max-age=0")}if(u.cache==="no-store"||u.cache==="reload"){if(!u.headersList.contains("pragma")){u.headersList.append("pragma","no-cache")}if(!u.headersList.contains("cache-control")){u.headersList.append("cache-control","no-cache")}}if(u.headersList.contains("range")){u.headersList.append("accept-encoding","identity")}if(!u.headersList.contains("accept-encoding")){if(q(C(u))){u.headersList.append("accept-encoding","br, gzip, deflate")}else{u.headersList.append("accept-encoding","gzip, deflate")}}u.headersList.delete("host");if(m){}if(A==null){u.cache="no-store"}if(u.mode!=="no-store"&&u.mode!=="reload"){}if(d==null){if(u.mode==="only-if-cached"){return i("only if cached")}const e=await httpNetworkFetch(c,m,n);if(!X.has(u.method)&&e.status>=200&&e.status<=399){}if(g&&e.status===304){}if(d==null){d=e}}d.urlList=[...u.urlList];if(u.headersList.contains("range")){d.rangeRequested=true}d.requestIncludesCredentials=m;if(d.status===407){if(s.window==="no-window"){return i()}if(M(e)){return o(e)}return i("proxy authentication required")}if(d.status===421&&!n&&(s.body==null||s.body.source!=null)){if(M(e)){return o(e)}e.controller.connection.destroy();d=await httpNetworkOrCacheFetch(e,r,true)}if(r){}return d}async function httpNetworkFetch(e,r=false,s=false){Y(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new re("The operation was aborted.","AbortError"))}}};const c=e.request;let A=null;const h=e.timingInfo;const m=null;if(m==null){c.cache="no-store"}const y=s?"yes":"no";if(c.mode==="websocket"){}else{}let E=null;if(c.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(c.body!=null){const processBodyChunk=async function*(r){if(M(e)){return}yield r;e.processRequestBodyChunkLength?.(r.byteLength)};const processEndOfBody=()=>{if(M(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=r=>{if(M(e)){return}if(r.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(r)}};E=async function*(){try{for await(const e of c.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:r,status:n,statusText:s,headersList:i,socket:o}=await dispatch({body:E});if(o){A=u({status:n,statusText:s,headersList:i,socket:o})}else{const o=r[Symbol.asyncIterator]();e.controller.next=()=>o.next();A=u({status:n,statusText:s,headersList:i})}}catch(r){if(r.name==="AbortError"){e.controller.connection.destroy();return o(e,r)}return i(r)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=r=>{e.controller.abort(r)};if(!_e){_e=n(63774).ReadableStream}const _=new _e({async start(r){e.controller.controller=r},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});A.body={stream:_};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let r;let n;try{const{done:n,value:s}=await e.controller.next();if(x(e)){break}r=n?undefined:s}catch(s){if(e.controller.ended&&!h.encodedBodySize){r=undefined}else{r=s;n=true}}if(r===undefined){L(e.controller.controller);finalizeResponse(e,A);return}h.decodedBodySize+=r?.byteLength??0;if(n){e.controller.terminate(r);return}e.controller.controller.enqueue(new Uint8Array(r));if(ce(_)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(r){if(x(e)){A.aborted=true;if(le(_)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(le(_)){e.controller.controller.error(new TypeError("terminated",{cause:U(r)?r:undefined}))}}e.controller.connection.destroy()}return A;async function dispatch({body:r}){const n=C(c);const s=e.controller.dispatcher;return new Promise(((i,o)=>s.dispatch({path:n.pathname+n.search,origin:n.origin,method:c.method,body:e.controller.dispatcher.isMockActive?c.body&&(c.body.source||c.body.stream):r,headers:c.headersList.entries,maxRedirections:0,upgrade:c.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(r){const{connection:n}=e.controller;if(n.destroyed){r(new re("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",r);this.abort=n.abort=r}},onHeaders(e,r,n,s){if(e<200){return}let o=[];let u="";const A=new d;if(Array.isArray(r)){for(let e=0;ee.trim()))}else if(n.toLowerCase()==="location"){u=s}A[ne].append(n,s)}}else{const e=Object.keys(r);for(const n of e){const e=r[n];if(n.toLowerCase()==="content-encoding"){o=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(n.toLowerCase()==="location"){u=e}A[ne].append(n,e)}}this.body=new ie({read:n});const h=[];const m=c.redirect==="follow"&&u&&$.has(e);if(c.method!=="HEAD"&&c.method!=="CONNECT"&&!Z.includes(e)&&!m){for(const e of o){if(e==="x-gzip"||e==="gzip"){h.push(g.createGunzip({flush:g.constants.Z_SYNC_FLUSH,finishFlush:g.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){h.push(g.createInflate())}else if(e==="br"){h.push(g.createBrotliDecompress())}else{h.length=0;break}}}i({status:e,statusText:s,headersList:A[ne],body:h.length?oe(this.body,...h,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(r){if(e.controller.dump){return}const n=r;h.encodedBodySize+=n.byteLength;return this.body.push(n)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(r){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(r);e.controller.terminate(r);o(r)},onUpgrade(e,r,n){if(e!==101){return}const s=new d;for(let e=0;e{const{extractBody:s,mixinBody:i,cloneBody:o}=n(8923);const{Headers:c,fill:u,HeadersList:d}=n(26349);const{FinalizationRegistry:A}=n(13194)();const h=n(3440);const{isValidHTTPToken:g,sameOrigin:m,normalizeMethod:y,makePolicyContainer:E,normalizeMethodRecord:_}=n(15523);const{forbiddenMethodsSet:b,corsSafeListedMethodsSet:I,referrerPolicy:v,requestRedirect:C,requestMode:w,requestCredentials:B,requestCache:S,requestDuplex:T}=n(87326);const{kEnumerableProperty:k}=h;const{kHeaders:R,kSignal:Q,kState:P,kGuard:O,kRealm:D}=n(89710);const{webidl:F}=n(74222);const{getGlobalOrigin:M}=n(75628);const{URLSerializer:x}=n(94322);const{kHeadersList:U,kConstruct:N}=n(36443);const L=n(42613);const{getMaxListeners:G,setMaxListeners:j,getEventListeners:V,defaultMaxListeners:q}=n(24434);let H=globalThis.TransformStream;const W=Symbol("abortController");const K=new A((({signal:e,abort:r})=>{e.removeEventListener("abort",r)}));class Request{constructor(e,r={}){if(e===N){return}F.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=F.converters.RequestInfo(e);r=F.converters.RequestInit(r);this[D]={settingsObject:{baseUrl:M(),get origin(){return this.baseUrl?.origin},policyContainer:E()}};let i=null;let o=null;const A=this[D].settingsObject.baseUrl;let v=null;if(typeof e==="string"){let r;try{r=new URL(e,A)}catch(r){throw new TypeError("Failed to parse URL from "+e,{cause:r})}if(r.username||r.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}i=makeRequest({urlList:[r]});o="cors"}else{L(e instanceof Request);i=e[P];v=e[Q]}const C=this[D].settingsObject.origin;let w="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&m(i.window,C)){w=i.window}if(r.window!=null){throw new TypeError(`'window' option '${w}' must be null`)}if("window"in r){w="no-window"}i=makeRequest({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:this[D].settingsObject,window:w,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});const B=Object.keys(r).length!==0;if(B){if(i.mode==="navigate"){i.mode="same-origin"}i.reloadNavigation=false;i.historyNavigation=false;i.origin="client";i.referrer="client";i.referrerPolicy="";i.url=i.urlList[i.urlList.length-1];i.urlList=[i.url]}if(r.referrer!==undefined){const e=r.referrer;if(e===""){i.referrer="no-referrer"}else{let r;try{r=new URL(e,A)}catch(r){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:r})}if(r.protocol==="about:"&&r.hostname==="client"||C&&!m(r,this[D].settingsObject.baseUrl)){i.referrer="client"}else{i.referrer=r}}}if(r.referrerPolicy!==undefined){i.referrerPolicy=r.referrerPolicy}let S;if(r.mode!==undefined){S=r.mode}else{S=o}if(S==="navigate"){throw F.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(S!=null){i.mode=S}if(r.credentials!==undefined){i.credentials=r.credentials}if(r.cache!==undefined){i.cache=r.cache}if(i.cache==="only-if-cached"&&i.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(r.redirect!==undefined){i.redirect=r.redirect}if(r.integrity!=null){i.integrity=String(r.integrity)}if(r.keepalive!==undefined){i.keepalive=Boolean(r.keepalive)}if(r.method!==undefined){let e=r.method;if(!g(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(b.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=_[e]??y(e);i.method=e}if(r.signal!==undefined){v=r.signal}this[P]=i;const T=new AbortController;this[Q]=T.signal;this[Q][D]=this[D];if(v!=null){if(!v||typeof v.aborted!=="boolean"||typeof v.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(v.aborted){T.abort(v.reason)}else{this[W]=T;const e=new WeakRef(T);const abort=function(){const r=e.deref();if(r!==undefined){r.abort(this.reason)}};try{if(typeof G==="function"&&G(v)===q){j(100,v)}else if(V(v,"abort").length>=q){j(100,v)}}catch{}h.addAbortListener(v,abort);K.register(T,{signal:v,abort:abort})}}this[R]=new c(N);this[R][U]=i.headersList;this[R][O]="request";this[R][D]=this[D];if(S==="no-cors"){if(!I.has(i.method)){throw new TypeError(`'${i.method} is unsupported in no-cors mode.`)}this[R][O]="request-no-cors"}if(B){const e=this[R][U];const n=r.headers!==undefined?r.headers:new d(e);e.clear();if(n instanceof d){for(const[r,s]of n){e.append(r,s)}e.cookies=n.cookies}else{u(this[R],n)}}const k=e instanceof Request?e[P].body:null;if((r.body!=null||k!=null)&&(i.method==="GET"||i.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let x=null;if(r.body!=null){const[e,n]=s(r.body,i.keepalive);x=e;if(n&&!this[R][U].contains("content-type")){this[R].append("content-type",n)}}const J=x??k;if(J!=null&&J.source==null){if(x!=null&&r.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(i.mode!=="same-origin"&&i.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}i.useCORSPreflightFlag=true}let Y=J;if(x==null&&k!=null){if(h.isDisturbed(k.stream)||k.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!H){H=n(63774).TransformStream}const e=new H;k.stream.pipeThrough(e);Y={source:k.source,length:k.length,stream:e.readable}}this[P].body=Y}get method(){F.brandCheck(this,Request);return this[P].method}get url(){F.brandCheck(this,Request);return x(this[P].url)}get headers(){F.brandCheck(this,Request);return this[R]}get destination(){F.brandCheck(this,Request);return this[P].destination}get referrer(){F.brandCheck(this,Request);if(this[P].referrer==="no-referrer"){return""}if(this[P].referrer==="client"){return"about:client"}return this[P].referrer.toString()}get referrerPolicy(){F.brandCheck(this,Request);return this[P].referrerPolicy}get mode(){F.brandCheck(this,Request);return this[P].mode}get credentials(){return this[P].credentials}get cache(){F.brandCheck(this,Request);return this[P].cache}get redirect(){F.brandCheck(this,Request);return this[P].redirect}get integrity(){F.brandCheck(this,Request);return this[P].integrity}get keepalive(){F.brandCheck(this,Request);return this[P].keepalive}get isReloadNavigation(){F.brandCheck(this,Request);return this[P].reloadNavigation}get isHistoryNavigation(){F.brandCheck(this,Request);return this[P].historyNavigation}get signal(){F.brandCheck(this,Request);return this[Q]}get body(){F.brandCheck(this,Request);return this[P].body?this[P].body.stream:null}get bodyUsed(){F.brandCheck(this,Request);return!!this[P].body&&h.isDisturbed(this[P].body.stream)}get duplex(){F.brandCheck(this,Request);return"half"}clone(){F.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[P]);const r=new Request(N);r[P]=e;r[D]=this[D];r[R]=new c(N);r[R][U]=e.headersList;r[R][O]=this[R][O];r[R][D]=this[R][D];const n=new AbortController;if(this.signal.aborted){n.abort(this.signal.reason)}else{h.addAbortListener(this.signal,(()=>{n.abort(this.signal.reason)}))}r[Q]=n.signal;return r}}i(Request);function makeRequest(e){const r={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new d(e.headersList):new d};r.url=r.urlList[0];return r}function cloneRequest(e){const r=makeRequest({...e,body:null});if(e.body!=null){r.body=o(e.body)}return r}Object.defineProperties(Request.prototype,{method:k,url:k,headers:k,redirect:k,clone:k,signal:k,duplex:k,destination:k,body:k,bodyUsed:k,isHistoryNavigation:k,isReloadNavigation:k,keepalive:k,integrity:k,cache:k,credentials:k,attribute:k,referrerPolicy:k,referrer:k,mode:k,[Symbol.toStringTag]:{value:"Request",configurable:true}});F.converters.Request=F.interfaceConverter(Request);F.converters.RequestInfo=function(e){if(typeof e==="string"){return F.converters.USVString(e)}if(e instanceof Request){return F.converters.Request(e)}return F.converters.USVString(e)};F.converters.AbortSignal=F.interfaceConverter(AbortSignal);F.converters.RequestInit=F.dictionaryConverter([{key:"method",converter:F.converters.ByteString},{key:"headers",converter:F.converters.HeadersInit},{key:"body",converter:F.nullableConverter(F.converters.BodyInit)},{key:"referrer",converter:F.converters.USVString},{key:"referrerPolicy",converter:F.converters.DOMString,allowedValues:v},{key:"mode",converter:F.converters.DOMString,allowedValues:w},{key:"credentials",converter:F.converters.DOMString,allowedValues:B},{key:"cache",converter:F.converters.DOMString,allowedValues:S},{key:"redirect",converter:F.converters.DOMString,allowedValues:C},{key:"integrity",converter:F.converters.DOMString},{key:"keepalive",converter:F.converters.boolean},{key:"signal",converter:F.nullableConverter((e=>F.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:F.converters.any},{key:"duplex",converter:F.converters.DOMString,allowedValues:T}]);e.exports={Request:Request,makeRequest:makeRequest}},48676:(e,r,n)=>{const{Headers:s,HeadersList:i,fill:o}=n(26349);const{extractBody:c,cloneBody:u,mixinBody:d}=n(8923);const A=n(3440);const{kEnumerableProperty:h}=A;const{isValidReasonPhrase:g,isCancelled:m,isAborted:y,isBlobLike:E,serializeJavascriptValueToJSONString:_,isErrorLike:b,isomorphicEncode:I}=n(15523);const{redirectStatusSet:v,nullBodyStatus:C,DOMException:w}=n(87326);const{kState:B,kHeaders:S,kGuard:T,kRealm:k}=n(89710);const{webidl:R}=n(74222);const{FormData:Q}=n(43073);const{getGlobalOrigin:P}=n(75628);const{URLSerializer:O}=n(94322);const{kHeadersList:D,kConstruct:F}=n(36443);const M=n(42613);const{types:x}=n(39023);const U=globalThis.ReadableStream||n(63774).ReadableStream;const N=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const r=new Response;r[B]=makeNetworkError();r[k]=e;r[S][D]=r[B].headersList;r[S][T]="immutable";r[S][k]=e;return r}static json(e,r={}){R.argumentLengthCheck(arguments,1,{header:"Response.json"});if(r!==null){r=R.converters.ResponseInit(r)}const n=N.encode(_(e));const s=c(n);const i={settingsObject:{}};const o=new Response;o[k]=i;o[S][T]="response";o[S][k]=i;initializeResponse(o,r,{body:s[0],type:"application/json"});return o}static redirect(e,r=302){const n={settingsObject:{}};R.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=R.converters.USVString(e);r=R.converters["unsigned short"](r);let s;try{s=new URL(e,P())}catch(r){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:r})}if(!v.has(r)){throw new RangeError("Invalid status code "+r)}const i=new Response;i[k]=n;i[S][T]="immutable";i[S][k]=n;i[B].status=r;const o=I(O(s));i[B].headersList.append("location",o);return i}constructor(e=null,r={}){if(e!==null){e=R.converters.BodyInit(e)}r=R.converters.ResponseInit(r);this[k]={settingsObject:{}};this[B]=makeResponse({});this[S]=new s(F);this[S][T]="response";this[S][D]=this[B].headersList;this[S][k]=this[k];let n=null;if(e!=null){const[r,s]=c(e);n={body:r,type:s}}initializeResponse(this,r,n)}get type(){R.brandCheck(this,Response);return this[B].type}get url(){R.brandCheck(this,Response);const e=this[B].urlList;const r=e[e.length-1]??null;if(r===null){return""}return O(r,true)}get redirected(){R.brandCheck(this,Response);return this[B].urlList.length>1}get status(){R.brandCheck(this,Response);return this[B].status}get ok(){R.brandCheck(this,Response);return this[B].status>=200&&this[B].status<=299}get statusText(){R.brandCheck(this,Response);return this[B].statusText}get headers(){R.brandCheck(this,Response);return this[S]}get body(){R.brandCheck(this,Response);return this[B].body?this[B].body.stream:null}get bodyUsed(){R.brandCheck(this,Response);return!!this[B].body&&A.isDisturbed(this[B].body.stream)}clone(){R.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw R.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[B]);const r=new Response;r[B]=e;r[k]=this[k];r[S][D]=e.headersList;r[S][T]=this[S][T];r[S][k]=this[S][k];return r}}d(Response);Object.defineProperties(Response.prototype,{type:h,url:h,status:h,ok:h,redirected:h,statusText:h,headers:h,clone:h,body:h,bodyUsed:h,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:h,redirect:h,error:h});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const r=makeResponse({...e,body:null});if(e.body!=null){r.body=u(e.body)}return r}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new i(e.headersList):new i,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const r=b(e);return makeResponse({type:"error",status:0,error:r?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,r){r={internalResponse:e,...r};return new Proxy(e,{get(e,n){return n in r?r[n]:e[n]},set(e,n,s){M(!(n in r));e[n]=s;return true}})}function filterResponse(e,r){if(r==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(r==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(r==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(r==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{M(false)}}function makeAppropriateNetworkError(e,r=null){M(m(e));return y(e)?makeNetworkError(Object.assign(new w("The operation was aborted.","AbortError"),{cause:r})):makeNetworkError(Object.assign(new w("Request was cancelled."),{cause:r}))}function initializeResponse(e,r,n){if(r.status!==null&&(r.status<200||r.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in r&&r.statusText!=null){if(!g(String(r.statusText))){throw new TypeError("Invalid statusText")}}if("status"in r&&r.status!=null){e[B].status=r.status}if("statusText"in r&&r.statusText!=null){e[B].statusText=r.statusText}if("headers"in r&&r.headers!=null){o(e[S],r.headers)}if(n){if(C.includes(e.status)){throw R.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[B].body=n.body;if(n.type!=null&&!e[B].headersList.contains("Content-Type")){e[B].headersList.append("content-type",n.type)}}}R.converters.ReadableStream=R.interfaceConverter(U);R.converters.FormData=R.interfaceConverter(Q);R.converters.URLSearchParams=R.interfaceConverter(URLSearchParams);R.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return R.converters.USVString(e)}if(E(e)){return R.converters.Blob(e,{strict:false})}if(x.isArrayBuffer(e)||x.isTypedArray(e)||x.isDataView(e)){return R.converters.BufferSource(e)}if(A.isFormDataLike(e)){return R.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return R.converters.URLSearchParams(e)}return R.converters.DOMString(e)};R.converters.BodyInit=function(e){if(e instanceof U){return R.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return R.converters.XMLHttpRequestBodyInit(e)};R.converters.ResponseInit=R.dictionaryConverter([{key:"status",converter:R.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:R.converters.ByteString,defaultValue:""},{key:"headers",converter:R.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},89710:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},15523:(e,r,n)=>{const{redirectStatusSet:s,referrerPolicySet:i,badPortsSet:o}=n(87326);const{getGlobalOrigin:c}=n(75628);const{performance:u}=n(82987);const{isBlobLike:d,toUSVString:A,ReadableStreamFrom:h}=n(3440);const g=n(42613);const{isUint8Array:m}=n(98253);let y=[];let E;try{E=n(76982);const e=["sha256","sha384","sha512"];y=E.getHashes().filter((r=>e.includes(r)))}catch{}function responseURL(e){const r=e.urlList;const n=r.length;return n===0?null:r[n-1].toString()}function responseLocationURL(e,r){if(!s.has(e.status)){return null}let n=e.headersList.get("location");if(n!==null&&isValidHeaderValue(n)){n=new URL(n,responseURL(e))}if(n&&!n.hash){n.hash=r}return n}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const r=requestCurrentURL(e);if(urlIsHttpHttpsScheme(r)&&o.has(r.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let r=0;r=32&&n<=126||n>=128&&n<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let r=0;r0){for(let e=s.length;e!==0;e--){const r=s[e-1].trim();if(i.has(r)){o=r;break}}}if(o!==""){e.referrerPolicy=o}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let r=null;r=e.mode;e.headersList.set("sec-fetch-mode",r)}function appendRequestOriginHeader(e){let r=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(r){e.headersList.append("origin",r)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":r=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){r=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){r=null}break;default:}if(r){e.headersList.append("origin",r)}}}function coarsenedSharedCurrentTime(e){return u.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const r=e.referrerPolicy;g(r);let n=null;if(e.referrer==="client"){const e=c();if(!e||e.origin==="null"){return"no-referrer"}n=new URL(e)}else if(e.referrer instanceof URL){n=e.referrer}let s=stripURLForReferrer(n);const i=stripURLForReferrer(n,true);if(s.toString().length>4096){s=i}const o=sameOrigin(e,s);const u=isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(e.url);switch(r){case"origin":return i!=null?i:stripURLForReferrer(n,true);case"unsafe-url":return s;case"same-origin":return o?i:"no-referrer";case"origin-when-cross-origin":return o?s:i;case"strict-origin-when-cross-origin":{const r=requestCurrentURL(e);if(sameOrigin(s,r)){return s}if(isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(r)){return"no-referrer"}return i}case"strict-origin":case"no-referrer-when-downgrade":default:return u?"no-referrer":i}}function stripURLForReferrer(e,r){g(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(r){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const r=new URL(e);if(r.protocol==="https:"||r.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(r.hostname)||(r.hostname==="localhost"||r.hostname.includes("localhost."))||r.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,r){if(E===undefined){return true}const n=parseMetadata(r);if(n==="no metadata"){return true}if(n.length===0){return true}const s=getStrongestMetadata(n);const i=filterMetadataListByAlgorithm(n,s);for(const r of i){const n=r.algo;const s=r.hash;let i=E.createHash(n).update(e).digest("base64");if(i[i.length-1]==="="){if(i[i.length-2]==="="){i=i.slice(0,-2)}else{i=i.slice(0,-1)}}if(compareBase64Mixed(i,s)){return true}}return false}const _=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const r=[];let n=true;for(const s of e.split(" ")){n=false;const e=_.exec(s);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const i=e.groups.algo.toLowerCase();if(y.includes(i)){r.push(e.groups)}}if(n===true){return"no metadata"}return r}function getStrongestMetadata(e){let r=e[0].algo;if(r[3]==="5"){return r}for(let n=1;n{e=n;r=s}));return{promise:n,resolve:e,reject:r}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const b={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(b,null);function normalizeMethod(e){return b[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const r=JSON.stringify(e);if(r===undefined){throw new TypeError("Value is not JSON serializable")}g(typeof r==="string");return r}const I=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,r,n){const s={index:0,kind:n,target:e};const i={next(){if(Object.getPrototypeOf(this)!==i){throw new TypeError(`'next' called on an object that does not implement interface ${r} Iterator.`)}const{index:e,kind:n,target:o}=s;const c=o();const u=c.length;if(e>=u){return{value:undefined,done:true}}const d=c[e];s.index=e+1;return iteratorResult(d,n)},[Symbol.toStringTag]:`${r} Iterator`};Object.setPrototypeOf(i,I);return Object.setPrototypeOf({},i)}function iteratorResult(e,r){let n;switch(r){case"key":{n=e[0];break}case"value":{n=e[1];break}case"key+value":{n=e;break}}return{value:n,done:false}}async function fullyReadBody(e,r,n){const s=r;const i=n;let o;try{o=e.stream.getReader()}catch(e){i(e);return}try{const e=await readAllBytes(o);s(e)}catch(e){i(e)}}let v=globalThis.ReadableStream;function isReadableStreamLike(e){if(!v){v=n(63774).ReadableStream}return e instanceof v||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const C=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(r)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let r=0;rObject.prototype.hasOwnProperty.call(e,r));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:h,toUSVString:A,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:d,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:w,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:b,parseMetadata:parseMetadata}},74222:(e,r,n)=>{const{types:s}=n(39023);const{hasOwn:i,toUSVString:o}=n(15523);const c={};c.converters={};c.util={};c.errors={};c.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};c.errors.conversionFailed=function(e){const r=e.types.length===1?"":" one of";const n=`${e.argument} could not be converted to`+`${r}: ${e.types.join(", ")}.`;return c.errors.exception({header:e.prefix,message:n})};c.errors.invalidArgument=function(e){return c.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};c.brandCheck=function(e,r,n=undefined){if(n?.strict!==false&&!(e instanceof r)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===r.prototype[Symbol.toStringTag]}};c.argumentLengthCheck=function({length:e},r,n){if(ei){throw c.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${i}, got ${u}.`})}return u}if(!Number.isNaN(u)&&s.clamp===true){u=Math.min(Math.max(u,o),i);if(Math.floor(u)%2===0){u=Math.floor(u)}else{u=Math.ceil(u)}return u}if(Number.isNaN(u)||u===0&&Object.is(0,u)||u===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY){return 0}u=c.util.IntegerPart(u);u=u%Math.pow(2,r);if(n==="signed"&&u>=Math.pow(2,r)-1){return u-Math.pow(2,r)}return u};c.util.IntegerPart=function(e){const r=Math.floor(Math.abs(e));if(e<0){return-1*r}return r};c.sequenceConverter=function(e){return r=>{if(c.util.Type(r)!=="Object"){throw c.errors.exception({header:"Sequence",message:`Value of type ${c.util.Type(r)} is not an Object.`})}const n=r?.[Symbol.iterator]?.();const s=[];if(n===undefined||typeof n.next!=="function"){throw c.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:r,value:i}=n.next();if(r){break}s.push(e(i))}return s}};c.recordConverter=function(e,r){return n=>{if(c.util.Type(n)!=="Object"){throw c.errors.exception({header:"Record",message:`Value of type ${c.util.Type(n)} is not an Object.`})}const i={};if(!s.isProxy(n)){const s=Object.keys(n);for(const o of s){const s=e(o);const c=r(n[o]);i[s]=c}return i}const o=Reflect.ownKeys(n);for(const s of o){const o=Reflect.getOwnPropertyDescriptor(n,s);if(o?.enumerable){const o=e(s);const c=r(n[s]);i[o]=c}}return i}};c.interfaceConverter=function(e){return(r,n={})=>{if(n.strict!==false&&!(r instanceof e)){throw c.errors.exception({header:e.name,message:`Expected ${r} to be an instance of ${e.name}.`})}return r}};c.dictionaryConverter=function(e){return r=>{const n=c.util.Type(r);const s={};if(n==="Null"||n==="Undefined"){return s}else if(n!=="Object"){throw c.errors.exception({header:"Dictionary",message:`Expected ${r} to be one of: Null, Undefined, Object.`})}for(const n of e){const{key:e,defaultValue:o,required:u,converter:d}=n;if(u===true){if(!i(r,e)){throw c.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let A=r[e];const h=i(n,"defaultValue");if(h&&A!==null){A=A??o}if(u||h||A!==undefined){A=d(A);if(n.allowedValues&&!n.allowedValues.includes(A)){throw c.errors.exception({header:"Dictionary",message:`${A} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`})}s[e]=A}}return s}};c.nullableConverter=function(e){return r=>{if(r===null){return r}return e(r)}};c.converters.DOMString=function(e,r={}){if(e===null&&r.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};c.converters.ByteString=function(e){const r=c.converters.DOMString(e);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${r.charCodeAt(e)} which is greater than 255.`)}}return r};c.converters.USVString=o;c.converters.boolean=function(e){const r=Boolean(e);return r};c.converters.any=function(e){return e};c.converters["long long"]=function(e){const r=c.util.ConvertToInt(e,64,"signed");return r};c.converters["unsigned long long"]=function(e){const r=c.util.ConvertToInt(e,64,"unsigned");return r};c.converters["unsigned long"]=function(e){const r=c.util.ConvertToInt(e,32,"unsigned");return r};c.converters["unsigned short"]=function(e,r){const n=c.util.ConvertToInt(e,16,"unsigned",r);return n};c.converters.ArrayBuffer=function(e,r={}){if(c.util.Type(e)!=="Object"||!s.isAnyArrayBuffer(e)){throw c.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(r.allowShared===false&&s.isSharedArrayBuffer(e)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.TypedArray=function(e,r,n={}){if(c.util.Type(e)!=="Object"||!s.isTypedArray(e)||e.constructor.name!==r.name){throw c.errors.conversionFailed({prefix:`${r.name}`,argument:`${e}`,types:[r.name]})}if(n.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.DataView=function(e,r={}){if(c.util.Type(e)!=="Object"||!s.isDataView(e)){throw c.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(r.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.BufferSource=function(e,r={}){if(s.isAnyArrayBuffer(e)){return c.converters.ArrayBuffer(e,r)}if(s.isTypedArray(e)){return c.converters.TypedArray(e,e.constructor)}if(s.isDataView(e)){return c.converters.DataView(e,r)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};c.converters["sequence"]=c.sequenceConverter(c.converters.ByteString);c.converters["sequence>"]=c.sequenceConverter(c.converters["sequence"]);c.converters["record"]=c.recordConverter(c.converters.ByteString,c.converters.ByteString);e.exports={webidl:c}},40396:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},82160:(e,r,n)=>{const{staticPropertyDescriptors:s,readOperation:i,fireAProgressEvent:o}=n(10165);const{kState:c,kError:u,kResult:d,kEvents:A,kAborted:h}=n(86812);const{webidl:g}=n(74222);const{kEnumerableProperty:m}=n(3440);class FileReader extends EventTarget{constructor(){super();this[c]="empty";this[d]=null;this[u]=null;this[A]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){g.brandCheck(this,FileReader);g.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=g.converters.Blob(e,{strict:false});i(this,e,"ArrayBuffer")}readAsBinaryString(e){g.brandCheck(this,FileReader);g.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=g.converters.Blob(e,{strict:false});i(this,e,"BinaryString")}readAsText(e,r=undefined){g.brandCheck(this,FileReader);g.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=g.converters.Blob(e,{strict:false});if(r!==undefined){r=g.converters.DOMString(r)}i(this,e,"Text",r)}readAsDataURL(e){g.brandCheck(this,FileReader);g.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=g.converters.Blob(e,{strict:false});i(this,e,"DataURL")}abort(){if(this[c]==="empty"||this[c]==="done"){this[d]=null;return}if(this[c]==="loading"){this[c]="done";this[d]=null}this[h]=true;o("abort",this);if(this[c]!=="loading"){o("loadend",this)}}get readyState(){g.brandCheck(this,FileReader);switch(this[c]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){g.brandCheck(this,FileReader);return this[d]}get error(){g.brandCheck(this,FileReader);return this[u]}get onloadend(){g.brandCheck(this,FileReader);return this[A].loadend}set onloadend(e){g.brandCheck(this,FileReader);if(this[A].loadend){this.removeEventListener("loadend",this[A].loadend)}if(typeof e==="function"){this[A].loadend=e;this.addEventListener("loadend",e)}else{this[A].loadend=null}}get onerror(){g.brandCheck(this,FileReader);return this[A].error}set onerror(e){g.brandCheck(this,FileReader);if(this[A].error){this.removeEventListener("error",this[A].error)}if(typeof e==="function"){this[A].error=e;this.addEventListener("error",e)}else{this[A].error=null}}get onloadstart(){g.brandCheck(this,FileReader);return this[A].loadstart}set onloadstart(e){g.brandCheck(this,FileReader);if(this[A].loadstart){this.removeEventListener("loadstart",this[A].loadstart)}if(typeof e==="function"){this[A].loadstart=e;this.addEventListener("loadstart",e)}else{this[A].loadstart=null}}get onprogress(){g.brandCheck(this,FileReader);return this[A].progress}set onprogress(e){g.brandCheck(this,FileReader);if(this[A].progress){this.removeEventListener("progress",this[A].progress)}if(typeof e==="function"){this[A].progress=e;this.addEventListener("progress",e)}else{this[A].progress=null}}get onload(){g.brandCheck(this,FileReader);return this[A].load}set onload(e){g.brandCheck(this,FileReader);if(this[A].load){this.removeEventListener("load",this[A].load)}if(typeof e==="function"){this[A].load=e;this.addEventListener("load",e)}else{this[A].load=null}}get onabort(){g.brandCheck(this,FileReader);return this[A].abort}set onabort(e){g.brandCheck(this,FileReader);if(this[A].abort){this.removeEventListener("abort",this[A].abort)}if(typeof e==="function"){this[A].abort=e;this.addEventListener("abort",e)}else{this[A].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:s,LOADING:s,DONE:s,readAsArrayBuffer:m,readAsBinaryString:m,readAsText:m,readAsDataURL:m,abort:m,readyState:m,result:m,error:m,onloadstart:m,onprogress:m,onload:m,onabort:m,onerror:m,onloadend:m,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:s,LOADING:s,DONE:s});e.exports={FileReader:FileReader}},15976:(e,r,n)=>{const{webidl:s}=n(74222);const i=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,r={}){e=s.converters.DOMString(e);r=s.converters.ProgressEventInit(r??{});super(e,r);this[i]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){s.brandCheck(this,ProgressEvent);return this[i].lengthComputable}get loaded(){s.brandCheck(this,ProgressEvent);return this[i].loaded}get total(){s.brandCheck(this,ProgressEvent);return this[i].total}}s.converters.ProgressEventInit=s.dictionaryConverter([{key:"lengthComputable",converter:s.converters.boolean,defaultValue:false},{key:"loaded",converter:s.converters["unsigned long long"],defaultValue:0},{key:"total",converter:s.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},86812:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},10165:(e,r,n)=>{const{kState:s,kError:i,kResult:o,kAborted:c,kLastProgressEventFired:u}=n(86812);const{ProgressEvent:d}=n(15976);const{getEncoding:A}=n(40396);const{DOMException:h}=n(87326);const{serializeAMimeType:g,parseMIMEType:m}=n(94322);const{types:y}=n(39023);const{StringDecoder:E}=n(13193);const{btoa:_}=n(20181);const b={enumerable:true,writable:false,configurable:false};function readOperation(e,r,n,d){if(e[s]==="loading"){throw new h("Invalid state","InvalidStateError")}e[s]="loading";e[o]=null;e[i]=null;const A=r.stream();const g=A.getReader();const m=[];let E=g.read();let _=true;(async()=>{while(!e[c]){try{const{done:A,value:h}=await E;if(_&&!e[c]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}_=false;if(!A&&y.isUint8Array(h)){m.push(h);if((e[u]===undefined||Date.now()-e[u]>=50)&&!e[c]){e[u]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}E=g.read()}else if(A){queueMicrotask((()=>{e[s]="done";try{const s=packageData(m,n,r.type,d);if(e[c]){return}e[o]=s;fireAProgressEvent("load",e)}catch(r){e[i]=r;fireAProgressEvent("error",e)}if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(r){if(e[c]){return}queueMicrotask((()=>{e[s]="done";e[i]=r;fireAProgressEvent("error",e);if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,r){const n=new d(e,{bubbles:false,cancelable:false});r.dispatchEvent(n)}function packageData(e,r,n,s){switch(r){case"DataURL":{let r="data:";const s=m(n||"application/octet-stream");if(s!=="failure"){r+=g(s)}r+=";base64,";const i=new E("latin1");for(const n of e){r+=_(i.write(n))}r+=_(i.end());return r}case"Text":{let r="failure";if(s){r=A(s)}if(r==="failure"&&n){const e=m(n);if(e!=="failure"){r=A(e.parameters.get("charset"))}}if(r==="failure"){r="UTF-8"}return decode(e,r)}case"ArrayBuffer":{const r=combineByteSequences(e);return r.buffer}case"BinaryString":{let r="";const n=new E("latin1");for(const s of e){r+=n.write(s)}r+=n.end();return r}}}function decode(e,r){const n=combineByteSequences(e);const s=BOMSniffing(n);let i=0;if(s!==null){r=s;i=s==="UTF-8"?3:2}const o=n.slice(i);return new TextDecoder(r).decode(o)}function BOMSniffing(e){const[r,n,s]=e;if(r===239&&n===187&&s===191){return"UTF-8"}else if(r===254&&n===255){return"UTF-16BE"}else if(r===255&&n===254){return"UTF-16LE"}return null}function combineByteSequences(e){const r=e.reduce(((e,r)=>e+r.byteLength),0);let n=0;return e.reduce(((e,r)=>{e.set(r,n);n+=r.byteLength;return e}),new Uint8Array(r))}e.exports={staticPropertyDescriptors:b,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},32581:(e,r,n)=>{const s=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:i}=n(68707);const o=n(59965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new i("Argument agent must implement Agent")}Object.defineProperty(globalThis,s,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[s]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},78840:e=>{e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},48299:(e,r,n)=>{const s=n(3440);const{kBodyUsed:i}=n(36443);const o=n(42613);const{InvalidArgumentError:c}=n(68707);const u=n(24434);const d=[300,301,302,303,307,308];const A=Symbol("body");class BodyAsyncIterable{constructor(e){this[A]=e;this[i]=false}async*[Symbol.asyncIterator](){o(!this[i],"disturbed");this[i]=true;yield*this[A]}}class RedirectHandler{constructor(e,r,n,d){if(r!=null&&(!Number.isInteger(r)||r<0)){throw new c("maxRedirections must be a positive number")}s.validateHandler(d,n.method,n.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...n,maxRedirections:0};this.maxRedirections=r;this.handler=d;this.history=[];if(s.isStream(this.opts.body)){if(s.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[i]=false;u.prototype.on.call(this.opts.body,"data",(function(){this[i]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&s.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){this.location=this.history.length>=this.maxRedirections||s.isDisturbed(this.opts.body)?null:parseLocation(e,r);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,r,n,i)}const{origin:o,pathname:c,search:u}=s.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const d=u?`${c}${u}`:c;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==o);this.opts.path=d;this.opts.origin=o;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,r){if(d.indexOf(e)===-1){return null}for(let e=0;e{const s=n(42613);const{kRetryHandlerDefaultRetry:i}=n(36443);const{RequestRetryError:o}=n(68707);const{isDisturbed:c,parseHeaders:u,parseRangeHeader:d}=n(3440);function calculateRetryAfterHeader(e){const r=Date.now();const n=new Date(e).getTime()-r;return n}class RetryHandler{constructor(e,r){const{retryOptions:n,...s}=e;const{retry:o,maxRetries:c,maxTimeout:u,minTimeout:d,timeoutFactor:A,methods:h,errorCodes:g,retryAfter:m,statusCodes:y}=n??{};this.dispatch=r.dispatch;this.handler=r.handler;this.opts=s;this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[i],retryAfter:m??true,maxTimeout:u??30*1e3,timeout:d??500,timeoutFactor:A??2,maxRetries:c??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:y??[500,502,503,504,429],errorCodes:g??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,r,n){if(this.handler.onUpgrade){this.handler.onUpgrade(e,r,n)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[i](e,{state:r,opts:n},s){const{statusCode:i,code:o,headers:c}=e;const{method:u,retryOptions:d}=n;const{maxRetries:A,timeout:h,maxTimeout:g,timeoutFactor:m,statusCodes:y,errorCodes:E,methods:_}=d;let{counter:b,currentTimeout:I}=r;I=I!=null&&I>0?I:h;if(o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!E.includes(o)){s(e);return}if(Array.isArray(_)&&!_.includes(u)){s(e);return}if(i!=null&&Array.isArray(y)&&!y.includes(i)){s(e);return}if(b>A){s(e);return}let v=c!=null&&c["retry-after"];if(v){v=Number(v);v=isNaN(v)?calculateRetryAfterHeader(v):v*1e3}const C=v>0?Math.min(v,g):Math.min(I*m**b,g);r.currentTimeout=C;setTimeout((()=>s(null)),C)}onHeaders(e,r,n,i){const c=u(r);this.retryCount+=1;if(e>=300){this.abort(new o("Request failed",e,{headers:c,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const r=d(c["content-range"]);if(!r){this.abort(new o("Content-Range mismatch",e,{headers:c,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==c.etag){this.abort(new o("ETag mismatch",e,{headers:c,count:this.retryCount}));return false}const{start:i,size:u,end:A=u}=r;s(this.start===i,"content-range mismatch");s(this.end==null||this.end===A,"content-range mismatch");this.resume=n;return true}if(this.end==null){if(e===206){const o=d(c["content-range"]);if(o==null){return this.handler.onHeaders(e,r,n,i)}const{start:u,size:A,end:h=A}=o;s(u!=null&&Number.isFinite(u)&&this.start!==u,"content-range mismatch");s(Number.isFinite(u));s(h!=null&&Number.isFinite(h)&&this.end!==h,"invalid content-length");this.start=u;this.end=h}if(this.end==null){const e=c["content-length"];this.end=e!=null?Number(e):null}s(Number.isFinite(this.start));s(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=n;this.etag=c.etag!=null?c.etag:null;return this.handler.onHeaders(e,r,n,i)}const A=new o("Request failed",e,{headers:c,count:this.retryCount});this.abort(A);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||c(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||c(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},64415:(e,r,n)=>{const s=n(48299);function createRedirectInterceptor({maxRedirections:e}){return r=>function Intercept(n,i){const{maxRedirections:o=e}=n;if(!o){return r(n,i)}const c=new s(r,o,n,i);n={...n,maxRedirections:0};return r(n,c)}}e.exports=createRedirectInterceptor},52824:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.SPECIAL_HEADERS=r.HEADER_STATE=r.MINOR=r.MAJOR=r.CONNECTION_TOKEN_CHARS=r.HEADER_CHARS=r.TOKEN=r.STRICT_TOKEN=r.HEX=r.URL_CHAR=r.STRICT_URL_CHAR=r.USERINFO_CHARS=r.MARK=r.ALPHANUM=r.NUM=r.HEX_MAP=r.NUM_MAP=r.ALPHA=r.FINISH=r.H_METHOD_MAP=r.METHOD_MAP=r.METHODS_RTSP=r.METHODS_ICE=r.METHODS_HTTP=r.METHODS=r.LENIENT_FLAGS=r.FLAGS=r.TYPE=r.ERROR=void 0;const s=n(50172);var i;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(i=r.ERROR||(r.ERROR={}));var o;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(o=r.TYPE||(r.TYPE={}));var c;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(c=r.FLAGS||(r.FLAGS={}));var u;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(u=r.LENIENT_FLAGS||(r.LENIENT_FLAGS={}));var d;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(d=r.METHODS||(r.METHODS={}));r.METHODS_HTTP=[d.DELETE,d.GET,d.HEAD,d.POST,d.PUT,d.CONNECT,d.OPTIONS,d.TRACE,d.COPY,d.LOCK,d.MKCOL,d.MOVE,d.PROPFIND,d.PROPPATCH,d.SEARCH,d.UNLOCK,d.BIND,d.REBIND,d.UNBIND,d.ACL,d.REPORT,d.MKACTIVITY,d.CHECKOUT,d.MERGE,d["M-SEARCH"],d.NOTIFY,d.SUBSCRIBE,d.UNSUBSCRIBE,d.PATCH,d.PURGE,d.MKCALENDAR,d.LINK,d.UNLINK,d.PRI,d.SOURCE];r.METHODS_ICE=[d.SOURCE];r.METHODS_RTSP=[d.OPTIONS,d.DESCRIBE,d.ANNOUNCE,d.SETUP,d.PLAY,d.PAUSE,d.TEARDOWN,d.GET_PARAMETER,d.SET_PARAMETER,d.REDIRECT,d.RECORD,d.FLUSH,d.GET,d.POST];r.METHOD_MAP=s.enumToMap(d);r.H_METHOD_MAP={};Object.keys(r.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){r.H_METHOD_MAP[e]=r.METHOD_MAP[e]}}));var A;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(A=r.FINISH||(r.FINISH={}));r.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){r.ALPHA.push(String.fromCharCode(e));r.ALPHA.push(String.fromCharCode(e+32))}r.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};r.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};r.NUM=["0","1","2","3","4","5","6","7","8","9"];r.ALPHANUM=r.ALPHA.concat(r.NUM);r.MARK=["-","_",".","!","~","*","'","(",")"];r.USERINFO_CHARS=r.ALPHANUM.concat(r.MARK).concat(["%",";",":","&","=","+","$",","]);r.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(r.ALPHANUM);r.URL_CHAR=r.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){r.URL_CHAR.push(e)}r.HEX=r.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);r.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(r.ALPHANUM);r.TOKEN=r.STRICT_TOKEN.concat([" "]);r.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){r.HEADER_CHARS.push(e)}}r.CONNECTION_TOKEN_CHARS=r.HEADER_CHARS.filter((e=>e!==44));r.MAJOR=r.NUM_MAP;r.MINOR=r.MAJOR;var h;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(h=r.HEADER_STATE||(r.HEADER_STATE={}));r.SPECIAL_HEADERS={connection:h.CONNECTION,"content-length":h.CONTENT_LENGTH,"proxy-connection":h.CONNECTION,"transfer-encoding":h.TRANSFER_ENCODING,upgrade:h.UPGRADE}},63870:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJs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ADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkB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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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FCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAU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YWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8="},53434:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJs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IAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AcsBygG4AckBuQHIAboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBANwBC0EAIRAMxgELQQ4hEAzFAQtBDSEQDMQBC0EPIRAMwwELQRAhEAzCAQtBEyEQDMEBC0EUIRAMwAELQRUhEAy/AQtBFiEQDL4BC0EXIRAMvQELQRghEAy8AQtBGSEQDLsBC0EaIRAMugELQRshEAy5AQtBHCEQDLgBC0EIIRAMtwELQR0hEAy2AQtBICEQDLUBC0EfIRAMtAELQQchEAyzAQtBISEQDLIBC0EiIRAMsQELQR4hEAywAQtBIyEQDK8BC0ESIRAMrgELQREhEAytAQtBJCEQDKwBC0ElIRAMqwELQSYhEAyqAQtBJyEQDKkBC0HDASEQDKgBC0EpIRAMpwELQSshEAymAQtBLCEQDKUBC0EtIRAMpAELQS4hEAyjAQtBLyEQDKIBC0HEASEQDKEBC0EwIRAMoAELQTQhEAyfAQtBDCEQDJ4BC0ExIRAMnQELQTIhEAycAQtBMyEQDJsBC0E5IRAMmgELQTUhEAyZAQtBxQEhEAyYAQtBCyEQDJcBC0E6IRAMlgELQTYhEAyVAQtBCiEQDJQBC0E3IRAMkwELQTghEAySAQtBPCEQDJEBC0E7IRAMkAELQT0hEAyPAQtBCSEQDI4BC0EoIRAMjQELQT4hEAyMAQtBPyEQDIsBC0HAACEQDIoBC0HBACEQDIkBC0HCACEQDIgBC0HDACEQDIcBC0HEACEQDIYBC0HFACEQDIUBC0HGACEQDIQBC0EqIRAMgwELQccAIRAMggELQcgAIRAMgQELQckAIRAMgAELQcoAIRAMfwtBywAhEAx+C0HNACEQDH0LQcwAIRAMfAtBzgAhEAx7C0HPACEQDHoLQdAAIRAMeQtB0QAhEAx4C0HSACEQDHcLQdMAIRAMdgtB1AAhEAx1C0HWACEQDHQLQdUAIRAMcwtBBiEQDHILQdcAIRAMcQtBBSEQDHALQdgAIRAMbwtBBCEQDG4LQdkAIRAMbQtB2gAhEAxsC0HbACEQDGsLQdwAIRAMagtBAyEQDGkLQd0AIRAMaAtB3gAhEAxnC0HfACEQDGYLQeEAIRAMZQtB4AAhEAxkC0HiACEQDGMLQeMAIRAMYgtBAiEQDGELQeQAIRAMYAtB5QAhEAxfC0HmACEQDF4LQecAIRAMXQtB6AAhEAxcC0HpACEQDFsLQeoAIRAMWgtB6wAhEAxZC0HsACEQDFgLQe0AIRAMVwtB7gAhEAxWC0HvACEQDFULQfAAIRAMVAtB8QAhEAxTC0HyACEQDFILQfMAIRAMUQtB9AAhEAxQC0H1ACEQDE8LQfYAIRAMTgtB9wAhEAxNC0H4ACEQDEwLQfkAIRAMSwtB+gAhEAxKC0H7ACEQDEkLQfwAIRAMSAtB/QAhEAxHC0H+ACEQDEYLQf8AIRAMRQtBgAEhEAxEC0GBASEQDEMLQYIBIRAMQgtBgwEhEAxBC0GEASEQDEALQYUBIRAMPwtBhgEhEAw+C0GHASEQDD0LQYgBIRAMPAtBiQEhEAw7C0GKASEQDDoLQYsBIRAMOQtBjAEhEAw4C0GNASEQDDcLQY4BIRAMNgtBjwEhEAw1C0GQASEQDDQLQZEBIRAMMwtBkgEhEAwyC0GTASEQDDELQZQBIRAMMAtBlQEhEAwvC0GWASEQDC4LQZcBIRAMLQtBmAEhEAwsC0GZASEQDCsLQZoBIRAMKgtBmwEhEAwpC0GcASEQDCgLQZ0BIRAMJwtBngEhEAwmC0GfASEQDCULQaABIRAMJAtBoQEhEAwjC0GiASEQDCILQaMBIRAMIQtBpAEhEAwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQID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YWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsb3NlZWVwLWFsaXZlAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgAAAAAAAAAAAAAAAAAAAHJhbnNmZXItZW5jb2RpbmdwZ3JhZGUNCg0KDQpTTQ0KDQpUVFAvQ0UvVFNQLwAAAAAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAAAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},50172:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.enumToMap=void 0;function enumToMap(e){const r={};Object.keys(e).forEach((n=>{const s=e[n];if(typeof s==="number"){r[n]=s}}));return r}r.enumToMap=enumToMap},47501:(e,r,n)=>{const{kClients:s}=n(36443);const i=n(59965);const{kAgent:o,kMockAgentSet:c,kMockAgentGet:u,kDispatches:d,kIsMockActive:A,kNetConnect:h,kGetNetConnect:g,kOptions:m,kFactory:y}=n(91117);const E=n(47365);const _=n(94004);const{matchValue:b,buildMockOptions:I}=n(53397);const{InvalidArgumentError:v,UndiciError:C}=n(68707);const w=n(28611);const B=n(91529);const S=n(56142);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends w{constructor(e){super(e);this[h]=true;this[A]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new v("Argument opts.agent must implement Agent")}const r=e&&e.agent?e.agent:new i(e);this[o]=r;this[s]=r[s];this[m]=I(e)}get(e){let r=this[u](e);if(!r){r=this[y](e);this[c](e,r)}return r}dispatch(e,r){this.get(e.origin);return this[o].dispatch(e,r)}async close(){await this[o].close();this[s].clear()}deactivate(){this[A]=false}activate(){this[A]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[h])){this[h].push(e)}else{this[h]=[e]}}else if(typeof e==="undefined"){this[h]=true}else{throw new v("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[h]=false}get isMockActive(){return this[A]}[c](e,r){this[s].set(e,new FakeWeakRef(r))}[y](e){const r=Object.assign({agent:this},this[m]);return this[m]&&this[m].connections===1?new E(e,r):new _(e,r)}[u](e){const r=this[s].get(e);if(r){return r.deref()}if(typeof e!=="string"){const r=this[y]("http://localhost:9999");this[c](e,r);return r}for(const[r,n]of Array.from(this[s])){const s=n.deref();if(s&&typeof r!=="string"&&b(r,e)){const r=this[y](e);this[c](e,r);r[d]=s[d];return r}}}[g](){return this[h]}pendingInterceptors(){const e=this[s];return Array.from(e.entries()).flatMap((([e,r])=>r.deref()[d].map((r=>({...r,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new S}={}){const r=this.pendingInterceptors();if(r.length===0){return}const n=new B("interceptor","interceptors").pluralize(r.length);throw new C(`\n${n.count} ${n.noun} ${n.is} pending:\n\n${e.format(r)}\n`.trim())}}e.exports=MockAgent},47365:(e,r,n)=>{const{promisify:s}=n(39023);const i=n(86197);const{buildMockDispatch:o}=n(53397);const{kDispatches:c,kMockAgent:u,kClose:d,kOriginalClose:A,kOrigin:h,kOriginalDispatch:g,kConnected:m}=n(91117);const{MockInterceptor:y}=n(31511);const E=n(36443);const{InvalidArgumentError:_}=n(68707);class MockClient extends i{constructor(e,r){super(e,r);if(!r||!r.agent||typeof r.agent.dispatch!=="function"){throw new _("Argument opts.agent must implement Agent")}this[u]=r.agent;this[h]=e;this[c]=[];this[m]=1;this[g]=this.dispatch;this[A]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[d]}get[E.kConnected](){return this[m]}intercept(e){return new y(e,this[c])}async[d](){await s(this[A])();this[m]=0;this[u][E.kClients].delete(this[h])}}e.exports=MockClient},52429:(e,r,n)=>{const{UndiciError:s}=n(68707);class MockNotMatchedError extends s{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},31511:(e,r,n)=>{const{getResponseData:s,buildKey:i,addMockDispatch:o}=n(53397);const{kDispatches:c,kDispatchKey:u,kDefaultHeaders:d,kDefaultTrailers:A,kContentLength:h,kMockDispatch:g}=n(91117);const{InvalidArgumentError:m}=n(68707);const{buildURL:y}=n(3440);class MockScope{constructor(e){this[g]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new m("waitInMs must be a valid integer > 0")}this[g].delay=e;return this}persist(){this[g].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new m("repeatTimes must be a valid integer > 0")}this[g].times=e;return this}}class MockInterceptor{constructor(e,r){if(typeof e!=="object"){throw new m("opts must be an object")}if(typeof e.path==="undefined"){throw new m("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=y(e.path,e.query)}else{const r=new URL(e.path,"data://");e.path=r.pathname+r.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[u]=i(e);this[c]=r;this[d]={};this[A]={};this[h]=false}createMockScopeDispatchData(e,r,n={}){const i=s(r);const o=this[h]?{"content-length":i.length}:{};const c={...this[d],...o,...n.headers};const u={...this[A],...n.trailers};return{statusCode:e,data:r,headers:c,trailers:u}}validateReplyParameters(e,r,n){if(typeof e==="undefined"){throw new m("statusCode must be defined")}if(typeof r==="undefined"){throw new m("data must be defined")}if(typeof n!=="object"){throw new m("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=r=>{const n=e(r);if(typeof n!=="object"){throw new m("reply options callback must return an object")}const{statusCode:s,data:i="",responseOptions:o={}}=n;this.validateReplyParameters(s,i,o);return{...this.createMockScopeDispatchData(s,i,o)}};const r=o(this[c],this[u],wrappedDefaultsCallback);return new MockScope(r)}const[r,n="",s={}]=[...arguments];this.validateReplyParameters(r,n,s);const i=this.createMockScopeDispatchData(r,n,s);const d=o(this[c],this[u],i);return new MockScope(d)}replyWithError(e){if(typeof e==="undefined"){throw new m("error must be defined")}const r=o(this[c],this[u],{error:e});return new MockScope(r)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new m("headers must be defined")}this[d]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new m("trailers must be defined")}this[A]=e;return this}replyContentLength(){this[h]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},94004:(e,r,n)=>{const{promisify:s}=n(39023);const i=n(35076);const{buildMockDispatch:o}=n(53397);const{kDispatches:c,kMockAgent:u,kClose:d,kOriginalClose:A,kOrigin:h,kOriginalDispatch:g,kConnected:m}=n(91117);const{MockInterceptor:y}=n(31511);const E=n(36443);const{InvalidArgumentError:_}=n(68707);class MockPool extends i{constructor(e,r){super(e,r);if(!r||!r.agent||typeof r.agent.dispatch!=="function"){throw new _("Argument opts.agent must implement Agent")}this[u]=r.agent;this[h]=e;this[c]=[];this[m]=1;this[g]=this.dispatch;this[A]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[d]}get[E.kConnected](){return this[m]}intercept(e){return new y(e,this[c])}async[d](){await s(this[A])();this[m]=0;this[u][E.kClients].delete(this[h])}}e.exports=MockPool},91117:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(e,r,n)=>{const{MockNotMatchedError:s}=n(52429);const{kDispatches:i,kMockAgent:o,kOriginalDispatch:c,kOrigin:u,kGetNetConnect:d}=n(91117);const{buildURL:A,nop:h}=n(3440);const{STATUS_CODES:g}=n(58611);const{types:{isPromise:m}}=n(39023);function matchValue(e,r){if(typeof e==="string"){return e===r}if(e instanceof RegExp){return e.test(r)}if(typeof e==="function"){return e(r)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,r])=>[e.toLocaleLowerCase(),r])))}function getHeaderByName(e,r){if(Array.isArray(e)){for(let n=0;n!e)).filter((({path:e})=>matchValue(safeUrl(e),i)));if(o.length===0){throw new s(`Mock dispatch not matched for path '${i}'`)}o=o.filter((({method:e})=>matchValue(e,r.method)));if(o.length===0){throw new s(`Mock dispatch not matched for method '${r.method}'`)}o=o.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,r.body):true));if(o.length===0){throw new s(`Mock dispatch not matched for body '${r.body}'`)}o=o.filter((e=>matchHeaders(e,r.headers)));if(o.length===0){throw new s(`Mock dispatch not matched for headers '${typeof r.headers==="object"?JSON.stringify(r.headers):r.headers}'`)}return o[0]}function addMockDispatch(e,r,n){const s={timesInvoked:0,times:1,persist:false,consumed:false};const i=typeof n==="function"?{callback:n}:{...n};const o={...s,...r,pending:true,data:{error:null,...i}};e.push(o);return o}function deleteMockDispatch(e,r){const n=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,r)}));if(n!==-1){e.splice(n,1)}}function buildKey(e){const{path:r,method:n,body:s,headers:i,query:o}=e;return{path:r,method:n,body:s,headers:i,query:o}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[r,n])=>[...e,Buffer.from(`${r}`),Array.isArray(n)?n.map((e=>Buffer.from(`${e}`))):Buffer.from(`${n}`)]),[])}function getStatusText(e){return g[e]||"unknown"}async function getResponse(e){const r=[];for await(const n of e){r.push(n)}return Buffer.concat(r).toString("utf8")}function mockDispatch(e,r){const n=buildKey(e);const s=getMockDispatch(this[i],n);s.timesInvoked++;if(s.data.callback){s.data={...s.data,...s.data.callback(e)}}const{data:{statusCode:o,data:c,headers:u,trailers:d,error:A},delay:g,persist:y}=s;const{timesInvoked:E,times:_}=s;s.consumed=!y&&E>=_;s.pending=E<_;if(A!==null){deleteMockDispatch(this[i],n);r.onError(A);return true}if(typeof g==="number"&&g>0){setTimeout((()=>{handleReply(this[i])}),g)}else{handleReply(this[i])}function handleReply(s,i=c){const A=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const g=typeof i==="function"?i({...e,headers:A}):i;if(m(g)){g.then((e=>handleReply(s,e)));return}const y=getResponseData(g);const E=generateKeyValues(u);const _=generateKeyValues(d);r.abort=h;r.onHeaders(o,E,resume,getStatusText(o));r.onData(Buffer.from(y));r.onComplete(_);deleteMockDispatch(s,n)}function resume(){}return true}function buildMockDispatch(){const e=this[o];const r=this[u];const n=this[c];return function dispatch(i,o){if(e.isMockActive){try{mockDispatch.call(this,i,o)}catch(c){if(c instanceof s){const u=e[d]();if(u===false){throw new s(`${c.message}: subsequent request to origin ${r} was not allowed (net.connect disabled)`)}if(checkNetConnect(u,r)){n.call(this,i,o)}else{throw new s(`${c.message}: subsequent request to origin ${r} was not allowed (net.connect is not enabled for this origin)`)}}else{throw c}}}else{n.call(this,i,o)}}}function checkNetConnect(e,r){const n=new URL(r);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,n.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:r,...n}=e;return n}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},56142:(e,r,n)=>{const{Transform:s}=n(2203);const{Console:i}=n(64236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new s({transform(e,r,n){n(null,e)}});this.logger=new i({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const r=e.map((({method:e,path:r,data:{statusCode:n},persist:s,times:i,timesInvoked:o,origin:c})=>({Method:e,Origin:c,Path:r,"Status code":n,Persistent:s?"✅":"❌",Invocations:o,Remaining:s?Infinity:i-o})));this.logger.table(r);return this.transform.read().toString()}}},91529:e=>{const r={pronoun:"it",is:"is",was:"was",this:"this"};const n={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,r){this.singular=e;this.plural=r}pluralize(e){const s=e===1;const i=s?r:n;const o=s?this.singular:this.plural;return{...i,count:e,noun:o}}}},34869:e=>{const r=2048;const n=r-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(r);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&n)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&n}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&n;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const r=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return r}}},58640:(e,r,n)=>{const s=n(50001);const i=n(34869);const{kConnected:o,kSize:c,kRunning:u,kPending:d,kQueued:A,kBusy:h,kFree:g,kUrl:m,kClose:y,kDestroy:E,kDispatch:_}=n(36443);const b=n(24622);const I=Symbol("clients");const v=Symbol("needDrain");const C=Symbol("queue");const w=Symbol("closed resolve");const B=Symbol("onDrain");const S=Symbol("onConnect");const T=Symbol("onDisconnect");const k=Symbol("onConnectionError");const R=Symbol("get dispatcher");const Q=Symbol("add client");const P=Symbol("remove client");const O=Symbol("stats");class PoolBase extends s{constructor(){super();this[C]=new i;this[I]=[];this[A]=0;const e=this;this[B]=function onDrain(r,n){const s=e[C];let i=false;while(!i){const r=s.shift();if(!r){break}e[A]--;i=!this.dispatch(r.opts,r.handler)}this[v]=i;if(!this[v]&&e[v]){e[v]=false;e.emit("drain",r,[e,...n])}if(e[w]&&s.isEmpty()){Promise.all(e[I].map((e=>e.close()))).then(e[w])}};this[S]=(r,n)=>{e.emit("connect",r,[e,...n])};this[T]=(r,n,s)=>{e.emit("disconnect",r,[e,...n],s)};this[k]=(r,n,s)=>{e.emit("connectionError",r,[e,...n],s)};this[O]=new b(this)}get[h](){return this[v]}get[o](){return this[I].filter((e=>e[o])).length}get[g](){return this[I].filter((e=>e[o]&&!e[v])).length}get[d](){let e=this[A];for(const{[d]:r}of this[I]){e+=r}return e}get[u](){let e=0;for(const{[u]:r}of this[I]){e+=r}return e}get[c](){let e=this[A];for(const{[c]:r}of this[I]){e+=r}return e}get stats(){return this[O]}async[y](){if(this[C].isEmpty()){return Promise.all(this[I].map((e=>e.close())))}else{return new Promise((e=>{this[w]=e}))}}async[E](e){while(true){const r=this[C].shift();if(!r){break}r.handler.onError(e)}return Promise.all(this[I].map((r=>r.destroy(e))))}[_](e,r){const n=this[R]();if(!n){this[v]=true;this[C].push({opts:e,handler:r});this[A]++}else if(!n.dispatch(e,r)){n[v]=true;this[v]=!this[R]()}return!this[v]}[Q](e){e.on("drain",this[B]).on("connect",this[S]).on("disconnect",this[T]).on("connectionError",this[k]);this[I].push(e);if(this[v]){process.nextTick((()=>{if(this[v]){this[B](e[m],[this,e])}}))}return this}[P](e){e.close((()=>{const r=this[I].indexOf(e);if(r!==-1){this[I].splice(r,1)}}));this[v]=this[I].some((e=>!e[v]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:I,kNeedDrain:v,kAddClient:Q,kRemoveClient:P,kGetDispatcher:R}},24622:(e,r,n)=>{const{kFree:s,kConnected:i,kPending:o,kQueued:c,kRunning:u,kSize:d}=n(36443);const A=Symbol("pool");class PoolStats{constructor(e){this[A]=e}get connected(){return this[A][i]}get free(){return this[A][s]}get pending(){return this[A][o]}get queued(){return this[A][c]}get running(){return this[A][u]}get size(){return this[A][d]}}e.exports=PoolStats},35076:(e,r,n)=>{const{PoolBase:s,kClients:i,kNeedDrain:o,kAddClient:c,kGetDispatcher:u}=n(58640);const d=n(86197);const{InvalidArgumentError:A}=n(68707);const h=n(3440);const{kUrl:g,kInterceptors:m}=n(36443);const y=n(59136);const E=Symbol("options");const _=Symbol("connections");const b=Symbol("factory");function defaultFactory(e,r){return new d(e,r)}class Pool extends s{constructor(e,{connections:r,factory:n=defaultFactory,connect:s,connectTimeout:i,tls:o,maxCachedSessions:c,socketPath:u,autoSelectFamily:d,autoSelectFamilyAttemptTimeout:I,allowH2:v,...C}={}){super();if(r!=null&&(!Number.isFinite(r)||r<0)){throw new A("invalid connections")}if(typeof n!=="function"){throw new A("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new A("connect must be a function or an object")}if(typeof s!=="function"){s=y({...o,maxCachedSessions:c,allowH2:v,socketPath:u,timeout:i,...h.nodeHasAutoSelectFamily&&d?{autoSelectFamily:d,autoSelectFamilyAttemptTimeout:I}:undefined,...s})}this[m]=C.interceptors&&C.interceptors.Pool&&Array.isArray(C.interceptors.Pool)?C.interceptors.Pool:[];this[_]=r||null;this[g]=h.parseOrigin(e);this[E]={...h.deepClone(C),connect:s,allowH2:v};this[E].interceptors=C.interceptors?{...C.interceptors}:undefined;this[b]=n}[u](){let e=this[i].find((e=>!e[o]));if(e){return e}if(!this[_]||this[i].length{const{kProxy:s,kClose:i,kDestroy:o,kInterceptors:c}=n(36443);const{URL:u}=n(87016);const d=n(59965);const A=n(35076);const h=n(50001);const{InvalidArgumentError:g,RequestAbortedError:m}=n(68707);const y=n(59136);const E=Symbol("proxy agent");const _=Symbol("proxy client");const b=Symbol("proxy headers");const I=Symbol("request tls settings");const v=Symbol("proxy tls settings");const C=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new g("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,r){return new A(e,r)}class ProxyAgent extends h{constructor(e){super(e);this[s]=buildProxyOptions(e);this[E]=new d(e);this[c]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new g("Proxy opts.uri is mandatory")}const{clientFactory:r=defaultFactory}=e;if(typeof r!=="function"){throw new g("Proxy opts.clientFactory must be a function.")}this[I]=e.requestTls;this[v]=e.proxyTls;this[b]=e.headers||{};const n=new u(e.uri);const{origin:i,port:o,host:A,username:h,password:w}=n;if(e.auth&&e.token){throw new g("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[b]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[b]["proxy-authorization"]=e.token}else if(h&&w){this[b]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(h)}:${decodeURIComponent(w)}`).toString("base64")}`}const B=y({...e.proxyTls});this[C]=y({...e.requestTls});this[_]=r(n,{connect:B});this[E]=new d({...e,connect:async(e,r)=>{let n=e.host;if(!e.port){n+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:s,statusCode:c}=await this[_].connect({origin:i,port:o,path:n,signal:e.signal,headers:{...this[b],host:A}});if(c!==200){s.on("error",(()=>{})).destroy();r(new m(`Proxy response (${c}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){r(null,s);return}let u;if(this[I]){u=this[I].servername}else{u=e.servername}this[C]({...e,servername:u,httpSocket:s},r)}catch(e){r(e)}}})}dispatch(e,r){const{host:n}=new u(e.origin);const s=buildHeaders(e.headers);throwIfProxyAuthIsSent(s);return this[E].dispatch({...e,headers:{...s,host:n}},r)}async[i](){await this[E].close();await this[_].close()}async[o](){await this[E].destroy();await this[_].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const r={};for(let n=0;ne.toLowerCase()==="proxy-authorization"));if(r){throw new g("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},28804:e=>{let r=Date.now();let n;const s=[];function onTimeout(){r=Date.now();let e=s.length;let n=0;while(n0&&r>=i.state){i.state=-1;i.callback(i.opaque)}if(i.state===-1){i.state=-2;if(n!==e-1){s[n]=s.pop()}else{s.pop()}e-=1}else{n+=1}}if(s.length>0){refreshTimeout()}}function refreshTimeout(){if(n&&n.refresh){n.refresh()}else{clearTimeout(n);n=setTimeout(onTimeout,1e3);if(n.unref){n.unref()}}}class Timeout{constructor(e,r,n){this.callback=e;this.delay=r;this.opaque=n;this.state=-2;this.refresh()}refresh(){if(this.state===-2){s.push(this);if(!n||s.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,r,n){return r<1e3?setTimeout(e,r,n):new Timeout(e,r,n)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},68550:(e,r,n)=>{const s=n(31637);const{uid:i,states:o}=n(45913);const{kReadyState:c,kSentClose:u,kByteParser:d,kReceivedClose:A}=n(62933);const{fireEvent:h,failWebsocketConnection:g}=n(3574);const{CloseEvent:m}=n(46255);const{makeRequest:y}=n(25194);const{fetching:E}=n(12315);const{Headers:_}=n(26349);const{getGlobalDispatcher:b}=n(32581);const{kHeadersList:I}=n(36443);const v={};v.open=s.channel("undici:websocket:open");v.close=s.channel("undici:websocket:close");v.socketError=s.channel("undici:websocket:socket_error");let C;try{C=n(76982)}catch{}function establishWebSocketConnection(e,r,n,s,o){const c=e;c.protocol=e.protocol==="ws:"?"http:":"https:";const u=y({urlList:[c],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=new _(o.headers)[I];u.headersList=e}const d=C.randomBytes(16).toString("base64");u.headersList.append("sec-websocket-key",d);u.headersList.append("sec-websocket-version","13");for(const e of r){u.headersList.append("sec-websocket-protocol",e)}const A="";const h=E({request:u,useParallelQueue:true,dispatcher:o.dispatcher??b(),processResponse(e){if(e.type==="error"||e.status!==101){g(n,"Received network error or non-101 status code.");return}if(r.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){g(n,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){g(n,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){g(n,'Server did not set Connection header to "upgrade".');return}const o=e.headersList.get("Sec-WebSocket-Accept");const c=C.createHash("sha1").update(d+i).digest("base64");if(o!==c){g(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const h=e.headersList.get("Sec-WebSocket-Extensions");if(h!==null&&h!==A){g(n,"Received different permessage-deflate than the one set.");return}const m=e.headersList.get("Sec-WebSocket-Protocol");if(m!==null&&m!==u.headersList.get("Sec-WebSocket-Protocol")){g(n,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(v.open.hasSubscribers){v.open.publish({address:e.socket.address(),protocol:m,extensions:h})}s(e)}});return h}function onSocketData(e){if(!this.ws[d].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const r=e[u]&&e[A];let n=1005;let s="";const i=e[d].closingInfo;if(i){n=i.code??1005;s=i.reason}else if(!e[u]){n=1006}e[c]=o.CLOSED;h("close",e,m,{wasClean:r,code:n,reason:s});if(v.close.hasSubscribers){v.close.publish({websocket:e,code:n,reason:s})}}function onSocketError(e){const{ws:r}=this;r[c]=o.CLOSING;if(v.socketError.hasSubscribers){v.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},45913:e=>{const r="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const n={enumerable:true,writable:false,configurable:false};const s={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const i={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const c={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const u=Buffer.allocUnsafe(0);e.exports={uid:r,staticPropertyDescriptors:n,states:s,opcodes:i,maxUnsigned16Bit:o,parserStates:c,emptyBuffer:u}},46255:(e,r,n)=>{const{webidl:s}=n(74222);const{kEnumerableProperty:i}=n(3440);const{MessagePort:o}=n(28167);class MessageEvent extends Event{#i;constructor(e,r={}){s.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=s.converters.DOMString(e);r=s.converters.MessageEventInit(r);super(e,r);this.#i=r}get data(){s.brandCheck(this,MessageEvent);return this.#i.data}get origin(){s.brandCheck(this,MessageEvent);return this.#i.origin}get lastEventId(){s.brandCheck(this,MessageEvent);return this.#i.lastEventId}get source(){s.brandCheck(this,MessageEvent);return this.#i.source}get ports(){s.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#i.ports)){Object.freeze(this.#i.ports)}return this.#i.ports}initMessageEvent(e,r=false,n=false,i=null,o="",c="",u=null,d=[]){s.brandCheck(this,MessageEvent);s.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:r,cancelable:n,data:i,origin:o,lastEventId:c,source:u,ports:d})}}class CloseEvent extends Event{#i;constructor(e,r={}){s.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=s.converters.DOMString(e);r=s.converters.CloseEventInit(r);super(e,r);this.#i=r}get wasClean(){s.brandCheck(this,CloseEvent);return this.#i.wasClean}get code(){s.brandCheck(this,CloseEvent);return this.#i.code}get reason(){s.brandCheck(this,CloseEvent);return this.#i.reason}}class ErrorEvent extends Event{#i;constructor(e,r){s.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,r);e=s.converters.DOMString(e);r=s.converters.ErrorEventInit(r??{});this.#i=r}get message(){s.brandCheck(this,ErrorEvent);return this.#i.message}get filename(){s.brandCheck(this,ErrorEvent);return this.#i.filename}get lineno(){s.brandCheck(this,ErrorEvent);return this.#i.lineno}get colno(){s.brandCheck(this,ErrorEvent);return this.#i.colno}get error(){s.brandCheck(this,ErrorEvent);return this.#i.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:i,origin:i,lastEventId:i,source:i,ports:i,initMessageEvent:i});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:i,code:i,wasClean:i});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:i,filename:i,lineno:i,colno:i,error:i});s.converters.MessagePort=s.interfaceConverter(o);s.converters["sequence"]=s.sequenceConverter(s.converters.MessagePort);const c=[{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}];s.converters.MessageEventInit=s.dictionaryConverter([...c,{key:"data",converter:s.converters.any,defaultValue:null},{key:"origin",converter:s.converters.USVString,defaultValue:""},{key:"lastEventId",converter:s.converters.DOMString,defaultValue:""},{key:"source",converter:s.nullableConverter(s.converters.MessagePort),defaultValue:null},{key:"ports",converter:s.converters["sequence"],get defaultValue(){return[]}}]);s.converters.CloseEventInit=s.dictionaryConverter([...c,{key:"wasClean",converter:s.converters.boolean,defaultValue:false},{key:"code",converter:s.converters["unsigned short"],defaultValue:0},{key:"reason",converter:s.converters.USVString,defaultValue:""}]);s.converters.ErrorEventInit=s.dictionaryConverter([...c,{key:"message",converter:s.converters.DOMString,defaultValue:""},{key:"filename",converter:s.converters.USVString,defaultValue:""},{key:"lineno",converter:s.converters["unsigned long"],defaultValue:0},{key:"colno",converter:s.converters["unsigned long"],defaultValue:0},{key:"error",converter:s.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},31237:(e,r,n)=>{const{maxUnsigned16Bit:s}=n(45913);let i;try{i=n(76982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=i.randomBytes(4)}createFrame(e){const r=this.frameData?.byteLength??0;let n=r;let i=6;if(r>s){i+=8;n=127}else if(r>125){i+=2;n=126}const o=Buffer.allocUnsafe(r+i);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+e;
+/*! ws. MIT License. Einar Otto Stangvik  */o[i-4]=this.maskKey[0];o[i-3]=this.maskKey[1];o[i-2]=this.maskKey[2];o[i-1]=this.maskKey[3];o[1]=n;if(n===126){o.writeUInt16BE(r,2)}else if(n===127){o[2]=o[3]=0;o.writeUIntBE(r,4,6)}o[1]|=128;for(let e=0;e{const{Writable:s}=n(2203);const i=n(31637);const{parserStates:o,opcodes:c,states:u,emptyBuffer:d}=n(45913);const{kReadyState:A,kSentClose:h,kResponse:g,kReceivedClose:m}=n(62933);const{isValidStatusCode:y,failWebsocketConnection:E,websocketMessageReceived:_}=n(3574);const{WebsocketFrameSend:b}=n(31237);const I={};I.ping=i.channel("undici:websocket:ping");I.pong=i.channel("undici:websocket:pong");class ByteParser extends s{#o=[];#a=0;#c=o.INFO;#l={};#u=[];constructor(e){super();this.ws=e}_write(e,r,n){this.#o.push(e);this.#a+=e.length;this.run(n)}run(e){while(true){if(this.#c===o.INFO){if(this.#a<2){return e()}const r=this.consume(2);this.#l.fin=(r[0]&128)!==0;this.#l.opcode=r[0]&15;this.#l.originalOpcode??=this.#l.opcode;this.#l.fragmented=!this.#l.fin&&this.#l.opcode!==c.CONTINUATION;if(this.#l.fragmented&&this.#l.opcode!==c.BINARY&&this.#l.opcode!==c.TEXT){E(this.ws,"Invalid frame type was fragmented.");return}const n=r[1]&127;if(n<=125){this.#l.payloadLength=n;this.#c=o.READ_DATA}else if(n===126){this.#c=o.PAYLOADLENGTH_16}else if(n===127){this.#c=o.PAYLOADLENGTH_64}if(this.#l.fragmented&&n>125){E(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#l.opcode===c.PING||this.#l.opcode===c.PONG||this.#l.opcode===c.CLOSE)&&n>125){E(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#l.opcode===c.CLOSE){if(n===1){E(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(n);this.#l.closeInfo=this.parseCloseBody(false,e);if(!this.ws[h]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#l.closeInfo.code,0);const r=new b(e);this.ws[g].socket.write(r.createFrame(c.CLOSE),(e=>{if(!e){this.ws[h]=true}}))}this.ws[A]=u.CLOSING;this.ws[m]=true;this.end();return}else if(this.#l.opcode===c.PING){const r=this.consume(n);if(!this.ws[m]){const e=new b(r);this.ws[g].socket.write(e.createFrame(c.PONG));if(I.ping.hasSubscribers){I.ping.publish({payload:r})}}this.#c=o.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#l.opcode===c.PONG){const r=this.consume(n);if(I.pong.hasSubscribers){I.pong.publish({payload:r})}if(this.#a>0){continue}else{e();return}}}else if(this.#c===o.PAYLOADLENGTH_16){if(this.#a<2){return e()}const r=this.consume(2);this.#l.payloadLength=r.readUInt16BE(0);this.#c=o.READ_DATA}else if(this.#c===o.PAYLOADLENGTH_64){if(this.#a<8){return e()}const r=this.consume(8);const n=r.readUInt32BE(0);if(n>2**31-1){E(this.ws,"Received payload length > 2^31 bytes.");return}const s=r.readUInt32BE(4);this.#l.payloadLength=(n<<8)+s;this.#c=o.READ_DATA}else if(this.#c===o.READ_DATA){if(this.#a=this.#l.payloadLength){const e=this.consume(this.#l.payloadLength);this.#u.push(e);if(!this.#l.fragmented||this.#l.fin&&this.#l.opcode===c.CONTINUATION){const e=Buffer.concat(this.#u);_(this.ws,this.#l.originalOpcode,e);this.#l={};this.#u.length=0}this.#c=o.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return d}if(this.#o[0].length===e){this.#a-=this.#o[0].length;return this.#o.shift()}const r=Buffer.allocUnsafe(e);let n=0;while(n!==e){const s=this.#o[0];const{length:i}=s;if(i+n===e){r.set(this.#o.shift(),n);break}else if(i+n>e){r.set(s.subarray(0,e-n),n);this.#o[0]=s.subarray(e-n);break}else{r.set(this.#o.shift(),n);n+=s.length}}this.#a-=e;return r}parseCloseBody(e,r){let n;if(r.length>=2){n=r.readUInt16BE(0)}if(e){if(!y(n)){return null}return{code:n}}let s=r.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(n!==undefined&&!y(n)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:n,reason:s}}get closingInfo(){return this.#l.closeInfo}}e.exports={ByteParser:ByteParser}},62933:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(e,r,n)=>{const{kReadyState:s,kController:i,kResponse:o,kBinaryType:c,kWebSocketURL:u}=n(62933);const{states:d,opcodes:A}=n(45913);const{MessageEvent:h,ErrorEvent:g}=n(46255);function isEstablished(e){return e[s]===d.OPEN}function isClosing(e){return e[s]===d.CLOSING}function isClosed(e){return e[s]===d.CLOSED}function fireEvent(e,r,n=Event,s){const i=new n(e,s);r.dispatchEvent(i)}function websocketMessageReceived(e,r,n){if(e[s]!==d.OPEN){return}let i;if(r===A.TEXT){try{i=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(r===A.BINARY){if(e[c]==="blob"){i=new Blob([n])}else{i=new Uint8Array(n).buffer}}fireEvent("message",e,h,{origin:e[u].origin,data:i})}function isValidSubprotocol(e){if(e.length===0){return false}for(const r of e){const e=r.charCodeAt(0);if(e<33||e>126||r==="("||r===")"||r==="<"||r===">"||r==="@"||r===","||r===";"||r===":"||r==="\\"||r==='"'||r==="/"||r==="["||r==="]"||r==="?"||r==="="||r==="{"||r==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,r){const{[i]:n,[o]:s}=e;n.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(r){fireEvent("error",e,g,{error:new Error(r)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},55171:(e,r,n)=>{const{webidl:s}=n(74222);const{DOMException:i}=n(87326);const{URLSerializer:o}=n(94322);const{getGlobalOrigin:c}=n(75628);const{staticPropertyDescriptors:u,states:d,opcodes:A,emptyBuffer:h}=n(45913);const{kWebSocketURL:g,kReadyState:m,kController:y,kBinaryType:E,kResponse:_,kSentClose:b,kByteParser:I}=n(62933);const{isEstablished:v,isClosing:C,isValidSubprotocol:w,failWebsocketConnection:B,fireEvent:S}=n(3574);const{establishWebSocketConnection:T}=n(68550);const{WebsocketFrameSend:k}=n(31237);const{ByteParser:R}=n(43171);const{kEnumerableProperty:Q,isBlobLike:P}=n(3440);const{getGlobalDispatcher:O}=n(32581);const{types:D}=n(39023);let F=false;class WebSocket extends EventTarget{#d={open:null,error:null,close:null,message:null};#p=0;#f="";#A="";constructor(e,r=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!F){F=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const n=s.converters["DOMString or sequence or WebSocketInit"](r);e=s.converters.USVString(e);r=n.protocols;const o=c();let u;try{u=new URL(e,o)}catch(e){throw new i(e,"SyntaxError")}if(u.protocol==="http:"){u.protocol="ws:"}else if(u.protocol==="https:"){u.protocol="wss:"}if(u.protocol!=="ws:"&&u.protocol!=="wss:"){throw new i(`Expected a ws: or wss: protocol, got ${u.protocol}`,"SyntaxError")}if(u.hash||u.href.endsWith("#")){throw new i("Got fragment","SyntaxError")}if(typeof r==="string"){r=[r]}if(r.length!==new Set(r.map((e=>e.toLowerCase()))).size){throw new i("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(r.length>0&&!r.every((e=>w(e)))){throw new i("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[g]=new URL(u.href);this[y]=T(u,r,this,(e=>this.#h(e)),n);this[m]=WebSocket.CONNECTING;this[E]="blob"}close(e=undefined,r=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(r!==undefined){r=s.converters.USVString(r)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new i("invalid code","InvalidAccessError")}}let n=0;if(r!==undefined){n=Buffer.byteLength(r);if(n>123){throw new i(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}}if(this[m]===WebSocket.CLOSING||this[m]===WebSocket.CLOSED){}else if(!v(this)){B(this,"Connection was closed before it was established.");this[m]=WebSocket.CLOSING}else if(!C(this)){const s=new k;if(e!==undefined&&r===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&r!==undefined){s.frameData=Buffer.allocUnsafe(2+n);s.frameData.writeUInt16BE(e,0);s.frameData.write(r,2,"utf-8")}else{s.frameData=h}const i=this[_].socket;i.write(s.createFrame(A.CLOSE),(e=>{if(!e){this[b]=true}}));this[m]=d.CLOSING}else{this[m]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[m]===WebSocket.CONNECTING){throw new i("Sent before connected.","InvalidStateError")}if(!v(this)||C(this)){return}const r=this[_].socket;if(typeof e==="string"){const n=Buffer.from(e);const s=new k(n);const i=s.createFrame(A.TEXT);this.#p+=n.byteLength;r.write(i,(()=>{this.#p-=n.byteLength}))}else if(D.isArrayBuffer(e)){const n=Buffer.from(e);const s=new k(n);const i=s.createFrame(A.BINARY);this.#p+=n.byteLength;r.write(i,(()=>{this.#p-=n.byteLength}))}else if(ArrayBuffer.isView(e)){const n=Buffer.from(e,e.byteOffset,e.byteLength);const s=new k(n);const i=s.createFrame(A.BINARY);this.#p+=n.byteLength;r.write(i,(()=>{this.#p-=n.byteLength}))}else if(P(e)){const n=new k;e.arrayBuffer().then((e=>{const s=Buffer.from(e);n.frameData=s;const i=n.createFrame(A.BINARY);this.#p+=s.byteLength;r.write(i,(()=>{this.#p-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[m]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#p}get url(){s.brandCheck(this,WebSocket);return o(this[g])}get extensions(){s.brandCheck(this,WebSocket);return this.#A}get protocol(){s.brandCheck(this,WebSocket);return this.#f}get onopen(){s.brandCheck(this,WebSocket);return this.#d.open}set onopen(e){s.brandCheck(this,WebSocket);if(this.#d.open){this.removeEventListener("open",this.#d.open)}if(typeof e==="function"){this.#d.open=e;this.addEventListener("open",e)}else{this.#d.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#d.error}set onerror(e){s.brandCheck(this,WebSocket);if(this.#d.error){this.removeEventListener("error",this.#d.error)}if(typeof e==="function"){this.#d.error=e;this.addEventListener("error",e)}else{this.#d.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#d.close}set onclose(e){s.brandCheck(this,WebSocket);if(this.#d.close){this.removeEventListener("close",this.#d.close)}if(typeof e==="function"){this.#d.close=e;this.addEventListener("close",e)}else{this.#d.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#d.message}set onmessage(e){s.brandCheck(this,WebSocket);if(this.#d.message){this.removeEventListener("message",this.#d.message)}if(typeof e==="function"){this.#d.message=e;this.addEventListener("message",e)}else{this.#d.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[E]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[E]="blob"}else{this[E]=e}}#h(e){this[_]=e;const r=new R(this);r.on("drain",(function onParserDrain(){this.ws[_].socket.resume()}));e.socket.ws=this;this[I]=r;this[m]=d.OPEN;const n=e.headersList.get("sec-websocket-extensions");if(n!==null){this.#A=n}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#f=s}S("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=d.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=d.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=d.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=d.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:u,OPEN:u,CLOSING:u,CLOSED:u,url:Q,readyState:Q,bufferedAmount:Q,onopen:Q,onerror:Q,onclose:Q,close:Q,onmessage:Q,binaryType:Q,send:Q,extensions:Q,protocol:Q,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:u,OPEN:u,CLOSING:u,CLOSED:u});s.converters["sequence"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return O()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(P(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||D.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},37531:e=>{function isValidUTF8(e){const r=e.length;let n=0;while(n=r||(e[n+1]&192)!==128||(e[n+2]&192)!==128||e[n]===224&&(e[n+1]&224)===128||e[n]===237&&(e[n+1]&224)===160){return false}n+=3}else if((e[n]&248)===240){if(n+3>=r||(e[n+1]&192)!==128||(e[n+2]&192)!==128||(e[n+3]&192)!==128||e[n]===240&&(e[n+1]&240)===128||e[n]===244&&e[n+1]>143||e[n]>244){return false}n+=4}else{return false}}return true}e.exports=isValidUTF8},40397:(e,r,n)=>{try{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)(n.ab+"prebuilds/linux-x64/node.napi1.node")}catch(r){e.exports=n(37531)}},12048:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"v1",{enumerable:true,get:function(){return s.default}});Object.defineProperty(r,"v3",{enumerable:true,get:function(){return i.default}});Object.defineProperty(r,"v4",{enumerable:true,get:function(){return o.default}});Object.defineProperty(r,"v5",{enumerable:true,get:function(){return c.default}});Object.defineProperty(r,"NIL",{enumerable:true,get:function(){return u.default}});Object.defineProperty(r,"version",{enumerable:true,get:function(){return d.default}});Object.defineProperty(r,"validate",{enumerable:true,get:function(){return A.default}});Object.defineProperty(r,"stringify",{enumerable:true,get:function(){return h.default}});Object.defineProperty(r,"parse",{enumerable:true,get:function(){return g.default}});var s=_interopRequireDefault(n(6415));var i=_interopRequireDefault(n(51697));var o=_interopRequireDefault(n(4676));var c=_interopRequireDefault(n(69771));var u=_interopRequireDefault(n(37723));var d=_interopRequireDefault(n(15868));var A=_interopRequireDefault(n(36200));var h=_interopRequireDefault(n(37597));var g=_interopRequireDefault(n(17267));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},10216:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(76982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("md5").update(e).digest()}var i=md5;r["default"]=i},37723:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var n="00000000-0000-0000-0000-000000000000";r["default"]=n},17267:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(36200));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}let r;const n=new Uint8Array(16);n[0]=(r=parseInt(e.slice(0,8),16))>>>24;n[1]=r>>>16&255;n[2]=r>>>8&255;n[3]=r&255;n[4]=(r=parseInt(e.slice(9,13),16))>>>8;n[5]=r&255;n[6]=(r=parseInt(e.slice(14,18),16))>>>8;n[7]=r&255;n[8]=(r=parseInt(e.slice(19,23),16))>>>8;n[9]=r&255;n[10]=(r=parseInt(e.slice(24,36),16))/1099511627776&255;n[11]=r/4294967296&255;n[12]=r>>>24&255;n[13]=r>>>16&255;n[14]=r>>>8&255;n[15]=r&255;return n}var i=parse;r["default"]=i},67879:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;r["default"]=n},12973:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=rng;var s=_interopRequireDefault(n(76982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=new Uint8Array(256);let o=i.length;function rng(){if(o>i.length-16){s.default.randomFillSync(i);o=0}return i.slice(o,o+=16)}},507:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(76982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("sha1").update(e).digest()}var i=sha1;r["default"]=i},37597:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(36200));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=[];for(let e=0;e<256;++e){i.push((e+256).toString(16).substr(1))}function stringify(e,r=0){const n=(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase();if(!(0,s.default)(n)){throw TypeError("Stringified UUID is invalid")}return n}var o=stringify;r["default"]=o},6415:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(12973));var i=_interopRequireDefault(n(37597));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let o;let c;let u=0;let d=0;function v1(e,r,n){let A=r&&n||0;const h=r||new Array(16);e=e||{};let g=e.node||o;let m=e.clockseq!==undefined?e.clockseq:c;if(g==null||m==null){const r=e.random||(e.rng||s.default)();if(g==null){g=o=[r[0]|1,r[1],r[2],r[3],r[4],r[5]]}if(m==null){m=c=(r[6]<<8|r[7])&16383}}let y=e.msecs!==undefined?e.msecs:Date.now();let E=e.nsecs!==undefined?e.nsecs:d+1;const _=y-u+(E-d)/1e4;if(_<0&&e.clockseq===undefined){m=m+1&16383}if((_<0||y>u)&&e.nsecs===undefined){E=0}if(E>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}u=y;d=E;c=m;y+=122192928e5;const b=((y&268435455)*1e4+E)%4294967296;h[A++]=b>>>24&255;h[A++]=b>>>16&255;h[A++]=b>>>8&255;h[A++]=b&255;const I=y/4294967296*1e4&268435455;h[A++]=I>>>8&255;h[A++]=I&255;h[A++]=I>>>24&15|16;h[A++]=I>>>16&255;h[A++]=m>>>8|128;h[A++]=m&255;for(let e=0;e<6;++e){h[A+e]=g[e]}return r||(0,i.default)(h)}var A=v1;r["default"]=A},51697:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(92930));var i=_interopRequireDefault(n(10216));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v3",48,i.default);var c=o;r["default"]=c},92930:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;r.URL=r.DNS=void 0;var s=_interopRequireDefault(n(37597));var i=_interopRequireDefault(n(17267));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const r=[];for(let n=0;n{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(12973));var i=_interopRequireDefault(n(37597));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,r,n){e=e||{};const o=e.random||(e.rng||s.default)();o[6]=o[6]&15|64;o[8]=o[8]&63|128;if(r){n=n||0;for(let e=0;e<16;++e){r[n+e]=o[e]}return r}return(0,i.default)(o)}var o=v4;r["default"]=o},69771:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(92930));var i=_interopRequireDefault(n(507));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v5",80,i.default);var c=o;r["default"]=c},36200:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(67879));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&s.default.test(e)}var i=validate;r["default"]=i},15868:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=_interopRequireDefault(n(36200));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var i=version;r["default"]=i},37125:e=>{var r={};e.exports=r;function sign(e){return e<0?-1:1}function evenRound(e){if(e%1===.5&&(e&1)===0){return Math.floor(e)}else{return Math.round(e)}}function createNumberConversion(e,r){if(!r.unsigned){--e}const n=r.unsigned?0:-Math.pow(2,e);const s=Math.pow(2,e)-1;const i=r.moduloBitLength?Math.pow(2,r.moduloBitLength):Math.pow(2,e);const o=r.moduloBitLength?Math.pow(2,r.moduloBitLength-1):Math.pow(2,e-1);return function(e,c){if(!c)c={};let u=+e;if(c.enforceRange){if(!Number.isFinite(u)){throw new TypeError("Argument is not a finite number")}u=sign(u)*Math.floor(Math.abs(u));if(us){throw new TypeError("Argument is not in byte range")}return u}if(!isNaN(u)&&c.clamp){u=evenRound(u);if(us)u=s;return u}if(!Number.isFinite(u)||u===0){return 0}u=sign(u)*Math.floor(Math.abs(u));u=u%i;if(!r.unsigned&&u>=o){return u-i}else if(r.unsigned){if(u<0){u+=i}else if(u===-0){return 0}}return u}}r["void"]=function(){return undefined};r["boolean"]=function(e){return!!e};r["byte"]=createNumberConversion(8,{unsigned:false});r["octet"]=createNumberConversion(8,{unsigned:true});r["short"]=createNumberConversion(16,{unsigned:false});r["unsigned short"]=createNumberConversion(16,{unsigned:true});r["long"]=createNumberConversion(32,{unsigned:false});r["unsigned long"]=createNumberConversion(32,{unsigned:true});r["long long"]=createNumberConversion(32,{unsigned:false,moduloBitLength:64});r["unsigned long long"]=createNumberConversion(32,{unsigned:true,moduloBitLength:64});r["double"]=function(e){const r=+e;if(!Number.isFinite(r)){throw new TypeError("Argument is not a finite floating-point value")}return r};r["unrestricted double"]=function(e){const r=+e;if(isNaN(r)){throw new TypeError("Argument is NaN")}return r};r["float"]=r["double"];r["unrestricted float"]=r["unrestricted double"];r["DOMString"]=function(e,r){if(!r)r={};if(r.treatNullAsEmptyString&&e===null){return""}return String(e)};r["ByteString"]=function(e,r){const n=String(e);let s=undefined;for(let e=0;(s=n.codePointAt(e))!==undefined;++e){if(s>255){throw new TypeError("Argument is not a valid bytestring")}}return n};r["USVString"]=function(e){const r=String(e);const n=r.length;const s=[];for(let e=0;e57343){s.push(String.fromCodePoint(i))}else if(56320<=i&&i<=57343){s.push(String.fromCodePoint(65533))}else{if(e===n-1){s.push(String.fromCodePoint(65533))}else{const n=r.charCodeAt(e+1);if(56320<=n&&n<=57343){const r=i&1023;const o=n&1023;s.push(String.fromCodePoint((2<<15)+(2<<9)*r+o));++e}else{s.push(String.fromCodePoint(65533))}}}}return s.join("")};r["Date"]=function(e,r){if(!(e instanceof Date)){throw new TypeError("Argument is not a Date object")}if(isNaN(e)){return undefined}return e};r["RegExp"]=function(e,r){if(!(e instanceof RegExp)){e=new RegExp(e)}return e}},29751:(e,r,n)=>{e.exports=n(65064)},80893:e=>{var r={disableWarnings:false,deprecationWarningMap:{},warn:function(e){if(!this.disableWarnings&&this.deprecationWarningMap[e]){console.warn("DEPRECATION WARNING: "+this.deprecationWarningMap[e]);this.deprecationWarningMap[e]=false}}};e.exports=r},85601:(e,r,n)=>{var s=n(57643);var i=n(4618);var o=n(73546);const c=0;const u=1;const d=2;const A=3;e.exports=W3CWebSocket;function W3CWebSocket(e,r,n,i,u,d){o.EventTarget.call(this);d=d||{};d.assembleFragments=true;var A=this;this._url=e;this._readyState=c;this._protocol=undefined;this._extensions="";this._bufferedAmount=0;this._binaryType="arraybuffer";this._connection=undefined;this._client=new s(d);this._client.on("connect",(function(e){onConnect.call(A,e)}));this._client.on("connectFailed",(function(){onConnectFailed.call(A)}));this._client.connect(e,r,n,i,u)}Object.defineProperties(W3CWebSocket.prototype,{url:{get:function(){return this._url}},readyState:{get:function(){return this._readyState}},protocol:{get:function(){return this._protocol}},extensions:{get:function(){return this._extensions}},bufferedAmount:{get:function(){return this._bufferedAmount}}});Object.defineProperties(W3CWebSocket.prototype,{binaryType:{get:function(){return this._binaryType},set:function(e){if(e!=="arraybuffer"){throw new SyntaxError('just "arraybuffer" type allowed for "binaryType" attribute')}this._binaryType=e}}});[["CONNECTING",c],["OPEN",u],["CLOSING",d],["CLOSED",A]].forEach((function(e){Object.defineProperty(W3CWebSocket.prototype,e[0],{get:function(){return e[1]}})}));[["CONNECTING",c],["OPEN",u],["CLOSING",d],["CLOSED",A]].forEach((function(e){Object.defineProperty(W3CWebSocket,e[0],{get:function(){return e[1]}})}));W3CWebSocket.prototype.send=function(e){if(this._readyState!==u){throw new Error("cannot call send() while not connected")}if(typeof e==="string"||e instanceof String){this._connection.sendUTF(e)}else{if(e instanceof Buffer){this._connection.sendBytes(e)}else if(e.byteLength||e.byteLength===0){e=i(e);this._connection.sendBytes(e)}else{throw new Error("unknown binary data:",e)}}};W3CWebSocket.prototype.close=function(e,r){switch(this._readyState){case c:onConnectFailed.call(this);this._client.on("connect",(function(n){if(e){n.close(e,r)}else{n.close()}}));break;case u:this._readyState=d;if(e){this._connection.close(e,r)}else{this._connection.close()}break;case d:case A:break}};function createCloseEvent(e,r){var n=new o.Event("close");n.code=e;n.reason=r;n.wasClean=typeof e==="undefined"||e===1e3;return n}function createMessageEvent(e){var r=new o.Event("message");r.data=e;return r}function onConnect(e){var r=this;this._readyState=u;this._connection=e;this._protocol=e.protocol;this._extensions=e.extensions;this._connection.on("close",(function(e,n){onClose.call(r,e,n)}));this._connection.on("message",(function(e){onMessage.call(r,e)}));this.dispatchEvent(new o.Event("open"))}function onConnectFailed(){destroy.call(this);this._readyState=A;try{this.dispatchEvent(new o.Event("error"))}finally{this.dispatchEvent(createCloseEvent(1006,"connection failed"))}}function onClose(e,r){destroy.call(this);this._readyState=A;this.dispatchEvent(createCloseEvent(e,r||""))}function onMessage(e){if(e.utf8Data){this.dispatchEvent(createMessageEvent(e.utf8Data))}else if(e.binaryData){if(this.binaryType==="arraybuffer"){var r=e.binaryData;var n=new ArrayBuffer(r.length);var s=new Uint8Array(n);for(var i=0,o=r.length;i{var s=n(4402);var i=s.extend;var o=n(39023);var c=n(24434).EventEmitter;var u=n(58611);var d=n(65692);var A=n(87016);var h=n(76982);var g=n(86304);var m=s.bufferAllocUnsafe;var y=["(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"," ",String.fromCharCode(9)];var E=["hostname","port","method","path","headers"];function WebSocketClient(e){c.call(this);this.config={maxReceivedFrameSize:1048576,maxReceivedMessageSize:8388608,fragmentOutgoingMessages:true,fragmentationThreshold:16384,webSocketVersion:13,assembleFragments:true,disableNagleAlgorithm:true,closeTimeout:5e3,tlsOptions:{}};if(e){var r;if(e.tlsOptions){r=e.tlsOptions;delete e.tlsOptions}else{r={}}i(this.config,e);i(this.config.tlsOptions,r)}this._req=null;switch(this.config.webSocketVersion){case 8:case 13:break;default:throw new Error("Requested webSocketVersion is not supported. Allowed values are 8 and 13.")}}o.inherits(WebSocketClient,c);WebSocketClient.prototype.connect=function(e,r,n,o,c){var h=this;if(typeof r==="string"){if(r.length>0){r=[r]}else{r=[]}}if(!(r instanceof Array)){r=[]}this.protocols=r;this.origin=n;if(typeof e==="string"){this.url=A.parse(e)}else{this.url=e}if(!this.url.protocol){throw new Error("You must specify a full WebSocket URL, including protocol.")}if(!this.url.host){throw new Error("You must specify a full WebSocket URL, including hostname. Relative URLs are not supported.")}this.secure=this.url.protocol==="wss:";this.protocols.forEach((function(e){for(var r=0;r126||y.indexOf(s)!==-1){throw new Error('Protocol list contains invalid character "'+String.fromCharCode(n)+'"')}}}));var g={"ws:":"80","wss:":"443"};if(!this.url.port){this.url.port=g[this.url.protocol]}var _=m(16);for(var b=0;b<16;b++){_[b]=Math.round(Math.random()*255)}this.base64nonce=_.toString("base64");var I=this.url.hostname;if(this.url.protocol==="ws:"&&this.url.port!=="80"||this.url.protocol==="wss:"&&this.url.port!=="443"){I+=":"+this.url.port}var v={};if(this.secure&&this.config.tlsOptions.hasOwnProperty("headers")){i(v,this.config.tlsOptions.headers)}if(o){i(v,o)}i(v,{Upgrade:"websocket",Connection:"Upgrade","Sec-WebSocket-Version":this.config.webSocketVersion.toString(10),"Sec-WebSocket-Key":this.base64nonce,Host:v.Host||I});if(this.protocols.length>0){v["Sec-WebSocket-Protocol"]=this.protocols.join(", ")}if(this.origin){if(this.config.webSocketVersion===13){v["Origin"]=this.origin}else if(this.config.webSocketVersion===8){v["Sec-WebSocket-Origin"]=this.origin}}var C;if(this.url.pathname){C=this.url.path}else if(this.url.path){C="/"+this.url.path}else{C="/"}function handleRequestError(e){h._req=null;h.emit("connectFailed",e)}var w={agent:false};if(c){i(w,c)}i(w,{hostname:this.url.hostname,port:this.url.port,method:"GET",path:C,headers:v});if(this.secure){var B=this.config.tlsOptions;for(var S in B){if(B.hasOwnProperty(S)&&E.indexOf(S)===-1){w[S]=B[S]}}}var T=this._req=(this.secure?d:u).request(w);T.on("upgrade",(function handleRequestUpgrade(e,r,n){h._req=null;T.removeListener("error",handleRequestError);h.socket=r;h.response=e;h.firstDataChunk=n;h.validateHandshake()}));T.on("error",handleRequestError);T.on("response",(function(e){h._req=null;if(s.eventEmitterListenerCount(h,"httpResponse")>0){h.emit("httpResponse",e,h);if(e.socket){e.socket.end()}}else{var r=[];for(var n in e.headers){r.push(n+": "+e.headers[n])}h.failHandshake("Server responded with a non-101 status: "+e.statusCode+" "+e.statusMessage+"\nResponse Headers Follow:\n"+r.join("\n")+"\n")}}));T.end()};WebSocketClient.prototype.validateHandshake=function(){var e=this.response.headers;if(this.protocols.length>0){this.protocol=e["sec-websocket-protocol"];if(this.protocol){if(this.protocols.indexOf(this.protocol)===-1){this.failHandshake("Server did not respond with a requested protocol.");return}}else{this.failHandshake("Expected a Sec-WebSocket-Protocol header.");return}}if(!(e["connection"]&&e["connection"].toLocaleLowerCase()==="upgrade")){this.failHandshake("Expected a Connection: Upgrade header from the server");return}if(!(e["upgrade"]&&e["upgrade"].toLocaleLowerCase()==="websocket")){this.failHandshake("Expected an Upgrade: websocket header from the server");return}var r=h.createHash("sha1");r.update(this.base64nonce+"258EAFA5-E914-47DA-95CA-C5AB0DC85B11");var n=r.digest("base64");if(!e["sec-websocket-accept"]){this.failHandshake("Expected Sec-WebSocket-Accept header from server");return}if(e["sec-websocket-accept"]!==n){this.failHandshake("Sec-WebSocket-Accept header from server didn't match expected value of "+n);return}this.succeedHandshake()};WebSocketClient.prototype.failHandshake=function(e){if(this.socket&&this.socket.writable){this.socket.end()}this.emit("connectFailed",new Error(e))};WebSocketClient.prototype.succeedHandshake=function(){var e=new g(this.socket,[],this.protocol,true,this.config);e.webSocketVersion=this.config.webSocketVersion;e._addSocketEventListeners();this.emit("connect",e);if(this.firstDataChunk.length>0){e.handleSocketData(this.firstDataChunk)}this.firstDataChunk=null};WebSocketClient.prototype.abort=function(){if(this._req){this._req.abort()}};e.exports=WebSocketClient},86304:(e,r,n)=>{var s=n(39023);var i=n(4402);var o=n(24434).EventEmitter;var c=n(84087);var u=n(91308);var d=n(40397);var A=i.bufferAllocUnsafe;var h=i.bufferFromString;const g="open";const m="peer_requested_close";const y="ending";const E="closed";var _="setImmediate"in global?global.setImmediate.bind(global):process.nextTick.bind(process);var b=0;function WebSocketConnection(e,r,n,s,d){this._debug=i.BufferingLogger("websocket:connection",++b);this._debug("constructor");if(this._debug.enabled){instrumentSocketForDebugging(this,e)}o.call(this);this._pingListenerCount=0;this.on("newListener",(function(e){if(e==="ping"){this._pingListenerCount++}})).on("removeListener",(function(e){if(e==="ping"){this._pingListenerCount--}}));this.config=d;this.socket=e;this.protocol=n;this.extensions=r;this.remoteAddress=e.remoteAddress;this.closeReasonCode=-1;this.closeDescription=null;this.closeEventEmitted=false;this.maskOutgoingPackets=s;this.maskBytes=A(4);this.frameHeader=A(10);this.bufferList=new u;this.currentFrame=new c(this.maskBytes,this.frameHeader,this.config);this.fragmentationSize=0;this.frameQueue=[];this.connected=true;this.state=g;this.waitingForCloseResponse=false;this.receivedEnd=false;this.closeTimeout=this.config.closeTimeout;this.assembleFragments=this.config.assembleFragments;this.maxReceivedMessageSize=this.config.maxReceivedMessageSize;this.outputBufferFull=false;this.inputPaused=false;this.receivedDataHandler=this.processReceivedData.bind(this);this._closeTimerHandler=this.handleCloseTimer.bind(this);this.socket.setNoDelay(this.config.disableNagleAlgorithm);this.socket.setTimeout(0);if(this.config.keepalive&&!this.config.useNativeKeepalive){if(typeof this.config.keepaliveInterval!=="number"){throw new Error("keepaliveInterval must be specified and numeric "+"if keepalive is true.")}this._keepaliveTimerHandler=this.handleKeepaliveTimer.bind(this);this.setKeepaliveTimer();if(this.config.dropConnectionOnKeepaliveTimeout){if(typeof this.config.keepaliveGracePeriod!=="number"){throw new Error("keepaliveGracePeriod  must be specified and "+"numeric if dropConnectionOnKeepaliveTimeout "+"is true.")}this._gracePeriodTimerHandler=this.handleGracePeriodTimer.bind(this)}}else if(this.config.keepalive&&this.config.useNativeKeepalive){if(!("setKeepAlive"in this.socket)){throw new Error("Unable to use native keepalive: unsupported by "+"this version of Node.")}this.socket.setKeepAlive(true,this.config.keepaliveInterval)}this.socket.removeAllListeners("error")}WebSocketConnection.CLOSE_REASON_NORMAL=1e3;WebSocketConnection.CLOSE_REASON_GOING_AWAY=1001;WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR=1002;WebSocketConnection.CLOSE_REASON_UNPROCESSABLE_INPUT=1003;WebSocketConnection.CLOSE_REASON_RESERVED=1004;WebSocketConnection.CLOSE_REASON_NOT_PROVIDED=1005;WebSocketConnection.CLOSE_REASON_ABNORMAL=1006;WebSocketConnection.CLOSE_REASON_INVALID_DATA=1007;WebSocketConnection.CLOSE_REASON_POLICY_VIOLATION=1008;WebSocketConnection.CLOSE_REASON_MESSAGE_TOO_BIG=1009;WebSocketConnection.CLOSE_REASON_EXTENSION_REQUIRED=1010;WebSocketConnection.CLOSE_REASON_INTERNAL_SERVER_ERROR=1011;WebSocketConnection.CLOSE_REASON_TLS_HANDSHAKE_FAILED=1015;WebSocketConnection.CLOSE_DESCRIPTIONS={1e3:"Normal connection closure",1001:"Remote peer is going away",1002:"Protocol error",1003:"Unprocessable input",1004:"Reserved",1005:"Reason not provided",1006:"Abnormal closure, no further detail available",1007:"Invalid data received",1008:"Policy violation",1009:"Message too big",1010:"Extension requested by client is required",1011:"Internal Server Error",1015:"TLS Handshake Failed"};function validateCloseReason(e){if(e<1e3){return false}if(e>=1e3&&e<=2999){return[1e3,1001,1002,1003,1007,1008,1009,1010,1011,1012,1013,1014,1015].indexOf(e)!==-1}if(e>=3e3&&e<=3999){return true}if(e>=4e3&&e<=4999){return true}if(e>=5e3){return false}}s.inherits(WebSocketConnection,o);WebSocketConnection.prototype._addSocketEventListeners=function(){this.socket.on("error",this.handleSocketError.bind(this));this.socket.on("end",this.handleSocketEnd.bind(this));this.socket.on("close",this.handleSocketClose.bind(this));this.socket.on("drain",this.handleSocketDrain.bind(this));this.socket.on("pause",this.handleSocketPause.bind(this));this.socket.on("resume",this.handleSocketResume.bind(this));this.socket.on("data",this.handleSocketData.bind(this))};WebSocketConnection.prototype.setKeepaliveTimer=function(){this._debug("setKeepaliveTimer");if(!this.config.keepalive||this.config.useNativeKeepalive){return}this.clearKeepaliveTimer();this.clearGracePeriodTimer();this._keepaliveTimeoutID=setTimeout(this._keepaliveTimerHandler,this.config.keepaliveInterval)};WebSocketConnection.prototype.clearKeepaliveTimer=function(){if(this._keepaliveTimeoutID){clearTimeout(this._keepaliveTimeoutID)}};WebSocketConnection.prototype.handleKeepaliveTimer=function(){this._debug("handleKeepaliveTimer");this._keepaliveTimeoutID=null;this.ping();if(this.config.dropConnectionOnKeepaliveTimeout){this.setGracePeriodTimer()}else{this.setKeepaliveTimer()}};WebSocketConnection.prototype.setGracePeriodTimer=function(){this._debug("setGracePeriodTimer");this.clearGracePeriodTimer();this._gracePeriodTimeoutID=setTimeout(this._gracePeriodTimerHandler,this.config.keepaliveGracePeriod)};WebSocketConnection.prototype.clearGracePeriodTimer=function(){if(this._gracePeriodTimeoutID){clearTimeout(this._gracePeriodTimeoutID)}};WebSocketConnection.prototype.handleGracePeriodTimer=function(){this._debug("handleGracePeriodTimer");this._gracePeriodTimeoutID=null;this.drop(WebSocketConnection.CLOSE_REASON_ABNORMAL,"Peer not responding.",true)};WebSocketConnection.prototype.handleSocketData=function(e){this._debug("handleSocketData");this.setKeepaliveTimer();this.bufferList.write(e);this.processReceivedData()};WebSocketConnection.prototype.processReceivedData=function(){this._debug("processReceivedData");if(!this.connected){return}if(this.inputPaused){return}var e=this.currentFrame;if(!e.addData(this.bufferList)){this._debug("-- insufficient data for frame");return}var r=this;if(e.protocolError){this._debug("-- protocol error");process.nextTick((function(){r.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,e.dropReason)}));return}else if(e.frameTooLarge){this._debug("-- frame too large");process.nextTick((function(){r.drop(WebSocketConnection.CLOSE_REASON_MESSAGE_TOO_BIG,e.dropReason)}));return}if(e.rsv1||e.rsv2||e.rsv3){this._debug("-- illegal rsv flag");process.nextTick((function(){r.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,"Unsupported usage of rsv bits without negotiated extension.")}));return}if(!this.assembleFragments){this._debug("-- emitting frame");process.nextTick((function(){r.emit("frame",e)}))}process.nextTick((function(){r.processFrame(e)}));this.currentFrame=new c(this.maskBytes,this.frameHeader,this.config);if(this.bufferList.length>0){_(this.receivedDataHandler)}};WebSocketConnection.prototype.handleSocketError=function(e){this._debug("handleSocketError: %j",e);if(this.state===E){this._debug("  --- Socket 'error' after 'close'");return}this.closeReasonCode=WebSocketConnection.CLOSE_REASON_ABNORMAL;this.closeDescription="Socket Error: "+e.syscall+" "+e.code;this.connected=false;this.state=E;this.fragmentationSize=0;if(i.eventEmitterListenerCount(this,"error")>0){this.emit("error",e)}this.socket.destroy();this._debug.printOutput()};WebSocketConnection.prototype.handleSocketEnd=function(){this._debug("handleSocketEnd: received socket end.  state = %s",this.state);this.receivedEnd=true;if(this.state===E){this._debug("  --- Socket 'end' after 'close'");return}if(this.state!==m&&this.state!==y){this._debug("  --- UNEXPECTED socket end.");this.socket.end()}};WebSocketConnection.prototype.handleSocketClose=function(e){this._debug("handleSocketClose: received socket close");this.socketHadError=e;this.connected=false;this.state=E;if(this.closeReasonCode===-1){this.closeReasonCode=WebSocketConnection.CLOSE_REASON_ABNORMAL;this.closeDescription="Connection dropped by remote peer."}this.clearCloseTimer();this.clearKeepaliveTimer();this.clearGracePeriodTimer();if(!this.closeEventEmitted){this.closeEventEmitted=true;this._debug("-- Emitting WebSocketConnection close event");this.emit("close",this.closeReasonCode,this.closeDescription)}};WebSocketConnection.prototype.handleSocketDrain=function(){this._debug("handleSocketDrain: socket drain event");this.outputBufferFull=false;this.emit("drain")};WebSocketConnection.prototype.handleSocketPause=function(){this._debug("handleSocketPause: socket pause event");this.inputPaused=true;this.emit("pause")};WebSocketConnection.prototype.handleSocketResume=function(){this._debug("handleSocketResume: socket resume event");this.inputPaused=false;this.emit("resume");this.processReceivedData()};WebSocketConnection.prototype.pause=function(){this._debug("pause: pause requested");this.socket.pause()};WebSocketConnection.prototype.resume=function(){this._debug("resume: resume requested");this.socket.resume()};WebSocketConnection.prototype.close=function(e,r){if(this.connected){this._debug("close: Initating clean WebSocket close sequence.");if("number"!==typeof e){e=WebSocketConnection.CLOSE_REASON_NORMAL}if(!validateCloseReason(e)){throw new Error("Close code "+e+" is not valid.")}if("string"!==typeof r){r=WebSocketConnection.CLOSE_DESCRIPTIONS[e]}this.closeReasonCode=e;this.closeDescription=r;this.setCloseTimer();this.sendCloseFrame(this.closeReasonCode,this.closeDescription);this.state=y;this.connected=false}};WebSocketConnection.prototype.drop=function(e,r,n){this._debug("drop");if(typeof e!=="number"){e=WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR}if(typeof r!=="string"){r=WebSocketConnection.CLOSE_DESCRIPTIONS[e]}this._debug("Forcefully dropping connection. skipCloseFrame: %s, code: %d, description: %s",n,e,r);this.closeReasonCode=e;this.closeDescription=r;this.frameQueue=[];this.fragmentationSize=0;if(!n){this.sendCloseFrame(e,r)}this.connected=false;this.state=E;this.clearCloseTimer();this.clearKeepaliveTimer();this.clearGracePeriodTimer();if(!this.closeEventEmitted){this.closeEventEmitted=true;this._debug("Emitting WebSocketConnection close event");this.emit("close",this.closeReasonCode,this.closeDescription)}this._debug("Drop: destroying socket");this.socket.destroy()};WebSocketConnection.prototype.setCloseTimer=function(){this._debug("setCloseTimer");this.clearCloseTimer();this._debug("Setting close timer");this.waitingForCloseResponse=true;this.closeTimer=setTimeout(this._closeTimerHandler,this.closeTimeout)};WebSocketConnection.prototype.clearCloseTimer=function(){this._debug("clearCloseTimer");if(this.closeTimer){this._debug("Clearing close timer");clearTimeout(this.closeTimer);this.waitingForCloseResponse=false;this.closeTimer=null}};WebSocketConnection.prototype.handleCloseTimer=function(){this._debug("handleCloseTimer");this.closeTimer=null;if(this.waitingForCloseResponse){this._debug("Close response not received from client.  Forcing socket end.");this.waitingForCloseResponse=false;this.state=E;this.socket.end()}};WebSocketConnection.prototype.processFrame=function(e){this._debug("processFrame");this._debug(" -- frame: %s",e);if(this.frameQueue.length!==0&&(e.opcode>0&&e.opcode<8)){this.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,"Illegal frame opcode 0x"+e.opcode.toString(16)+" "+"received in middle of fragmented message.");return}switch(e.opcode){case 2:this._debug("-- Binary Frame");if(this.assembleFragments){if(e.fin){this._debug("---- Emitting 'message' event");this.emit("message",{type:"binary",binaryData:e.binaryPayload})}else{this.frameQueue.push(e);this.fragmentationSize=e.length}}break;case 1:this._debug("-- Text Frame");if(this.assembleFragments){if(e.fin){if(!d(e.binaryPayload)){this.drop(WebSocketConnection.CLOSE_REASON_INVALID_DATA,"Invalid UTF-8 Data Received");return}this._debug("---- Emitting 'message' event");this.emit("message",{type:"utf8",utf8Data:e.binaryPayload.toString("utf8")})}else{this.frameQueue.push(e);this.fragmentationSize=e.length}}break;case 0:this._debug("-- Continuation Frame");if(this.assembleFragments){if(this.frameQueue.length===0){this.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,"Unexpected Continuation Frame");return}this.fragmentationSize+=e.length;if(this.fragmentationSize>this.maxReceivedMessageSize){this.drop(WebSocketConnection.CLOSE_REASON_MESSAGE_TOO_BIG,"Maximum message size exceeded.");return}this.frameQueue.push(e);if(e.fin){var r=0;var n=A(this.fragmentationSize);var s=this.frameQueue[0].opcode;this.frameQueue.forEach((function(e){e.binaryPayload.copy(n,r);r+=e.binaryPayload.length}));this.frameQueue=[];this.fragmentationSize=0;switch(s){case 2:this.emit("message",{type:"binary",binaryData:n});break;case 1:if(!d(n)){this.drop(WebSocketConnection.CLOSE_REASON_INVALID_DATA,"Invalid UTF-8 Data Received");return}this.emit("message",{type:"utf8",utf8Data:n.toString("utf8")});break;default:this.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,"Unexpected first opcode in fragmentation sequence: 0x"+s.toString(16));return}}}break;case 9:this._debug("-- Ping Frame");if(this._pingListenerCount>0){var i=false;var cancel=function(){i=true};this.emit("ping",cancel,e.binaryPayload);if(!i){this.pong(e.binaryPayload)}}else{this.pong(e.binaryPayload)}break;case 10:this._debug("-- Pong Frame");this.emit("pong",e.binaryPayload);break;case 8:this._debug("-- Close Frame");if(this.waitingForCloseResponse){this._debug("---- Got close response from peer.  Completing closing handshake.");this.clearCloseTimer();this.waitingForCloseResponse=false;this.state=E;this.socket.end();return}this._debug("---- Closing handshake initiated by peer.");this.state=m;var o;if(e.invalidCloseFrameLength){this.closeReasonCode=1005;o=WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR}else if(e.closeStatus===-1||validateCloseReason(e.closeStatus)){this.closeReasonCode=e.closeStatus;o=WebSocketConnection.CLOSE_REASON_NORMAL}else{this.closeReasonCode=e.closeStatus;o=WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR}if(e.binaryPayload.length>1){if(!d(e.binaryPayload)){this.drop(WebSocketConnection.CLOSE_REASON_INVALID_DATA,"Invalid UTF-8 Data Received");return}this.closeDescription=e.binaryPayload.toString("utf8")}else{this.closeDescription=WebSocketConnection.CLOSE_DESCRIPTIONS[this.closeReasonCode]}this._debug("------ Remote peer %s - code: %d - %s - close frame payload length: %d",this.remoteAddress,this.closeReasonCode,this.closeDescription,e.length);this._debug("------ responding to remote peer's close request.");this.sendCloseFrame(o,null);this.connected=false;break;default:this._debug("-- Unrecognized Opcode %d",e.opcode);this.drop(WebSocketConnection.CLOSE_REASON_PROTOCOL_ERROR,"Unrecognized Opcode: 0x"+e.opcode.toString(16));break}};WebSocketConnection.prototype.send=function(e,r){this._debug("send");if(Buffer.isBuffer(e)){this.sendBytes(e,r)}else if(typeof e["toString"]==="function"){this.sendUTF(e,r)}else{throw new Error("Data provided must either be a Node Buffer or implement toString()")}};WebSocketConnection.prototype.sendUTF=function(e,r){e=h(e.toString(),"utf8");this._debug("sendUTF: %d bytes",e.length);var n=new c(this.maskBytes,this.frameHeader,this.config);n.opcode=1;n.binaryPayload=e;this.fragmentAndSend(n,r)};WebSocketConnection.prototype.sendBytes=function(e,r){this._debug("sendBytes");if(!Buffer.isBuffer(e)){throw new Error("You must pass a Node Buffer object to WebSocketConnection.prototype.sendBytes()")}var n=new c(this.maskBytes,this.frameHeader,this.config);n.opcode=2;n.binaryPayload=e;this.fragmentAndSend(n,r)};WebSocketConnection.prototype.ping=function(e){this._debug("ping");var r=new c(this.maskBytes,this.frameHeader,this.config);r.opcode=9;r.fin=true;if(e){if(!Buffer.isBuffer(e)){e=h(e.toString(),"utf8")}if(e.length>125){this._debug("WebSocket: Data for ping is longer than 125 bytes.  Truncating.");e=e.slice(0,124)}r.binaryPayload=e}this.sendFrame(r)};WebSocketConnection.prototype.pong=function(e){this._debug("pong");var r=new c(this.maskBytes,this.frameHeader,this.config);r.opcode=10;if(Buffer.isBuffer(e)&&e.length>125){this._debug("WebSocket: Data for pong is longer than 125 bytes.  Truncating.");e=e.slice(0,124)}r.binaryPayload=e;r.fin=true;this.sendFrame(r)};WebSocketConnection.prototype.fragmentAndSend=function(e,r){this._debug("fragmentAndSend");if(e.opcode>7){throw new Error("You cannot fragment control frames.")}var n=this.config.fragmentationThreshold;var s=e.binaryPayload.length;if(!this.config.fragmentOutgoingMessages||e.binaryPayload&&s<=n){e.fin=true;this.sendFrame(e,r);return}var i=Math.ceil(s/n);var o=0;var u=function fragmentSentCallback(e){if(e){if(typeof r==="function"){r(e);r=null}return}++o;if(o===i&&typeof r==="function"){r()}};for(var d=1;d<=i;d++){var A=new c(this.maskBytes,this.frameHeader,this.config);A.opcode=d===1?e.opcode:0;A.fin=d===i;var h=d===i?s-n*(d-1):n;var g=n*(d-1);A.binaryPayload=e.binaryPayload.slice(g,g+h);this.sendFrame(A,u)}};WebSocketConnection.prototype.sendCloseFrame=function(e,r,n){if(typeof e!=="number"){e=WebSocketConnection.CLOSE_REASON_NORMAL}this._debug("sendCloseFrame state: %s, reasonCode: %d, description: %s",this.state,e,r);if(this.state!==g&&this.state!==m){return}var s=new c(this.maskBytes,this.frameHeader,this.config);s.fin=true;s.opcode=8;s.closeStatus=e;if(typeof r==="string"){s.binaryPayload=h(r,"utf8")}this.sendFrame(s,n);this.socket.end()};WebSocketConnection.prototype.sendFrame=function(e,r){this._debug("sendFrame");e.mask=this.maskOutgoingPackets;var n=this.socket.write(e.toBuffer(),r);this.outputBufferFull=!n;return n};e.exports=WebSocketConnection;function instrumentSocketForDebugging(e,r){if(!e._debug.enabled){return}var n=r.emit;r.emit=function(r){e._debug("||| Socket Event  '%s'",r);n.apply(this,arguments)};for(var s in r){if("function"!==typeof r[s]){continue}if(["emit"].indexOf(s)!==-1){continue}(function(n){var s=r[n];if(n==="on"){r[n]=function proxyMethod__EventEmitter__On(){e._debug("||| Socket method called:  %s (%s)",n,arguments[0]);return s.apply(this,arguments)};return}r[n]=function proxyMethod(){e._debug("||| Socket method called:  %s",n);return s.apply(this,arguments)}})(s)}}},84087:(e,r,n)=>{var s=n(11486);var i=n(4402).bufferAllocUnsafe;const o=1;const c=2;const u=3;const d=4;const A=5;const h=6;function WebSocketFrame(e,r,n){this.maskBytes=e;this.frameHeader=r;this.config=n;this.maxReceivedFrameSize=n.maxReceivedFrameSize;this.protocolError=false;this.frameTooLarge=false;this.invalidCloseFrameLength=false;this.parseState=o;this.closeStatus=-1}WebSocketFrame.prototype.addData=function(e){if(this.parseState===o){if(e.length>=2){e.joinInto(this.frameHeader,0,0,2);e.advance(2);var r=this.frameHeader[0];var n=this.frameHeader[1];this.fin=Boolean(r&128);this.rsv1=Boolean(r&64);this.rsv2=Boolean(r&32);this.rsv3=Boolean(r&16);this.mask=Boolean(n&128);this.opcode=r&15;this.length=n&127;if(this.opcode>=8){if(this.length>125){this.protocolError=true;this.dropReason="Illegal control frame longer than 125 bytes.";return true}if(!this.fin){this.protocolError=true;this.dropReason="Control frames must not be fragmented.";return true}}if(this.length===126){this.parseState=c}else if(this.length===127){this.parseState=u}else{this.parseState=d}}}if(this.parseState===c){if(e.length>=2){e.joinInto(this.frameHeader,2,0,2);e.advance(2);this.length=this.frameHeader.readUInt16BE(2);this.parseState=d}}else if(this.parseState===u){if(e.length>=8){e.joinInto(this.frameHeader,2,0,8);e.advance(8);var g=[this.frameHeader.readUInt32BE(2),this.frameHeader.readUInt32BE(2+4)];if(g[0]!==0){this.protocolError=true;this.dropReason="Unsupported 64-bit length frame received";return true}this.length=g[1];this.parseState=d}}if(this.parseState===d){if(this.mask){if(e.length>=4){e.joinInto(this.maskBytes,0,0,4);e.advance(4);this.parseState=A}}else{this.parseState=A}}if(this.parseState===A){if(this.length>this.maxReceivedFrameSize){this.frameTooLarge=true;this.dropReason="Frame size of "+this.length.toString(10)+" bytes exceeds maximum accepted frame size";return true}if(this.length===0){this.binaryPayload=i(0);this.parseState=h;return true}if(e.length>=this.length){this.binaryPayload=e.take(this.length);e.advance(this.length);if(this.mask){s.unmask(this.binaryPayload,this.maskBytes)}if(this.opcode===8){if(this.length===1){this.binaryPayload=i(0);this.invalidCloseFrameLength=true}if(this.length>=2){this.closeStatus=this.binaryPayload.readUInt16BE(0);this.binaryPayload=this.binaryPayload.slice(2)}}this.parseState=h;return true}}return false};WebSocketFrame.prototype.throwAwayPayload=function(e){if(e.length>=this.length){e.advance(this.length);this.parseState=h;return true}return false};WebSocketFrame.prototype.toBuffer=function(e){var r;var n=2;var o;var c;var u=0;var d=0;if(this.fin){u|=128}if(this.rsv1){u|=64}if(this.rsv2){u|=32}if(this.rsv3){u|=16}if(this.mask){d|=128}u|=this.opcode&15;if(this.opcode===8){this.length=2;if(this.binaryPayload){this.length+=this.binaryPayload.length}o=i(this.length);o.writeUInt16BE(this.closeStatus,0);if(this.length>2){this.binaryPayload.copy(o,2)}}else if(this.binaryPayload){o=this.binaryPayload;this.length=o.length}else{this.length=0}if(this.length<=125){d|=this.length&127}else if(this.length>125&&this.length<=65535){d|=126;n+=2}else if(this.length>65535){d|=127;n+=8}var A=i(this.length+n+(this.mask?4:0));A[0]=u;A[1]=d;c=2;if(this.length>125&&this.length<=65535){A.writeUInt16BE(this.length,c);c+=2}else if(this.length>65535){A.writeUInt32BE(0,c);A.writeUInt32BE(this.length,c+4);c+=8}if(this.mask){r=e?0:Math.random()*4294967295>>>0;this.maskBytes.writeUInt32BE(r,0);this.maskBytes.copy(A,c);c+=4;if(o){s.mask(o,this.maskBytes,A,c,this.length)}}else if(o){o.copy(A,c)}return A};WebSocketFrame.prototype.toString=function(){return"Opcode: "+this.opcode+", fin: "+this.fin+", length: "+this.length+", hasPayload: "+Boolean(this.binaryPayload)+", masked: "+this.mask};e.exports=WebSocketFrame},9371:(e,r,n)=>{var s=n(76982);var i=n(39023);var o=n(87016);var c=n(24434).EventEmitter;var u=n(86304);var d=/,\s*/;var A=/;\s*/;var h=/[\r\n]/g;var g=/,\s*/;var m=["(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"," ",String.fromCharCode(9)];var y=[String.fromCharCode(127)];for(var E=0;E<31;E++){y.push(String.fromCharCode(E))}var _=/([\x00-\x20\x22\x28\x29\x2c\x2f\x3a-\x3f\x40\x5b-\x5e\x7b\x7d\x7f])/;var b=/[^\x21\x23-\x2b\x2d-\x3a\x3c-\x5b\x5d-\x7e]/;var I=/^"[^"]*"$/;var v=/[\x00-\x20\x3b]/g;var C=/[;,] */;var w={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",406:"Not Acceptable",407:"Proxy Authorization Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Long",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",426:"Upgrade Required",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function WebSocketRequest(e,r,n){c.call(this);this.socket=e;this.httpRequest=r;this.resource=r.url;this.remoteAddress=e.remoteAddress;this.remoteAddresses=[this.remoteAddress];this.serverConfig=n;this._socketIsClosing=false;this._socketCloseHandler=this._handleSocketCloseBeforeAccept.bind(this);this.socket.on("end",this._socketCloseHandler);this.socket.on("close",this._socketCloseHandler);this._resolved=false}i.inherits(WebSocketRequest,c);WebSocketRequest.prototype.readHandshake=function(){var e=this;var r=this.httpRequest;this.resourceURL=o.parse(this.resource,true);this.host=r.headers["host"];if(!this.host){throw new Error("Client must provide a Host header.")}this.key=r.headers["sec-websocket-key"];if(!this.key){throw new Error("Client must provide a value for Sec-WebSocket-Key.")}this.webSocketVersion=parseInt(r.headers["sec-websocket-version"],10);if(!this.webSocketVersion||isNaN(this.webSocketVersion)){throw new Error("Client must provide a value for Sec-WebSocket-Version.")}switch(this.webSocketVersion){case 8:case 13:break;default:var n=new Error("Unsupported websocket client version: "+this.webSocketVersion+"Only versions 8 and 13 are supported.");n.httpCode=426;n.headers={"Sec-WebSocket-Version":"13"};throw n}if(this.webSocketVersion===13){this.origin=r.headers["origin"]}else if(this.webSocketVersion===8){this.origin=r.headers["sec-websocket-origin"]}var s=r.headers["sec-websocket-protocol"];this.protocolFullCaseMap={};this.requestedProtocols=[];if(s){var i=s.split(d);i.forEach((function(r){var n=r.toLocaleLowerCase();e.requestedProtocols.push(n);e.protocolFullCaseMap[n]=r}))}if(!this.serverConfig.ignoreXForwardedFor&&r.headers["x-forwarded-for"]){var c=this.remoteAddress;this.remoteAddresses=r.headers["x-forwarded-for"].split(g);this.remoteAddresses.push(c);this.remoteAddress=this.remoteAddresses[0]}if(this.serverConfig.parseExtensions){var u=r.headers["sec-websocket-extensions"];this.requestedExtensions=this.parseExtensions(u)}else{this.requestedExtensions=[]}if(this.serverConfig.parseCookies){var A=r.headers["cookie"];this.cookies=this.parseCookies(A)}else{this.cookies=[]}};WebSocketRequest.prototype.parseExtensions=function(e){if(!e||e.length===0){return[]}var r=e.toLocaleLowerCase().split(d);r.forEach((function(e,r,n){var s=e.split(A);var i=s[0];var o=s.slice(1);o.forEach((function(e,r,n){var s=e.split("=");var i={name:s[0],value:s[1]};n.splice(r,1,i)}));var c={name:i,params:o};n.splice(r,1,c)}));return r};WebSocketRequest.prototype.parseCookies=function(e){if(!e||typeof e!=="string"){return[]}var r=[];var n=e.split(C);n.forEach((function(e){var n=e.indexOf("=");if(n===-1){r.push({name:e,value:null});return}var s=e.substr(0,n).trim();var i=e.substr(++n,e.length).trim();if('"'===i[0]){i=i.slice(1,-1)}r.push({name:s,value:decodeURIComponent(i)})}));return r};WebSocketRequest.prototype.accept=function(e,r,n){this._verifyResolution();var i;if(e){i=this.protocolFullCaseMap[e.toLocaleLowerCase()];if(typeof i==="undefined"){i=e}}else{i=e}this.protocolFullCaseMap=null;var o=s.createHash("sha1");o.update(this.key+"258EAFA5-E914-47DA-95CA-C5AB0DC85B11");var c=o.digest("base64");var d="HTTP/1.1 101 Switching Protocols\r\n"+"Upgrade: websocket\r\n"+"Connection: Upgrade\r\n"+"Sec-WebSocket-Accept: "+c+"\r\n";if(i){for(var A=0;A126||m.indexOf(y)!==-1){this.reject(500);throw new Error('Illegal character "'+String.fromCharCode(y)+'" in subprotocol.')}}if(this.requestedProtocols.indexOf(e)===-1){this.reject(500);throw new Error("Specified protocol was not requested by the client.")}i=i.replace(h,"");d+="Sec-WebSocket-Protocol: "+i+"\r\n"}this.requestedProtocols=null;if(r){r=r.replace(h,"");if(this.webSocketVersion===13){d+="Origin: "+r+"\r\n"}else if(this.webSocketVersion===8){d+="Sec-WebSocket-Origin: "+r+"\r\n"}}if(n){if(!Array.isArray(n)){this.reject(500);throw new Error('Value supplied for "cookies" argument must be an array.')}var E={};n.forEach(function(e){if(!e.name||!e.value){this.reject(500);throw new Error('Each cookie to set must at least provide a "name" and "value"')}e.name=e.name.replace(v,"");e.value=e.value.replace(v,"");if(E[e.name]){this.reject(500);throw new Error("You may not specify the same cookie name twice.")}E[e.name]=true;var r=e.name.match(_);if(r){this.reject(500);throw new Error("Illegal character "+r[0]+" in cookie name")}if(e.value.match(I)){r=e.value.slice(1,-1).match(b)}else{r=e.value.match(b)}if(r){this.reject(500);throw new Error("Illegal character "+r[0]+" in cookie value")}var n=[e.name+"="+e.value];if(e.path){r=e.path.match(v);if(r){this.reject(500);throw new Error("Illegal character "+r[0]+" in cookie path")}n.push("Path="+e.path)}if(e.domain){if(typeof e.domain!=="string"){this.reject(500);throw new Error("Domain must be specified and must be a string.")}r=e.domain.match(v);if(r){this.reject(500);throw new Error("Illegal character "+r[0]+" in cookie domain")}n.push("Domain="+e.domain.toLowerCase())}if(e.expires){if(!(e.expires instanceof Date)){this.reject(500);throw new Error('Value supplied for cookie "expires" must be a vaild date object')}n.push("Expires="+e.expires.toGMTString())}if(e.maxage){var s=e.maxage;if(typeof s==="string"){s=parseInt(s,10)}if(isNaN(s)||s<=0){this.reject(500);throw new Error('Value supplied for cookie "maxage" must be a non-zero number')}s=Math.round(s);n.push("Max-Age="+s.toString(10))}if(e.secure){if(typeof e.secure!=="boolean"){this.reject(500);throw new Error('Value supplied for cookie "secure" must be of type boolean')}n.push("Secure")}if(e.httponly){if(typeof e.httponly!=="boolean"){this.reject(500);throw new Error('Value supplied for cookie "httponly" must be of type boolean')}n.push("HttpOnly")}d+="Set-Cookie: "+n.join(";")+"\r\n"}.bind(this))}this._resolved=true;this.emit("requestResolved",this);d+="\r\n";var C=new u(this.socket,[],e,false,this.serverConfig);C.webSocketVersion=this.webSocketVersion;C.remoteAddress=this.remoteAddress;C.remoteAddresses=this.remoteAddresses;var w=this;if(this._socketIsClosing){cleanupFailedConnection(C)}else{this.socket.write(d,"ascii",(function(e){if(e){cleanupFailedConnection(C);return}w._removeSocketCloseListeners();C._addSocketEventListeners()}))}this.emit("requestAccepted",C);return C};WebSocketRequest.prototype.reject=function(e,r,n){this._verifyResolution();this._resolved=true;this.emit("requestResolved",this);if(typeof e!=="number"){e=403}var s="HTTP/1.1 "+e+" "+w[e]+"\r\n"+"Connection: close\r\n";if(r){r=r.replace(h,"");s+="X-WebSocket-Reject-Reason: "+r+"\r\n"}if(n){for(var i in n){var o=n[i].toString().replace(h,"");var c=i.replace(h,"");s+=c+": "+o+"\r\n"}}s+="\r\n";this.socket.end(s,"ascii");this.emit("requestRejected",this)};WebSocketRequest.prototype._handleSocketCloseBeforeAccept=function(){this._socketIsClosing=true;this._removeSocketCloseListeners()};WebSocketRequest.prototype._removeSocketCloseListeners=function(){this.socket.removeListener("end",this._socketCloseHandler);this.socket.removeListener("close",this._socketCloseHandler)};WebSocketRequest.prototype._verifyResolution=function(){if(this._resolved){throw new Error("WebSocketRequest may only be accepted or rejected one time.")}};function cleanupFailedConnection(e){process.nextTick((function(){e.drop(1006,"TCP connection lost before handshake completed.",true)}))}e.exports=WebSocketRequest},12401:(e,r,n)=>{var s=n(4402).extend;var i=n(39023);var o=n(24434).EventEmitter;var c=n(13144);function WebSocketRouter(e){o.call(this);this.config={server:null};if(e){s(this.config,e)}this.handlers=[];this._requestHandler=this.handleRequest.bind(this);if(this.config.server){this.attachServer(this.config.server)}}i.inherits(WebSocketRouter,o);WebSocketRouter.prototype.attachServer=function(e){if(e){this.server=e;this.server.on("request",this._requestHandler)}else{throw new Error("You must specify a WebSocketServer instance to attach to.")}};WebSocketRouter.prototype.detachServer=function(){if(this.server){this.server.removeListener("request",this._requestHandler);this.server=null}else{throw new Error("Cannot detach from server: not attached.")}};WebSocketRouter.prototype.mount=function(e,r,n){if(!e){throw new Error("You must specify a path for this handler.")}if(!r){r="____no_protocol____"}if(!n){throw new Error("You must specify a callback for this handler.")}e=this.pathToRegExp(e);if(!(e instanceof RegExp)){throw new Error("Path must be specified as either a string or a RegExp.")}var s=e.toString();r=r.toLocaleLowerCase();if(this.findHandlerIndex(s,r)!==-1){throw new Error("You may only mount one handler per path/protocol combination.")}this.handlers.push({path:e,pathString:s,protocol:r,callback:n})};WebSocketRouter.prototype.unmount=function(e,r){var n=this.findHandlerIndex(this.pathToRegExp(e).toString(),r);if(n!==-1){this.handlers.splice(n,1)}else{throw new Error("Unable to find a route matching the specified path and protocol.")}};WebSocketRouter.prototype.findHandlerIndex=function(e,r){r=r.toLocaleLowerCase();for(var n=0,s=this.handlers.length;n{var s=n(39023);var i=n(24434).EventEmitter;function WebSocketRouterRequest(e,r){i.call(this);this.webSocketRequest=e;if(r==="____no_protocol____"){this.protocol=null}else{this.protocol=r}this.origin=e.origin;this.resource=e.resource;this.resourceURL=e.resourceURL;this.httpRequest=e.httpRequest;this.remoteAddress=e.remoteAddress;this.webSocketVersion=e.webSocketVersion;this.requestedExtensions=e.requestedExtensions;this.cookies=e.cookies}s.inherits(WebSocketRouterRequest,i);WebSocketRouterRequest.prototype.accept=function(e,r){var n=this.webSocketRequest.accept(this.protocol,e,r);this.emit("requestAccepted",n);return n};WebSocketRouterRequest.prototype.reject=function(e,r,n){this.webSocketRequest.reject(e,r,n);this.emit("requestRejected",this)};e.exports=WebSocketRouterRequest},55143:(e,r,n)=>{var s=n(4402).extend;var i=n(4402);var o=n(39023);var c=n(72859)("websocket:server");var u=n(24434).EventEmitter;var d=n(9371);var A=function WebSocketServer(e){u.call(this);this._handlers={upgrade:this.handleUpgrade.bind(this),requestAccepted:this.handleRequestAccepted.bind(this),requestResolved:this.handleRequestResolved.bind(this)};this.connections=[];this.pendingRequests=[];if(e){this.mount(e)}};o.inherits(A,u);A.prototype.mount=function(e){this.config={httpServer:null,maxReceivedFrameSize:65536,maxReceivedMessageSize:1048576,fragmentOutgoingMessages:true,fragmentationThreshold:16384,keepalive:true,keepaliveInterval:2e4,dropConnectionOnKeepaliveTimeout:true,keepaliveGracePeriod:1e4,useNativeKeepalive:false,assembleFragments:true,autoAcceptConnections:false,ignoreXForwardedFor:false,parseCookies:true,parseExtensions:true,disableNagleAlgorithm:true,closeTimeout:5e3};s(this.config,e);if(this.config.httpServer){if(!Array.isArray(this.config.httpServer)){this.config.httpServer=[this.config.httpServer]}var r=this._handlers.upgrade;this.config.httpServer.forEach((function(e){e.on("upgrade",r)}))}else{throw new Error("You must specify an httpServer on which to mount the WebSocket server.")}};A.prototype.unmount=function(){var e=this._handlers.upgrade;this.config.httpServer.forEach((function(r){r.removeListener("upgrade",e)}))};A.prototype.closeAllConnections=function(){this.connections.forEach((function(e){e.close()}));this.pendingRequests.forEach((function(e){process.nextTick((function(){e.reject(503)}))}))};A.prototype.broadcast=function(e){if(Buffer.isBuffer(e)){this.broadcastBytes(e)}else if(typeof e.toString==="function"){this.broadcastUTF(e)}};A.prototype.broadcastUTF=function(e){this.connections.forEach((function(r){r.sendUTF(e)}))};A.prototype.broadcastBytes=function(e){this.connections.forEach((function(r){r.sendBytes(e)}))};A.prototype.shutDown=function(){this.unmount();this.closeAllConnections()};A.prototype.handleUpgrade=function(e,r){var n=this;var s=new d(r,e,this.config);try{s.readHandshake()}catch(e){s.reject(e.httpCode?e.httpCode:400,e.message,e.headers);c("Invalid handshake: %s",e.message);this.emit("upgradeError",e);return}this.pendingRequests.push(s);s.once("requestAccepted",this._handlers.requestAccepted);s.once("requestResolved",this._handlers.requestResolved);r.once("close",(function(){n._handlers.requestResolved(s)}));if(!this.config.autoAcceptConnections&&i.eventEmitterListenerCount(this,"request")>0){this.emit("request",s)}else if(this.config.autoAcceptConnections){s.accept(s.requestedProtocols[0],s.origin)}else{s.reject(404,"No handler is configured to accept the connection.")}};A.prototype.handleRequestAccepted=function(e){var r=this;e.once("close",(function(n,s){r.handleConnectionClose(e,n,s)}));this.connections.push(e);this.emit("connect",e)};A.prototype.handleConnectionClose=function(e,r,n){var s=this.connections.indexOf(e);if(s!==-1){this.connections.splice(s,1)}this.emit("close",e,r,n)};A.prototype.handleRequestResolved=function(e){var r=this.pendingRequests.indexOf(e);if(r!==-1){this.pendingRequests.splice(r,1)}};e.exports=A},4402:(e,r,n)=>{var s=r.noop=function(){};r.extend=function extend(e,r){for(var n in r){e[n]=r[n]}};r.eventEmitterListenerCount=n(24434).EventEmitter.listenerCount||function(e,r){return e.listeners(r).length};r.bufferAllocUnsafe=Buffer.allocUnsafe?Buffer.allocUnsafe:function oldBufferAllocUnsafe(e){return new Buffer(e)};r.bufferFromString=Buffer.from?Buffer.from:function oldBufferFromString(e,r){return new Buffer(e,r)};r.BufferingLogger=function createBufferingLogger(e,r){var i=n(72859)(e);if(i.enabled){var o=new BufferingLogger(e,r,i);var c=o.log.bind(o);c.printOutput=o.printOutput.bind(o);c.enabled=i.enabled;return c}i.printOutput=s;return i};function BufferingLogger(e,r,n){this.logFunction=n;this.identifier=e;this.uniqueID=r;this.buffer=[]}BufferingLogger.prototype.log=function(){this.buffer.push([new Date,Array.prototype.slice.call(arguments)]);return this};BufferingLogger.prototype.clear=function(){this.buffer=[];return this};BufferingLogger.prototype.printOutput=function(e){if(!e){e=this.logFunction}var r=this.uniqueID;this.buffer.forEach((function(n){var s=n[0].toLocaleString();var i=n[1].slice();var o=i[0];if(o!==void 0&&o!==null){o="%s - %s - "+o.toString();i.splice(0,1,o,s,r);e.apply(global,i)}}))}},26135:(e,r,n)=>{e.exports=n(39003).version},65064:(e,r,n)=>{e.exports={server:n(55143),client:n(57643),router:n(12401),frame:n(84087),request:n(9371),connection:n(86304),w3cwebsocket:n(85601),deprecation:n(80893),version:n(26135)}},87071:(e,r,n)=>{r=e.exports=n(17508);r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage();r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function useColors(){if(typeof window!=="undefined"&&window.process&&window.process.type==="renderer"){return true}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}r.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}};function formatArgs(e){var n=this.useColors;e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+r.humanize(this.diff);if(!n)return;var s="color: "+this.color;e.splice(1,0,s,"color: inherit");var i=0;var o=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){if("%%"===e)return;i++;if("%c"===e){o=i}}));e.splice(o,0,s)}function log(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(e){try{if(null==e){r.storage.removeItem("debug")}else{r.storage.debug=e}}catch(e){}}function load(){var e;try{e=r.storage.debug}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}r.enable(load());function localstorage(){try{return window.localStorage}catch(e){}}},17508:(e,r,n)=>{r=e.exports=createDebug.debug=createDebug["default"]=createDebug;r.coerce=coerce;r.disable=disable;r.enable=enable;r.enabled=enabled;r.humanize=n(21635);r.names=[];r.skips=[];r.formatters={};var s;function selectColor(e){var n=0,s;for(s in e){n=(n<<5)-n+e.charCodeAt(s);n|=0}return r.colors[Math.abs(n)%r.colors.length]}function createDebug(e){function debug(){if(!debug.enabled)return;var e=debug;var n=+new Date;var i=n-(s||n);e.diff=i;e.prev=s;e.curr=n;s=n;var o=new Array(arguments.length);for(var c=0;c{if(typeof process!=="undefined"&&process.type==="renderer"){e.exports=n(87071)}else{e.exports=n(19771)}},19771:(e,r,n)=>{var s=n(52018);var i=n(39023);r=e.exports=n(17508);r.init=init;r.log=log;r.formatArgs=formatArgs;r.save=save;r.load=load;r.useColors=useColors;r.colors=[6,2,3,4,5,1];r.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,r){var n=r.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,r){return r.toUpperCase()}));var s=process.env[r];if(/^(yes|on|true|enabled)$/i.test(s))s=true;else if(/^(no|off|false|disabled)$/i.test(s))s=false;else if(s==="null")s=null;else s=Number(s);e[n]=s;return e}),{});var o=parseInt(process.env.DEBUG_FD,10)||2;if(1!==o&&2!==o){i.deprecate((function(){}),"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")()}var c=1===o?process.stdout:2===o?process.stderr:createWritableStdioStream(o);function useColors(){return"colors"in r.inspectOpts?Boolean(r.inspectOpts.colors):s.isatty(o)}r.formatters.o=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")};r.formatters.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)};function formatArgs(e){var n=this.namespace;var s=this.useColors;if(s){var i=this.color;var o="  [3"+i+";1m"+n+" "+"";e[0]=o+e[0].split("\n").join("\n"+o);e.push("[3"+i+"m+"+r.humanize(this.diff)+"")}else{e[0]=(new Date).toUTCString()+" "+n+" "+e[0]}}function log(){return c.write(i.format.apply(i,arguments)+"\n")}function save(e){if(null==e){delete process.env.DEBUG}else{process.env.DEBUG=e}}function load(){return process.env.DEBUG}function createWritableStdioStream(e){var r;var i=process.binding("tty_wrap");switch(i.guessHandleType(e)){case"TTY":r=new s.WriteStream(e);r._type="tty";if(r._handle&&r._handle.unref){r._handle.unref()}break;case"FILE":var o=n(79896);r=new o.SyncWriteStream(e,{autoClose:false});r._type="fs";break;case"PIPE":case"TCP":var c=n(69278);r=new c.Socket({fd:e,readable:false,writable:true});r.readable=false;r.read=null;r._type="pipe";if(r._handle&&r._handle.unref){r._handle.unref()}break;default:throw new Error("Implement me. Unknown stream file type!")}r.fd=e;r._isStdio=true;return r}function init(e){e.inspectOpts={};var n=Object.keys(r.inspectOpts);for(var s=0;s{var r=1e3;var n=r*60;var s=n*60;var i=s*24;var o=i*365.25;e.exports=function(e,r){r=r||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isNaN(e)===false){return r.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var c=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!c){return}var u=parseFloat(c[1]);var d=(c[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return u*o;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*s;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){if(e>=i){return Math.round(e/i)+"d"}if(e>=s){return Math.round(e/s)+"h"}if(e>=n){return Math.round(e/n)+"m"}if(e>=r){return Math.round(e/r)+"s"}return e+"ms"}function fmtLong(e){return plural(e,i,"day")||plural(e,s,"hour")||plural(e,n,"minute")||plural(e,r,"second")||e+" ms"}function plural(e,r,n){if(e{var s=n(20181).Buffer;var i=n(24434).EventEmitter;var o=n(4402).bufferAllocUnsafe;e.exports=BufferList;e.exports.BufferList=BufferList;function BufferList(e){if(!(this instanceof BufferList))return new BufferList(e);i.call(this);var r=this;if(typeof e=="undefined")e={};r.encoding=e.encoding;var n={next:null,buffer:null};var c={next:null,buffer:null};var u=0;r.__defineGetter__("length",(function(){return u}));var d=0;r.write=function(e){if(!n.buffer){n.buffer=e;c=n}else{c.next={next:null,buffer:e};c=c.next}u+=e.length;r.emit("write",e);return true};r.end=function(e){if(s.isBuffer(e))r.write(e)};r.push=function(){var e=[].concat.apply([],arguments);e.forEach(r.write);return r};r.forEach=function(e){if(!n.buffer)return o(0);if(n.buffer.length-d<=0)return r;var s=n.buffer.slice(d);var i={buffer:s,next:n.next};while(i&&i.buffer){var c=e(i.buffer);if(c)break;i=i.next}return r};r.join=function(e,s){if(!n.buffer)return o(0);if(e==undefined)e=0;if(s==undefined)s=r.length;var i=o(s-e);var c=0;r.forEach((function(r){if(es)return true}));return i};r.joinInto=function(e,s,i,c){if(!n.buffer)return new o(0);if(i==undefined)i=0;if(c==undefined)c=r.length;var u=e;if(u.length-sc)return true}));return u};r.advance=function(e){d+=e;u-=e;while(n.buffer&&d>=n.buffer.length){d-=n.buffer.length;n=n.next?n.next:{buffer:null,next:null}}if(n.buffer===null)c={next:null,buffer:null};r.emit("advance",e);return r};r.take=function(e,s){if(e==undefined)e=r.length;else if(typeof e!=="number"){s=e;e=r.length}var i=n;if(!s)s=r.encoding;if(s){var o="";r.forEach((function(r){if(e<=0)return true;o+=r.toString(s,0,Math.min(e,r.length));e-=r.length}));return o}else{return r.join(0,e)}};r.toString=function(){return r.take("binary")}}n(39023).inherits(BufferList,i)},23184:(e,r,n)=>{const s=n(20905);r.implementation=class URLImpl{constructor(e){const r=e[0];const n=e[1];let i=null;if(n!==undefined){i=s.basicURLParse(n);if(i==="failure"){throw new TypeError("Invalid base URL")}}const o=s.basicURLParse(r,{baseURL:i});if(o==="failure"){throw new TypeError("Invalid URL")}this._url=o}get href(){return s.serializeURL(this._url)}set href(e){const r=s.basicURLParse(e);if(r==="failure"){throw new TypeError("Invalid URL")}this._url=r}get origin(){return s.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){s.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){if(s.cannotHaveAUsernamePasswordPort(this._url)){return}s.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){if(s.cannotHaveAUsernamePasswordPort(this._url)){return}s.setThePassword(this._url,e)}get host(){const e=this._url;if(e.host===null){return""}if(e.port===null){return s.serializeHost(e.host)}return s.serializeHost(e.host)+":"+s.serializeInteger(e.port)}set host(e){if(this._url.cannotBeABaseURL){return}s.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){if(this._url.host===null){return""}return s.serializeHost(this._url.host)}set hostname(e){if(this._url.cannotBeABaseURL){return}s.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){if(this._url.port===null){return""}return s.serializeInteger(this._url.port)}set port(e){if(s.cannotHaveAUsernamePasswordPort(this._url)){return}if(e===""){this._url.port=null}else{s.basicURLParse(e,{url:this._url,stateOverride:"port"})}}get pathname(){if(this._url.cannotBeABaseURL){return this._url.path[0]}if(this._url.path.length===0){return""}return"/"+this._url.path.join("/")}set pathname(e){if(this._url.cannotBeABaseURL){return}this._url.path=[];s.basicURLParse(e,{url:this._url,stateOverride:"path start"})}get search(){if(this._url.query===null||this._url.query===""){return""}return"?"+this._url.query}set search(e){const r=this._url;if(e===""){r.query=null;return}const n=e[0]==="?"?e.substring(1):e;r.query="";s.basicURLParse(n,{url:r,stateOverride:"query"})}get hash(){if(this._url.fragment===null||this._url.fragment===""){return""}return"#"+this._url.fragment}set hash(e){if(e===""){this._url.fragment=null;return}const r=e[0]==="#"?e.substring(1):e;this._url.fragment="";s.basicURLParse(r,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},66633:(e,r,n)=>{const s=n(37125);const i=n(39857);const o=n(23184);const c=i.implSymbol;function URL(r){if(!this||this[c]||!(this instanceof URL)){throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.")}if(arguments.length<1){throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.")}const n=[];for(let e=0;e{r.URL=n(66633)["interface"];r.serializeURL=n(20905).serializeURL;r.serializeURLOrigin=n(20905).serializeURLOrigin;r.basicURLParse=n(20905).basicURLParse;r.setTheUsername=n(20905).setTheUsername;r.setThePassword=n(20905).setThePassword;r.serializeHost=n(20905).serializeHost;r.serializeInteger=n(20905).serializeInteger;r.parseURL=n(20905).parseURL},20905:(e,r,n)=>{const s=n(24876);const i=n(1552);const o={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443};const c=Symbol("failure");function countSymbols(e){return s.ucs2.decode(e).length}function at(e,r){const n=e[r];return isNaN(n)?undefined:String.fromCodePoint(n)}function isASCIIDigit(e){return e>=48&&e<=57}function isASCIIAlpha(e){return e>=65&&e<=90||e>=97&&e<=122}function isASCIIAlphanumeric(e){return isASCIIAlpha(e)||isASCIIDigit(e)}function isASCIIHex(e){return isASCIIDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isSingleDot(e){return e==="."||e.toLowerCase()==="%2e"}function isDoubleDot(e){e=e.toLowerCase();return e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"}function isWindowsDriveLetterCodePoints(e,r){return isASCIIAlpha(e)&&(r===58||r===124)}function isWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&(e[1]===":"||e[1]==="|")}function isNormalizedWindowsDriveLetterString(e){return e.length===2&&isASCIIAlpha(e.codePointAt(0))&&e[1]===":"}function containsForbiddenHostCodePoint(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function containsForbiddenHostCodePointExcludingPercent(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function isSpecialScheme(e){return o[e]!==undefined}function isSpecial(e){return isSpecialScheme(e.scheme)}function defaultPort(e){return o[e]}function percentEncode(e){let r=e.toString(16).toUpperCase();if(r.length===1){r="0"+r}return"%"+r}function utf8PercentEncode(e){const r=new Buffer(e);let n="";for(let e=0;e126}const u=new Set([32,34,35,60,62,63,96,123,125]);function isPathPercentEncode(e){return isC0ControlPercentEncode(e)||u.has(e)}const d=new Set([47,58,59,61,64,91,92,93,94,124]);function isUserinfoPercentEncode(e){return isPathPercentEncode(e)||d.has(e)}function percentEncodeChar(e,r){const n=String.fromCodePoint(e);if(r(e)){return utf8PercentEncode(n)}return n}function parseIPv4Number(e){let r=10;if(e.length>=2&&e.charAt(0)==="0"&&e.charAt(1).toLowerCase()==="x"){e=e.substring(2);r=16}else if(e.length>=2&&e.charAt(0)==="0"){e=e.substring(1);r=8}if(e===""){return 0}const n=r===10?/[^0-9]/:r===16?/[^0-9A-Fa-f]/:/[^0-7]/;if(n.test(e)){return c}return parseInt(e,r)}function parseIPv4(e){const r=e.split(".");if(r[r.length-1]===""){if(r.length>1){r.pop()}}if(r.length>4){return e}const n=[];for(const s of r){if(s===""){return e}const r=parseIPv4Number(s);if(r===c){return e}n.push(r)}for(let e=0;e255){return c}}if(n[n.length-1]>=Math.pow(256,5-n.length)){return c}let s=n.pop();let i=0;for(const e of n){s+=e*Math.pow(256,3-i);++i}return s}function serializeIPv4(e){let r="";let n=e;for(let e=1;e<=4;++e){r=String(n%256)+r;if(e!==4){r="."+r}n=Math.floor(n/256)}return r}function parseIPv6(e){const r=[0,0,0,0,0,0,0,0];let n=0;let i=null;let o=0;e=s.ucs2.decode(e);if(e[o]===58){if(e[o+1]!==58){return c}o+=2;++n;i=n}while(o6){return c}let s=0;while(e[o]!==undefined){let i=null;if(s>0){if(e[o]===46&&s<4){++o}else{return c}}if(!isASCIIDigit(e[o])){return c}while(isASCIIDigit(e[o])){const r=parseInt(at(e,o));if(i===null){i=r}else if(i===0){return c}else{i=i*10+r}if(i>255){return c}++o}r[n]=r[n]*256+i;++s;if(s===2||s===4){++n}}if(s!==4){return c}break}else if(e[o]===58){++o;if(e[o]===undefined){return c}}else if(e[o]!==undefined){return c}r[n]=s;++n}if(i!==null){let e=n-i;n=7;while(n!==0&&e>0){const s=r[i+e-1];r[i+e-1]=r[n];r[n]=s;--n;--e}}else if(i===null&&n!==8){return c}return r}function serializeIPv6(e){let r="";const n=findLongestZeroSequence(e);const s=n.idx;let i=false;for(let n=0;n<=7;++n){if(i&&e[n]===0){continue}else if(i){i=false}if(s===n){const e=n===0?"::":":";r+=e;i=true;continue}r+=e[n].toString(16);if(n!==7){r+=":"}}return r}function parseHost(e,r){if(e[0]==="["){if(e[e.length-1]!=="]"){return c}return parseIPv6(e.substring(1,e.length-1))}if(!r){return parseOpaqueHost(e)}const n=utf8PercentDecode(e);const s=i.toASCII(n,false,i.PROCESSING_OPTIONS.NONTRANSITIONAL,false);if(s===null){return c}if(containsForbiddenHostCodePoint(s)){return c}const o=parseIPv4(s);if(typeof o==="number"||o===c){return o}return s}function parseOpaqueHost(e){if(containsForbiddenHostCodePointExcludingPercent(e)){return c}let r="";const n=s.ucs2.decode(e);for(let e=0;en){r=s;n=i}s=null;i=0}else{if(s===null){s=o}++i}}if(i>n){r=s;n=i}return{idx:r,len:n}}function serializeHost(e){if(typeof e==="number"){return serializeIPv4(e)}if(e instanceof Array){return"["+serializeIPv6(e)+"]"}return e}function trimControlChars(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function trimTabAndNewline(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}function shortenPath(e){const r=e.path;if(r.length===0){return}if(e.scheme==="file"&&r.length===1&&isNormalizedWindowsDriveLetter(r[0])){return}r.pop()}function includesCredentials(e){return e.username!==""||e.password!==""}function cannotHaveAUsernamePasswordPort(e){return e.host===null||e.host===""||e.cannotBeABaseURL||e.scheme==="file"}function isNormalizedWindowsDriveLetter(e){return/^[A-Za-z]:$/.test(e)}function URLStateMachine(e,r,n,i,o){this.pointer=0;this.input=e;this.base=r||null;this.encodingOverride=n||"utf-8";this.stateOverride=o;this.url=i;this.failure=false;this.parseError=false;if(!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:false};const e=trimControlChars(this.input);if(e!==this.input){this.parseError=true}this.input=e}const u=trimTabAndNewline(this.input);if(u!==this.input){this.parseError=true}this.input=u;this.state=o||"scheme start";this.buffer="";this.atFlag=false;this.arrFlag=false;this.passwordTokenSeenFlag=false;this.input=s.ucs2.decode(this.input);for(;this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer];const r=isNaN(e)?undefined:String.fromCodePoint(e);const n=this["parse "+this.state](e,r);if(!n){break}else if(n===c){this.failure=true;break}}}URLStateMachine.prototype["parse scheme start"]=function parseSchemeStart(e,r){if(isASCIIAlpha(e)){this.buffer+=r.toLowerCase();this.state="scheme"}else if(!this.stateOverride){this.state="no scheme";--this.pointer}else{this.parseError=true;return c}return true};URLStateMachine.prototype["parse scheme"]=function parseScheme(e,r){if(isASCIIAlphanumeric(e)||e===43||e===45||e===46){this.buffer+=r.toLowerCase()}else if(e===58){if(this.stateOverride){if(isSpecial(this.url)&&!isSpecialScheme(this.buffer)){return false}if(!isSpecial(this.url)&&isSpecialScheme(this.buffer)){return false}if((includesCredentials(this.url)||this.url.port!==null)&&this.buffer==="file"){return false}if(this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)){return false}}this.url.scheme=this.buffer;this.buffer="";if(this.stateOverride){return false}if(this.url.scheme==="file"){if(this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47){this.parseError=true}this.state="file"}else if(isSpecial(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme){this.state="special relative or authority"}else if(isSpecial(this.url)){this.state="special authority slashes"}else if(this.input[this.pointer+1]===47){this.state="path or authority";++this.pointer}else{this.url.cannotBeABaseURL=true;this.url.path.push("");this.state="cannot-be-a-base-URL path"}}else if(!this.stateOverride){this.buffer="";this.state="no scheme";this.pointer=-1}else{this.parseError=true;return c}return true};URLStateMachine.prototype["parse no scheme"]=function parseNoScheme(e){if(this.base===null||this.base.cannotBeABaseURL&&e!==35){return c}else if(this.base.cannotBeABaseURL&&e===35){this.url.scheme=this.base.scheme;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.url.cannotBeABaseURL=true;this.state="fragment"}else if(this.base.scheme==="file"){this.state="file";--this.pointer}else{this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse special relative or authority"]=function parseSpecialRelativeOrAuthority(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse path or authority"]=function parsePathOrAuthority(e){if(e===47){this.state="authority"}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative"]=function parseRelative(e){this.url.scheme=this.base.scheme;if(isNaN(e)){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===47){this.state="relative slash"}else if(e===63){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else if(isSpecial(this.url)&&e===92){this.parseError=true;this.state="relative slash"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice(0,this.base.path.length-1);this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative slash"]=function parseRelativeSlash(e){if(isSpecial(this.url)&&(e===47||e===92)){if(e===92){this.parseError=true}this.state="special authority ignore slashes"}else if(e===47){this.state="authority"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse special authority slashes"]=function parseSpecialAuthoritySlashes(e){if(e===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="special authority ignore slashes";--this.pointer}return true};URLStateMachine.prototype["parse special authority ignore slashes"]=function parseSpecialAuthorityIgnoreSlashes(e){if(e!==47&&e!==92){this.state="authority";--this.pointer}else{this.parseError=true}return true};URLStateMachine.prototype["parse authority"]=function parseAuthority(e,r){if(e===64){this.parseError=true;if(this.atFlag){this.buffer="%40"+this.buffer}this.atFlag=true;const e=countSymbols(this.buffer);for(let r=0;rMath.pow(2,16)-1){this.parseError=true;return c}this.url.port=e===defaultPort(this.url.scheme)?null:e;this.buffer=""}if(this.stateOverride){return false}this.state="path start";--this.pointer}else{this.parseError=true;return c}return true};const A=new Set([47,92,63,35]);URLStateMachine.prototype["parse file"]=function parseFile(e){this.url.scheme="file";if(e===47||e===92){if(e===92){this.parseError=true}this.state="file slash"}else if(this.base!==null&&this.base.scheme==="file"){if(isNaN(e)){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(e===63){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(e===35){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else{if(this.input.length-this.pointer-1===0||!isWindowsDriveLetterCodePoints(e,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!A.has(this.input[this.pointer+2])){this.url.host=this.base.host;this.url.path=this.base.path.slice();shortenPath(this.url)}else{this.parseError=true}this.state="path";--this.pointer}}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file slash"]=function parseFileSlash(e){if(e===47||e===92){if(e===92){this.parseError=true}this.state="file host"}else{if(this.base!==null&&this.base.scheme==="file"){if(isNormalizedWindowsDriveLetterString(this.base.path[0])){this.url.path.push(this.base.path[0])}else{this.url.host=this.base.host}}this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file host"]=function parseFileHost(e,r){if(isNaN(e)||e===47||e===92||e===63||e===35){--this.pointer;if(!this.stateOverride&&isWindowsDriveLetterString(this.buffer)){this.parseError=true;this.state="path"}else if(this.buffer===""){this.url.host="";if(this.stateOverride){return false}this.state="path start"}else{let e=parseHost(this.buffer,isSpecial(this.url));if(e===c){return c}if(e==="localhost"){e=""}this.url.host=e;if(this.stateOverride){return false}this.buffer="";this.state="path start"}}else{this.buffer+=r}return true};URLStateMachine.prototype["parse path start"]=function parsePathStart(e){if(isSpecial(this.url)){if(e===92){this.parseError=true}this.state="path";if(e!==47&&e!==92){--this.pointer}}else if(!this.stateOverride&&e===63){this.url.query="";this.state="query"}else if(!this.stateOverride&&e===35){this.url.fragment="";this.state="fragment"}else if(e!==undefined){this.state="path";if(e!==47){--this.pointer}}return true};URLStateMachine.prototype["parse path"]=function parsePath(e){if(isNaN(e)||e===47||isSpecial(this.url)&&e===92||!this.stateOverride&&(e===63||e===35)){if(isSpecial(this.url)&&e===92){this.parseError=true}if(isDoubleDot(this.buffer)){shortenPath(this.url);if(e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}}else if(isSingleDot(this.buffer)&&e!==47&&!(isSpecial(this.url)&&e===92)){this.url.path.push("")}else if(!isSingleDot(this.buffer)){if(this.url.scheme==="file"&&this.url.path.length===0&&isWindowsDriveLetterString(this.buffer)){if(this.url.host!==""&&this.url.host!==null){this.parseError=true;this.url.host=""}this.buffer=this.buffer[0]+":"}this.url.path.push(this.buffer)}this.buffer="";if(this.url.scheme==="file"&&(e===undefined||e===63||e===35)){while(this.url.path.length>1&&this.url.path[0]===""){this.parseError=true;this.url.path.shift()}}if(e===63){this.url.query="";this.state="query"}if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=percentEncodeChar(e,isPathPercentEncode)}return true};URLStateMachine.prototype["parse cannot-be-a-base-URL path"]=function parseCannotBeABaseURLPath(e){if(e===63){this.url.query="";this.state="query"}else if(e===35){this.url.fragment="";this.state="fragment"}else{if(!isNaN(e)&&e!==37){this.parseError=true}if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}if(!isNaN(e)){this.url.path[0]=this.url.path[0]+percentEncodeChar(e,isC0ControlPercentEncode)}}return true};URLStateMachine.prototype["parse query"]=function parseQuery(e,r){if(isNaN(e)||!this.stateOverride&&e===35){if(!isSpecial(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss"){this.encodingOverride="utf-8"}const r=new Buffer(this.buffer);for(let e=0;e126||r[e]===34||r[e]===35||r[e]===60||r[e]===62){this.url.query+=percentEncode(r[e])}else{this.url.query+=String.fromCodePoint(r[e])}}this.buffer="";if(e===35){this.url.fragment="";this.state="fragment"}}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=r}return true};URLStateMachine.prototype["parse fragment"]=function parseFragment(e){if(isNaN(e)){}else if(e===0){this.parseError=true}else{if(e===37&&(!isASCIIHex(this.input[this.pointer+1])||!isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.url.fragment+=percentEncodeChar(e,isC0ControlPercentEncode)}return true};function serializeURL(e,r){let n=e.scheme+":";if(e.host!==null){n+="//";if(e.username!==""||e.password!==""){n+=e.username;if(e.password!==""){n+=":"+e.password}n+="@"}n+=serializeHost(e.host);if(e.port!==null){n+=":"+e.port}}else if(e.host===null&&e.scheme==="file"){n+="//"}if(e.cannotBeABaseURL){n+=e.path[0]}else{for(const r of e.path){n+="/"+r}}if(e.query!==null){n+="?"+e.query}if(!r&&e.fragment!==null){n+="#"+e.fragment}return n}function serializeOrigin(e){let r=e.scheme+"://";r+=serializeHost(e.host);if(e.port!==null){r+=":"+e.port}return r}e.exports.serializeURL=serializeURL;e.exports.serializeURLOrigin=function(r){switch(r.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(r.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return serializeOrigin({scheme:r.scheme,host:r.host,port:r.port});case"file":return"file://";default:return"null"}};e.exports.basicURLParse=function(e,r){if(r===undefined){r={}}const n=new URLStateMachine(e,r.baseURL,r.encodingOverride,r.url,r.stateOverride);if(n.failure){return"failure"}return n.url};e.exports.setTheUsername=function(e,r){e.username="";const n=s.ucs2.decode(r);for(let r=0;r{e.exports.mixin=function mixin(e,r){const n=Object.getOwnPropertyNames(r);for(let s=0;s{e.exports=wrappy;function wrappy(e,r){if(e&&r)return wrappy(e)(r);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(r){wrapper[r]=e[r]}));return wrapper;function wrapper(){var r=new Array(arguments.length);for(var n=0;n{e.exports=writeFile;e.exports.sync=writeFileSync;e.exports._getTmpname=getTmpname;var s=n(35744);var i=n(67324).chain;var o=n(72024);var c=Object.assign||n(39023)._extend;var u=0;function getTmpname(e){return e+"."+o(__filename).hash(String(process.pid)).hash(String(++u)).result()}function writeFile(e,r,n,i){if(n instanceof Function){i=n;n=null}if(!n)n={};s.realpath(e,(function(s,o){_writeFile(o||e,r,n,i)}))}function _writeFile(e,r,n,o){var u=getTmpname(e);if(n.mode&&n.chown){return thenWriteFile()}else{return s.stat(e,(function(e,r){if(e||!r)return thenWriteFile();n=c({},n);if(!n.mode){n.mode=r.mode}if(!n.chown&&process.getuid){n.chown={uid:r.uid,gid:r.gid}}return thenWriteFile()}))}function thenWriteFile(){i([[writeFileAsync,u,r,n.mode,n.encoding||"utf8"],n.chown&&[s,s.chown,u,n.chown.uid,n.chown.gid],n.mode&&[s,s.chmod,u,n.mode],[s,s.rename,u,e]],(function(e){e?s.unlink(u,(function(){o(e)})):o()}))}function writeFileAsync(e,r,i,o,c){s.open(e,"w",n.mode,(function(e,n){if(e)return c(e);if(Buffer.isBuffer(r)){return s.write(n,r,0,r.length,0,syncAndClose)}else if(r!=null){return s.write(n,String(r),0,String(o),syncAndClose)}else{return syncAndClose()}function syncAndClose(e){if(e)return c(e);s.fsync(n,(function(e){if(e)return c(e);s.close(n,c)}))}}))}}function writeFileSync(e,r,n){if(!n)n={};try{e=s.realpathSync(e)}catch(e){}var i=getTmpname(e);try{if(!n.mode||!n.chown){try{var o=s.statSync(e);n=c({},n);if(!n.mode){n.mode=o.mode}if(!n.chown&&process.getuid){n.chown={uid:o.uid,gid:o.gid}}}catch(e){}}var u=s.openSync(i,"w",n.mode);if(Buffer.isBuffer(r)){s.writeSync(u,r,0,r.length,0)}else if(r!=null){s.writeSync(u,String(r),0,String(n.encoding||"utf8"))}s.fsyncSync(u);s.closeSync(u);if(n.chown)s.chownSync(i,n.chown.uid,n.chown.gid);if(n.mode)s.chmodSync(i,n.mode);s.renameSync(i,e)}catch(e){try{s.unlinkSync(i)}catch(e){}throw e}}},11354:(e,r,n)=>{const s=n(56681);s.createWebSocketStream=n(86412);s.Server=n(70129);s.Receiver=n(20893);s.Sender=n(7389);s.WebSocket=s;s.WebSocketServer=s.Server;e.exports=s},95803:(e,r,n)=>{const{EMPTY_BUFFER:s}=n(71791);const i=Buffer[Symbol.species];function concat(e,r){if(e.length===0)return s;if(e.length===1)return e[0];const n=Buffer.allocUnsafe(r);let o=0;for(let r=0;r{const r=["nodebuffer","arraybuffer","fragments"];const n=typeof Blob!=="undefined";if(n)r.push("blob");e.exports={BINARY_TYPES:r,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:n,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},34634:(e,r,n)=>{const{kForOnEventAttribute:s,kListener:i}=n(71791);const o=Symbol("kCode");const c=Symbol("kData");const u=Symbol("kError");const d=Symbol("kMessage");const A=Symbol("kReason");const h=Symbol("kTarget");const g=Symbol("kType");const m=Symbol("kWasClean");class Event{constructor(e){this[h]=null;this[g]=e}get target(){return this[h]}get type(){return this[g]}}Object.defineProperty(Event.prototype,"target",{enumerable:true});Object.defineProperty(Event.prototype,"type",{enumerable:true});class CloseEvent extends Event{constructor(e,r={}){super(e);this[o]=r.code===undefined?0:r.code;this[A]=r.reason===undefined?"":r.reason;this[m]=r.wasClean===undefined?false:r.wasClean}get code(){return this[o]}get reason(){return this[A]}get wasClean(){return this[m]}}Object.defineProperty(CloseEvent.prototype,"code",{enumerable:true});Object.defineProperty(CloseEvent.prototype,"reason",{enumerable:true});Object.defineProperty(CloseEvent.prototype,"wasClean",{enumerable:true});class ErrorEvent extends Event{constructor(e,r={}){super(e);this[u]=r.error===undefined?null:r.error;this[d]=r.message===undefined?"":r.message}get error(){return this[u]}get message(){return this[d]}}Object.defineProperty(ErrorEvent.prototype,"error",{enumerable:true});Object.defineProperty(ErrorEvent.prototype,"message",{enumerable:true});class MessageEvent extends Event{constructor(e,r={}){super(e);this[c]=r.data===undefined?null:r.data}get data(){return this[c]}}Object.defineProperty(MessageEvent.prototype,"data",{enumerable:true});const y={addEventListener(e,r,n={}){for(const o of this.listeners(e)){if(!n[s]&&o[i]===r&&!o[s]){return}}let o;if(e==="message"){o=function onMessage(e,n){const s=new MessageEvent("message",{data:n?e:e.toString()});s[h]=this;callListener(r,this,s)}}else if(e==="close"){o=function onClose(e,n){const s=new CloseEvent("close",{code:e,reason:n.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});s[h]=this;callListener(r,this,s)}}else if(e==="error"){o=function onError(e){const n=new ErrorEvent("error",{error:e,message:e.message});n[h]=this;callListener(r,this,n)}}else if(e==="open"){o=function onOpen(){const e=new Event("open");e[h]=this;callListener(r,this,e)}}else{return}o[s]=!!n[s];o[i]=r;if(n.once){this.once(e,o)}else{this.on(e,o)}},removeEventListener(e,r){for(const n of this.listeners(e)){if(n[i]===r&&!n[s]){this.removeListener(e,n);break}}}};e.exports={CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,Event:Event,EventTarget:y,MessageEvent:MessageEvent};function callListener(e,r,n){if(typeof e==="object"&&e.handleEvent){e.handleEvent.call(e,n)}else{e.call(r,n)}}},61335:(e,r,n)=>{const{tokenChars:s}=n(26615);function push(e,r,n){if(e[r]===undefined)e[r]=[n];else e[r].push(n)}function parse(e){const r=Object.create(null);let n=Object.create(null);let i=false;let o=false;let c=false;let u;let d;let A=-1;let h=-1;let g=-1;let m=0;for(;m{let n=e[r];if(!Array.isArray(n))n=[n];return n.map((e=>[r].concat(Object.keys(e).map((r=>{let n=e[r];if(!Array.isArray(n))n=[n];return n.map((e=>e===true?r:`${r}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")}e.exports={format:format,parse:parse}},10958:e=>{const r=Symbol("kDone");const n=Symbol("kRun");class Limiter{constructor(e){this[r]=()=>{this.pending--;this[n]()};this.concurrency=e||Infinity;this.jobs=[];this.pending=0}add(e){this.jobs.push(e);this[n]()}[n](){if(this.pending===this.concurrency)return;if(this.jobs.length){const e=this.jobs.shift();this.pending++;e(this[r])}}}e.exports=Limiter},4376:(e,r,n)=>{const s=n(43106);const i=n(95803);const o=n(10958);const{kStatusCode:c}=n(71791);const u=Buffer[Symbol.species];const d=Buffer.from([0,0,255,255]);const A=Symbol("permessage-deflate");const h=Symbol("total-length");const g=Symbol("callback");const m=Symbol("buffers");const y=Symbol("error");let E;class PerMessageDeflate{constructor(e,r,n){this._maxPayload=n|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!r;this._deflate=null;this._inflate=null;this.params=null;if(!E){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;E=new o(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};if(this._options.serverNoContextTakeover){e.server_no_context_takeover=true}if(this._options.clientNoContextTakeover){e.client_no_context_takeover=true}if(this._options.serverMaxWindowBits){e.server_max_window_bits=this._options.serverMaxWindowBits}if(this._options.clientMaxWindowBits){e.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits==null){e.client_max_window_bits=true}return e}accept(e){e=this.normalizeParams(e);this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e);return this.params}cleanup(){if(this._inflate){this._inflate.close();this._inflate=null}if(this._deflate){const e=this._deflate[g];this._deflate.close();this._deflate=null;if(e){e(new Error("The deflate stream was closed while data was being processed"))}}}acceptAsServer(e){const r=this._options;const n=e.find((e=>{if(r.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(r.serverMaxWindowBits===false||typeof r.serverMaxWindowBits==="number"&&r.serverMaxWindowBits>e.server_max_window_bits)||typeof r.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true}));if(!n){throw new Error("None of the extension offers can be accepted")}if(r.serverNoContextTakeover){n.server_no_context_takeover=true}if(r.clientNoContextTakeover){n.client_no_context_takeover=true}if(typeof r.serverMaxWindowBits==="number"){n.server_max_window_bits=r.serverMaxWindowBits}if(typeof r.clientMaxWindowBits==="number"){n.client_max_window_bits=r.clientMaxWindowBits}else if(n.client_max_window_bits===true||r.clientMaxWindowBits===false){delete n.client_max_window_bits}return n}acceptAsClient(e){const r=e[0];if(this._options.clientNoContextTakeover===false&&r.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!r.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){r.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&r.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return r}normalizeParams(e){e.forEach((e=>{Object.keys(e).forEach((r=>{let n=e[r];if(n.length>1){throw new Error(`Parameter "${r}" must have only a single value`)}n=n[0];if(r==="client_max_window_bits"){if(n!==true){const e=+n;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${r}": ${n}`)}n=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${r}": ${n}`)}}else if(r==="server_max_window_bits"){const e=+n;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${r}": ${n}`)}n=e}else if(r==="client_no_context_takeover"||r==="server_no_context_takeover"){if(n!==true){throw new TypeError(`Invalid value for parameter "${r}": ${n}`)}}else{throw new Error(`Unknown parameter "${r}"`)}e[r]=n}))}));return e}decompress(e,r,n){E.add((s=>{this._decompress(e,r,((e,r)=>{s();n(e,r)}))}))}compress(e,r,n){E.add((s=>{this._compress(e,r,((e,r)=>{s();n(e,r)}))}))}_decompress(e,r,n){const o=this._isServer?"client":"server";if(!this._inflate){const e=`${o}_max_window_bits`;const r=typeof this.params[e]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:r});this._inflate[A]=this;this._inflate[h]=0;this._inflate[m]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[g]=n;this._inflate.write(e);if(r)this._inflate.write(d);this._inflate.flush((()=>{const e=this._inflate[y];if(e){this._inflate.close();this._inflate=null;n(e);return}const s=i.concat(this._inflate[m],this._inflate[h]);if(this._inflate._readableState.endEmitted){this._inflate.close();this._inflate=null}else{this._inflate[h]=0;this._inflate[m]=[];if(r&&this.params[`${o}_no_context_takeover`]){this._inflate.reset()}}n(null,s)}))}_compress(e,r,n){const o=this._isServer?"server":"client";if(!this._deflate){const e=`${o}_max_window_bits`;const r=typeof this.params[e]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:r});this._deflate[h]=0;this._deflate[m]=[];this._deflate.on("data",deflateOnData)}this._deflate[g]=n;this._deflate.write(e);this._deflate.flush(s.Z_SYNC_FLUSH,(()=>{if(!this._deflate){return}let e=i.concat(this._deflate[m],this._deflate[h]);if(r){e=new u(e.buffer,e.byteOffset,e.length-4)}this._deflate[g]=null;this._deflate[h]=0;this._deflate[m]=[];if(r&&this.params[`${o}_no_context_takeover`]){this._deflate.reset()}n(null,e)}))}}e.exports=PerMessageDeflate;function deflateOnData(e){this[m].push(e);this[h]+=e.length}function inflateOnData(e){this[h]+=e.length;if(this[A]._maxPayload<1||this[h]<=this[A]._maxPayload){this[m].push(e);return}this[y]=new RangeError("Max payload size exceeded");this[y].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH";this[y][c]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[A]._inflate=null;e[c]=1007;this[g](e)}},20893:(e,r,n)=>{const{Writable:s}=n(2203);const i=n(4376);const{BINARY_TYPES:o,EMPTY_BUFFER:c,kStatusCode:u,kWebSocket:d}=n(71791);const{concat:A,toArrayBuffer:h,unmask:g}=n(95803);const{isValidStatusCode:m,isValidUTF8:y}=n(26615);const E=Buffer[Symbol.species];const _=0;const b=1;const I=2;const v=3;const C=4;const w=5;const B=6;class Receiver extends s{constructor(e={}){super();this._allowSynchronousEvents=e.allowSynchronousEvents!==undefined?e.allowSynchronousEvents:true;this._binaryType=e.binaryType||o[0];this._extensions=e.extensions||{};this._isServer=!!e.isServer;this._maxPayload=e.maxPayload|0;this._skipUTF8Validation=!!e.skipUTF8Validation;this[d]=undefined;this._bufferedBytes=0;this._buffers=[];this._compressed=false;this._payloadLength=0;this._mask=undefined;this._fragmented=0;this._masked=false;this._fin=false;this._opcode=0;this._totalPayloadLength=0;this._messageLength=0;this._fragments=[];this._errored=false;this._loop=false;this._state=_}_write(e,r,n){if(this._opcode===8&&this._state==_)return n();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(n)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e=n.length){r.set(this._buffers.shift(),s)}else{r.set(new Uint8Array(n.buffer,n.byteOffset,e),s);this._buffers[0]=new E(n.buffer,n.byteOffset+e,n.length-e)}e-=n.length}while(e>0);return r}startLoop(e){this._loop=true;do{switch(this._state){case _:this.getInfo(e);break;case b:this.getPayloadLength16(e);break;case I:this.getPayloadLength64(e);break;case v:this.getMask();break;case C:this.getData(e);break;case w:case B:this._loop=false;return}}while(this._loop);if(!this._errored)e()}getInfo(e){if(this._bufferedBytes<2){this._loop=false;return}const r=this.consume(2);if((r[0]&48)!==0){const r=this.createError(RangeError,"RSV2 and RSV3 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_2_3");e(r);return}const n=(r[0]&64)===64;if(n&&!this._extensions[i.extensionName]){const r=this.createError(RangeError,"RSV1 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}this._fin=(r[0]&128)===128;this._opcode=r[0]&15;this._payloadLength=r[1]&127;if(this._opcode===0){if(n){const r=this.createError(RangeError,"RSV1 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(!this._fragmented){const r=this.createError(RangeError,"invalid opcode 0",true,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){const r=this.createError(RangeError,`invalid opcode ${this._opcode}`,true,1002,"WS_ERR_INVALID_OPCODE");e(r);return}this._compressed=n}else if(this._opcode>7&&this._opcode<11){if(!this._fin){const r=this.createError(RangeError,"FIN must be set",true,1002,"WS_ERR_EXPECTED_FIN");e(r);return}if(n){const r=this.createError(RangeError,"RSV1 must be clear",true,1002,"WS_ERR_UNEXPECTED_RSV_1");e(r);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){const r=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,true,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");e(r);return}}else{const r=this.createError(RangeError,`invalid opcode ${this._opcode}`,true,1002,"WS_ERR_INVALID_OPCODE");e(r);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(r[1]&128)===128;if(this._isServer){if(!this._masked){const r=this.createError(RangeError,"MASK must be set",true,1002,"WS_ERR_EXPECTED_MASK");e(r);return}}else if(this._masked){const r=this.createError(RangeError,"MASK must be clear",true,1002,"WS_ERR_UNEXPECTED_MASK");e(r);return}if(this._payloadLength===126)this._state=b;else if(this._payloadLength===127)this._state=I;else this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=false;return}const r=this.consume(8);const n=r.readUInt32BE(0);if(n>Math.pow(2,53-32)-1){const r=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");e(r);return}this._payloadLength=n*Math.pow(2,32)+r.readUInt32BE(4);this.haveLength(e)}haveLength(e){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){const r=this.createError(RangeError,"Max payload size exceeded",false,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");e(r);return}}if(this._masked)this._state=v;else this._state=C}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=C}getData(e){let r=c;if(this._payloadLength){if(this._bufferedBytes7){this.controlMessage(r,e);return}if(this._compressed){this._state=w;this.decompress(r,e);return}if(r.length){this._messageLength=this._totalPayloadLength;this._fragments.push(r)}this.dataMessage(e)}decompress(e,r){const n=this._extensions[i.extensionName];n.decompress(e,this._fin,((e,n)=>{if(e)return r(e);if(n.length){this._messageLength+=n.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){const e=this.createError(RangeError,"Max payload size exceeded",false,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");r(e);return}this._fragments.push(n)}this.dataMessage(r);if(this._state===_)this.startLoop(r)}))}dataMessage(e){if(!this._fin){this._state=_;return}const r=this._messageLength;const n=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){let s;if(this._binaryType==="nodebuffer"){s=A(n,r)}else if(this._binaryType==="arraybuffer"){s=h(A(n,r))}else if(this._binaryType==="blob"){s=new Blob(n)}else{s=n}if(this._allowSynchronousEvents){this.emit("message",s,true);this._state=_}else{this._state=B;setImmediate((()=>{this.emit("message",s,true);this._state=_;this.startLoop(e)}))}}else{const s=A(n,r);if(!this._skipUTF8Validation&&!y(s)){const r=this.createError(Error,"invalid UTF-8 sequence",true,1007,"WS_ERR_INVALID_UTF8");e(r);return}if(this._state===w||this._allowSynchronousEvents){this.emit("message",s,false);this._state=_}else{this._state=B;setImmediate((()=>{this.emit("message",s,false);this._state=_;this.startLoop(e)}))}}}controlMessage(e,r){if(this._opcode===8){if(e.length===0){this._loop=false;this.emit("conclude",1005,c);this.end()}else{const n=e.readUInt16BE(0);if(!m(n)){const e=this.createError(RangeError,`invalid status code ${n}`,true,1002,"WS_ERR_INVALID_CLOSE_CODE");r(e);return}const s=new E(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!y(s)){const e=this.createError(Error,"invalid UTF-8 sequence",true,1007,"WS_ERR_INVALID_UTF8");r(e);return}this._loop=false;this.emit("conclude",n,s);this.end()}this._state=_;return}if(this._allowSynchronousEvents){this.emit(this._opcode===9?"ping":"pong",e);this._state=_}else{this._state=B;setImmediate((()=>{this.emit(this._opcode===9?"ping":"pong",e);this._state=_;this.startLoop(r)}))}}createError(e,r,n,s,i){this._loop=false;this._errored=true;const o=new e(n?`Invalid WebSocket frame: ${r}`:r);Error.captureStackTrace(o,this.createError);o.code=i;o[u]=s;return o}}e.exports=Receiver},7389:(e,r,n)=>{const{Duplex:s}=n(2203);const{randomFillSync:i}=n(76982);const o=n(4376);const{EMPTY_BUFFER:c,kWebSocket:u,NOOP:d}=n(71791);const{isBlob:A,isValidStatusCode:h}=n(26615);const{mask:g,toBuffer:m}=n(95803);const y=Symbol("kByteLength");const E=Buffer.alloc(4);const _=8*1024;let b;let I=_;const v=0;const C=1;const w=2;class Sender{constructor(e,r,n){this._extensions=r||{};if(n){this._generateMask=n;this._maskBuffer=Buffer.alloc(4)}this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._queue=[];this._state=v;this.onerror=d;this[u]=undefined}static frame(e,r){let n;let s=false;let o=2;let c=false;if(r.mask){n=r.maskBuffer||E;if(r.generateMask){r.generateMask(n)}else{if(I===_){if(b===undefined){b=Buffer.alloc(_)}i(b,0,_);I=0}n[0]=b[I++];n[1]=b[I++];n[2]=b[I++];n[3]=b[I++]}c=(n[0]|n[1]|n[2]|n[3])===0;o=6}let u;if(typeof e==="string"){if((!r.mask||c)&&r[y]!==undefined){u=r[y]}else{e=Buffer.from(e);u=e.length}}else{u=e.length;s=r.mask&&r.readOnly&&!c}let d=u;if(u>=65536){o+=8;d=127}else if(u>125){o+=2;d=126}const A=Buffer.allocUnsafe(s?u+o:o);A[0]=r.fin?r.opcode|128:r.opcode;if(r.rsv1)A[0]|=64;A[1]=d;if(d===126){A.writeUInt16BE(u,2)}else if(d===127){A[2]=A[3]=0;A.writeUIntBE(u,4,6)}if(!r.mask)return[A,e];A[1]|=128;A[o-4]=n[0];A[o-3]=n[1];A[o-2]=n[2];A[o-1]=n[3];if(c)return[A,e];if(s){g(e,n,A,o,u);return[A]}g(e,n,e,0,u);return[A,e]}close(e,r,n,s){let i;if(e===undefined){i=c}else if(typeof e!=="number"||!h(e)){throw new TypeError("First argument must be a valid error code number")}else if(r===undefined||!r.length){i=Buffer.allocUnsafe(2);i.writeUInt16BE(e,0)}else{const n=Buffer.byteLength(r);if(n>123){throw new RangeError("The message must not be greater than 123 bytes")}i=Buffer.allocUnsafe(2+n);i.writeUInt16BE(e,0);if(typeof r==="string"){i.write(r,2)}else{i.set(r,2)}}const o={[y]:i.length,fin:true,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:false,rsv1:false};if(this._state!==v){this.enqueue([this.dispatch,i,false,o,s])}else{this.sendFrame(Sender.frame(i,o),s)}}ping(e,r,n){let s;let i;if(typeof e==="string"){s=Buffer.byteLength(e);i=false}else if(A(e)){s=e.size;i=false}else{e=m(e);s=e.length;i=m.readOnly}if(s>125){throw new RangeError("The data size must not be greater than 125 bytes")}const o={[y]:s,fin:true,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:false};if(A(e)){if(this._state!==v){this.enqueue([this.getBlobData,e,false,o,n])}else{this.getBlobData(e,false,o,n)}}else if(this._state!==v){this.enqueue([this.dispatch,e,false,o,n])}else{this.sendFrame(Sender.frame(e,o),n)}}pong(e,r,n){let s;let i;if(typeof e==="string"){s=Buffer.byteLength(e);i=false}else if(A(e)){s=e.size;i=false}else{e=m(e);s=e.length;i=m.readOnly}if(s>125){throw new RangeError("The data size must not be greater than 125 bytes")}const o={[y]:s,fin:true,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:false};if(A(e)){if(this._state!==v){this.enqueue([this.getBlobData,e,false,o,n])}else{this.getBlobData(e,false,o,n)}}else if(this._state!==v){this.enqueue([this.dispatch,e,false,o,n])}else{this.sendFrame(Sender.frame(e,o),n)}}send(e,r,n){const s=this._extensions[o.extensionName];let i=r.binary?2:1;let c=r.compress;let u;let d;if(typeof e==="string"){u=Buffer.byteLength(e);d=false}else if(A(e)){u=e.size;d=false}else{e=m(e);u=e.length;d=m.readOnly}if(this._firstFragment){this._firstFragment=false;if(c&&s&&s.params[s._isServer?"server_no_context_takeover":"client_no_context_takeover"]){c=u>=s._threshold}this._compress=c}else{c=false;i=0}if(r.fin)this._firstFragment=true;const h={[y]:u,fin:r.fin,generateMask:this._generateMask,mask:r.mask,maskBuffer:this._maskBuffer,opcode:i,readOnly:d,rsv1:c};if(A(e)){if(this._state!==v){this.enqueue([this.getBlobData,e,this._compress,h,n])}else{this.getBlobData(e,this._compress,h,n)}}else if(this._state!==v){this.enqueue([this.dispatch,e,this._compress,h,n])}else{this.dispatch(e,this._compress,h,n)}}getBlobData(e,r,n,s){this._bufferedBytes+=n[y];this._state=w;e.arrayBuffer().then((e=>{if(this._socket.destroyed){const e=new Error("The socket was closed while the blob was being read");process.nextTick(callCallbacks,this,e,s);return}this._bufferedBytes-=n[y];const i=m(e);if(!r){this._state=v;this.sendFrame(Sender.frame(i,n),s);this.dequeue()}else{this.dispatch(i,r,n,s)}})).catch((e=>{process.nextTick(onError,this,e,s)}))}dispatch(e,r,n,s){if(!r){this.sendFrame(Sender.frame(e,n),s);return}const i=this._extensions[o.extensionName];this._bufferedBytes+=n[y];this._state=C;i.compress(e,n.fin,((e,r)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");callCallbacks(this,e,s);return}this._bufferedBytes-=n[y];this._state=v;n.readOnly=false;this.sendFrame(Sender.frame(r,n),s);this.dequeue()}))}dequeue(){while(this._state===v&&this._queue.length){const e=this._queue.shift();this._bufferedBytes-=e[3][y];Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][y];this._queue.push(e)}sendFrame(e,r){if(e.length===2){this._socket.cork();this._socket.write(e[0]);this._socket.write(e[1],r);this._socket.uncork()}else{this._socket.write(e[0],r)}}}e.exports=Sender;function callCallbacks(e,r,n){if(typeof n==="function")n(r);for(let n=0;n{const{Duplex:s}=n(2203);function emitClose(e){e.emit("close")}function duplexOnEnd(){if(!this.destroyed&&this._writableState.finished){this.destroy()}}function duplexOnError(e){this.removeListener("error",duplexOnError);this.destroy();if(this.listenerCount("error")===0){this.emit("error",e)}}function createWebSocketStream(e,r){let n=true;const i=new s({...r,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",(function message(r,n){const s=!n&&i._readableState.objectMode?r.toString():r;if(!i.push(s))e.pause()}));e.once("error",(function error(e){if(i.destroyed)return;n=false;i.destroy(e)}));e.once("close",(function close(){if(i.destroyed)return;i.push(null)}));i._destroy=function(r,s){if(e.readyState===e.CLOSED){s(r);process.nextTick(emitClose,i);return}let o=false;e.once("error",(function error(e){o=true;s(e)}));e.once("close",(function close(){if(!o)s(r);process.nextTick(emitClose,i)}));if(n)e.terminate()};i._final=function(r){if(e.readyState===e.CONNECTING){e.once("open",(function open(){i._final(r)}));return}if(e._socket===null)return;if(e._socket._writableState.finished){r();if(i._readableState.endEmitted)i.destroy()}else{e._socket.once("finish",(function finish(){r()}));e.close()}};i._read=function(){if(e.isPaused)e.resume()};i._write=function(r,n,s){if(e.readyState===e.CONNECTING){e.once("open",(function open(){i._write(r,n,s)}));return}e.send(r,s)};i.on("end",duplexOnEnd);i.on("error",duplexOnError);return i}e.exports=createWebSocketStream},43332:(e,r,n)=>{const{tokenChars:s}=n(26615);function parse(e){const r=new Set;let n=-1;let i=-1;let o=0;for(o;o{const{isUtf8:s}=n(20181);const{hasBlob:i}=n(71791);const o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function isValidStatusCode(e){return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999}function _isValidUTF8(e){const r=e.length;let n=0;while(n=r||(e[n+1]&192)!==128||(e[n+2]&192)!==128||e[n]===224&&(e[n+1]&224)===128||e[n]===237&&(e[n+1]&224)===160){return false}n+=3}else if((e[n]&248)===240){if(n+3>=r||(e[n+1]&192)!==128||(e[n+2]&192)!==128||(e[n+3]&192)!==128||e[n]===240&&(e[n+1]&240)===128||e[n]===244&&e[n+1]>143||e[n]>244){return false}n+=4}else{return false}}return true}function isBlob(e){return i&&typeof e==="object"&&typeof e.arrayBuffer==="function"&&typeof e.type==="string"&&typeof e.stream==="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}e.exports={isBlob:isBlob,isValidStatusCode:isValidStatusCode,isValidUTF8:_isValidUTF8,tokenChars:o};if(s){e.exports.isValidUTF8=function(e){return e.length<24?_isValidUTF8(e):s(e)}}else if(!process.env.WS_NO_UTF_8_VALIDATE){try{const r=n(40397);e.exports.isValidUTF8=function(e){return e.length<32?_isValidUTF8(e):r(e)}}catch(e){}}},70129:(e,r,n)=>{const s=n(24434);const i=n(58611);const{Duplex:o}=n(2203);const{createHash:c}=n(76982);const u=n(61335);const d=n(4376);const A=n(43332);const h=n(56681);const{GUID:g,kWebSocket:m}=n(71791);const y=/^[+/0-9A-Za-z]{22}==$/;const E=0;const _=1;const b=2;class WebSocketServer extends s{constructor(e,r){super();e={allowSynchronousEvents:true,autoPong:true,maxPayload:100*1024*1024,skipUTF8Validation:false,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null,WebSocket:h,...e};if(e.port==null&&!e.server&&!e.noServer||e.port!=null&&(e.server||e.noServer)||e.server&&e.noServer){throw new TypeError('One and only one of the "port", "server", or "noServer" options '+"must be specified")}if(e.port!=null){this._server=i.createServer(((e,r)=>{const n=i.STATUS_CODES[426];r.writeHead(426,{"Content-Length":n.length,"Content-Type":"text/plain"});r.end(n)}));this._server.listen(e.port,e.host,e.backlog,r)}else if(e.server){this._server=e.server}if(this._server){const e=this.emit.bind(this,"connection");this._removeListeners=addListeners(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(r,n,s)=>{this.handleUpgrade(r,n,s,e)}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking){this.clients=new Set;this._shouldEmitClose=false}this.options=e;this._state=E}address(){if(this.options.noServer){throw new Error('The server is operating in "noServer" mode')}if(!this._server)return null;return this._server.address()}close(e){if(this._state===b){if(e){this.once("close",(()=>{e(new Error("The server is not running"))}))}process.nextTick(emitClose,this);return}if(e)this.once("close",e);if(this._state===_)return;this._state=_;if(this.options.noServer||this.options.server){if(this._server){this._removeListeners();this._removeListeners=this._server=null}if(this.clients){if(!this.clients.size){process.nextTick(emitClose,this)}else{this._shouldEmitClose=true}}else{process.nextTick(emitClose,this)}}else{const e=this._server;this._removeListeners();this._removeListeners=this._server=null;e.close((()=>{emitClose(this)}))}}shouldHandle(e){if(this.options.path){const r=e.url.indexOf("?");const n=r!==-1?e.url.slice(0,r):e.url;if(n!==this.options.path)return false}return true}handleUpgrade(e,r,n,s){r.on("error",socketOnError);const i=e.headers["sec-websocket-key"];const o=e.headers.upgrade;const c=+e.headers["sec-websocket-version"];if(e.method!=="GET"){const n="Invalid HTTP method";abortHandshakeOrEmitwsClientError(this,e,r,405,n);return}if(o===undefined||o.toLowerCase()!=="websocket"){const n="Invalid Upgrade header";abortHandshakeOrEmitwsClientError(this,e,r,400,n);return}if(i===undefined||!y.test(i)){const n="Missing or invalid Sec-WebSocket-Key header";abortHandshakeOrEmitwsClientError(this,e,r,400,n);return}if(c!==8&&c!==13){const n="Missing or invalid Sec-WebSocket-Version header";abortHandshakeOrEmitwsClientError(this,e,r,400,n);return}if(!this.shouldHandle(e)){abortHandshake(r,400);return}const h=e.headers["sec-websocket-protocol"];let g=new Set;if(h!==undefined){try{g=A.parse(h)}catch(n){const s="Invalid Sec-WebSocket-Protocol header";abortHandshakeOrEmitwsClientError(this,e,r,400,s);return}}const m=e.headers["sec-websocket-extensions"];const E={};if(this.options.perMessageDeflate&&m!==undefined){const n=new d(this.options.perMessageDeflate,true,this.options.maxPayload);try{const e=u.parse(m);if(e[d.extensionName]){n.accept(e[d.extensionName]);E[d.extensionName]=n}}catch(n){const s="Invalid or unacceptable Sec-WebSocket-Extensions header";abortHandshakeOrEmitwsClientError(this,e,r,400,s);return}}if(this.options.verifyClient){const o={origin:e.headers[`${c===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(o,((o,c,u,d)=>{if(!o){return abortHandshake(r,c||401,u,d)}this.completeUpgrade(E,i,g,e,r,n,s)}));return}if(!this.options.verifyClient(o))return abortHandshake(r,401)}this.completeUpgrade(E,i,g,e,r,n,s)}completeUpgrade(e,r,n,s,i,o,A){if(!i.readable||!i.writable)return i.destroy();if(i[m]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}if(this._state>E)return abortHandshake(i,503);const h=c("sha1").update(r+g).digest("base64");const y=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${h}`];const _=new this.options.WebSocket(null,undefined,this.options);if(n.size){const e=this.options.handleProtocols?this.options.handleProtocols(n,s):n.values().next().value;if(e){y.push(`Sec-WebSocket-Protocol: ${e}`);_._protocol=e}}if(e[d.extensionName]){const r=e[d.extensionName].params;const n=u.format({[d.extensionName]:[r]});y.push(`Sec-WebSocket-Extensions: ${n}`);_._extensions=e}this.emit("headers",y,s);i.write(y.concat("\r\n").join("\r\n"));i.removeListener("error",socketOnError);_.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation});if(this.clients){this.clients.add(_);_.on("close",(()=>{this.clients.delete(_);if(this._shouldEmitClose&&!this.clients.size){process.nextTick(emitClose,this)}}))}A(_,s)}}e.exports=WebSocketServer;function addListeners(e,r){for(const n of Object.keys(r))e.on(n,r[n]);return function removeListeners(){for(const n of Object.keys(r)){e.removeListener(n,r[n])}}}function emitClose(e){e._state=b;e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,r,n,s){n=n||i.STATUS_CODES[r];s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(n),...s};e.once("finish",e.destroy);e.end(`HTTP/1.1 ${r} ${i.STATUS_CODES[r]}\r\n`+Object.keys(s).map((e=>`${e}: ${s[e]}`)).join("\r\n")+"\r\n\r\n"+n)}function abortHandshakeOrEmitwsClientError(e,r,n,s,i){if(e.listenerCount("wsClientError")){const s=new Error(i);Error.captureStackTrace(s,abortHandshakeOrEmitwsClientError);e.emit("wsClientError",s,n,r)}else{abortHandshake(n,s,i)}}},56681:(e,r,n)=>{const s=n(24434);const i=n(65692);const o=n(58611);const c=n(69278);const u=n(64756);const{randomBytes:d,createHash:A}=n(76982);const{Duplex:h,Readable:g}=n(2203);const{URL:m}=n(87016);const y=n(4376);const E=n(20893);const _=n(7389);const{isBlob:b}=n(26615);const{BINARY_TYPES:I,EMPTY_BUFFER:v,GUID:C,kForOnEventAttribute:w,kListener:B,kStatusCode:S,kWebSocket:T,NOOP:k}=n(71791);const{EventTarget:{addEventListener:R,removeEventListener:Q}}=n(34634);const{format:P,parse:O}=n(61335);const{toBuffer:D}=n(95803);const F=30*1e3;const M=Symbol("kAborted");const x=[8,13];const U=["CONNECTING","OPEN","CLOSING","CLOSED"];const N=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class WebSocket extends s{constructor(e,r,n){super();this._binaryType=I[0];this._closeCode=1006;this._closeFrameReceived=false;this._closeFrameSent=false;this._closeMessage=v;this._closeTimer=null;this._errorEmitted=false;this._extensions={};this._paused=false;this._protocol="";this._readyState=WebSocket.CONNECTING;this._receiver=null;this._sender=null;this._socket=null;if(e!==null){this._bufferedAmount=0;this._isServer=false;this._redirects=0;if(r===undefined){r=[]}else if(!Array.isArray(r)){if(typeof r==="object"&&r!==null){n=r;r=[]}else{r=[r]}}initAsClient(this,e,r,n)}else{this._autoPong=n.autoPong;this._isServer=true}}get binaryType(){return this._binaryType}set binaryType(e){if(!I.includes(e))return;this._binaryType=e;if(this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,r,n){const s=new E({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation});const i=new _(e,this._extensions,n.generateMask);this._receiver=s;this._sender=i;this._socket=e;s[T]=this;i[T]=this;e[T]=this;s.on("conclude",receiverOnConclude);s.on("drain",receiverOnDrain);s.on("error",receiverOnError);s.on("message",receiverOnMessage);s.on("ping",receiverOnPing);s.on("pong",receiverOnPong);i.onerror=senderOnError;if(e.setTimeout)e.setTimeout(0);if(e.setNoDelay)e.setNoDelay();if(r.length>0)e.unshift(r);e.on("close",socketOnClose);e.on("data",socketOnData);e.on("end",socketOnEnd);e.on("error",socketOnError);this._readyState=WebSocket.OPEN;this.emit("open")}emitClose(){if(!this._socket){this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[y.extensionName]){this._extensions[y.extensionName].cleanup()}this._receiver.removeAllListeners();this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";abortHandshake(this,this._req,e);return}if(this.readyState===WebSocket.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)){this._socket.end()}return}this._readyState=WebSocket.CLOSING;this._sender.close(e,r,!this._isServer,(e=>{if(e)return;this._closeFrameSent=true;if(this._closeFrameReceived||this._receiver._writableState.errorEmitted){this._socket.end()}}));setCloseTimer(this)}pause(){if(this.readyState===WebSocket.CONNECTING||this.readyState===WebSocket.CLOSED){return}this._paused=true;this._socket.pause()}ping(e,r,n){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){n=e;e=r=undefined}else if(typeof r==="function"){n=r;r=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,n);return}if(r===undefined)r=!this._isServer;this._sender.ping(e||v,r,n)}pong(e,r,n){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){n=e;e=r=undefined}else if(typeof r==="function"){n=r;r=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,n);return}if(r===undefined)r=!this._isServer;this._sender.pong(e||v,r,n)}resume(){if(this.readyState===WebSocket.CONNECTING||this.readyState===WebSocket.CLOSED){return}this._paused=false;if(!this._receiver._writableState.needDrain)this._socket.resume()}send(e,r,n){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof r==="function"){n=r;r={}}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,n);return}const s={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...r};if(!this._extensions[y.extensionName]){s.compress=false}this._sender.send(e||v,s,n)}terminate(){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";abortHandshake(this,this._req,e);return}if(this._socket){this._readyState=WebSocket.CLOSING;this._socket.destroy()}}}Object.defineProperty(WebSocket,"CONNECTING",{enumerable:true,value:U.indexOf("CONNECTING")});Object.defineProperty(WebSocket.prototype,"CONNECTING",{enumerable:true,value:U.indexOf("CONNECTING")});Object.defineProperty(WebSocket,"OPEN",{enumerable:true,value:U.indexOf("OPEN")});Object.defineProperty(WebSocket.prototype,"OPEN",{enumerable:true,value:U.indexOf("OPEN")});Object.defineProperty(WebSocket,"CLOSING",{enumerable:true,value:U.indexOf("CLOSING")});Object.defineProperty(WebSocket.prototype,"CLOSING",{enumerable:true,value:U.indexOf("CLOSING")});Object.defineProperty(WebSocket,"CLOSED",{enumerable:true,value:U.indexOf("CLOSED")});Object.defineProperty(WebSocket.prototype,"CLOSED",{enumerable:true,value:U.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((e=>{Object.defineProperty(WebSocket.prototype,e,{enumerable:true})}));["open","error","close","message"].forEach((e=>{Object.defineProperty(WebSocket.prototype,`on${e}`,{enumerable:true,get(){for(const r of this.listeners(e)){if(r[w])return r[B]}return null},set(r){for(const r of this.listeners(e)){if(r[w]){this.removeListener(e,r);break}}if(typeof r!=="function")return;this.addEventListener(e,r,{[w]:true})}})}));WebSocket.prototype.addEventListener=R;WebSocket.prototype.removeEventListener=Q;e.exports=WebSocket;function initAsClient(e,r,n,s){const c={allowSynchronousEvents:true,autoPong:true,protocolVersion:x[1],maxPayload:100*1024*1024,skipUTF8Validation:false,perMessageDeflate:true,followRedirects:false,maxRedirects:10,...s,socketPath:undefined,hostname:undefined,protocol:undefined,timeout:undefined,method:"GET",host:undefined,path:undefined,port:undefined};e._autoPong=c.autoPong;if(!x.includes(c.protocolVersion)){throw new RangeError(`Unsupported protocol version: ${c.protocolVersion} `+`(supported versions: ${x.join(", ")})`)}let u;if(r instanceof m){u=r}else{try{u=new m(r)}catch(e){throw new SyntaxError(`Invalid URL: ${r}`)}}if(u.protocol==="http:"){u.protocol="ws:"}else if(u.protocol==="https:"){u.protocol="wss:"}e._url=u.href;const h=u.protocol==="wss:";const g=u.protocol==="ws+unix:";let E;if(u.protocol!=="ws:"&&!h&&!g){E='The URL\'s protocol must be one of "ws:", "wss:", '+'"http:", "https", or "ws+unix:"'}else if(g&&!u.pathname){E="The URL's pathname is empty"}else if(u.hash){E="The URL contains a fragment identifier"}if(E){const r=new SyntaxError(E);if(e._redirects===0){throw r}else{emitErrorAndClose(e,r);return}}const _=h?443:80;const b=d(16).toString("base64");const I=h?i.request:o.request;const v=new Set;let w;c.createConnection=c.createConnection||(h?tlsConnect:netConnect);c.defaultPort=c.defaultPort||_;c.port=u.port||_;c.host=u.hostname.startsWith("[")?u.hostname.slice(1,-1):u.hostname;c.headers={...c.headers,"Sec-WebSocket-Version":c.protocolVersion,"Sec-WebSocket-Key":b,Connection:"Upgrade",Upgrade:"websocket"};c.path=u.pathname+u.search;c.timeout=c.handshakeTimeout;if(c.perMessageDeflate){w=new y(c.perMessageDeflate!==true?c.perMessageDeflate:{},false,c.maxPayload);c.headers["Sec-WebSocket-Extensions"]=P({[y.extensionName]:w.offer()})}if(n.length){for(const e of n){if(typeof e!=="string"||!N.test(e)||v.has(e)){throw new SyntaxError("An invalid or duplicated subprotocol was specified")}v.add(e)}c.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(c.origin){if(c.protocolVersion<13){c.headers["Sec-WebSocket-Origin"]=c.origin}else{c.headers.Origin=c.origin}}if(u.username||u.password){c.auth=`${u.username}:${u.password}`}if(g){const e=c.path.split(":");c.socketPath=e[0];c.path=e[1]}let B;if(c.followRedirects){if(e._redirects===0){e._originalIpc=g;e._originalSecure=h;e._originalHostOrSocketPath=g?c.socketPath:u.host;const r=s&&s.headers;s={...s,headers:{}};if(r){for(const[e,n]of Object.entries(r)){s.headers[e.toLowerCase()]=n}}}else if(e.listenerCount("redirect")===0){const r=g?e._originalIpc?c.socketPath===e._originalHostOrSocketPath:false:e._originalIpc?false:u.host===e._originalHostOrSocketPath;if(!r||e._originalSecure&&!h){delete c.headers.authorization;delete c.headers.cookie;if(!r)delete c.headers.host;c.auth=undefined}}if(c.auth&&!s.headers.authorization){s.headers.authorization="Basic "+Buffer.from(c.auth).toString("base64")}B=e._req=I(c);if(e._redirects){e.emit("redirect",e.url,B)}}else{B=e._req=I(c)}if(c.timeout){B.on("timeout",(()=>{abortHandshake(e,B,"Opening handshake has timed out")}))}B.on("error",(r=>{if(B===null||B[M])return;B=e._req=null;emitErrorAndClose(e,r)}));B.on("response",(i=>{const o=i.headers.location;const u=i.statusCode;if(o&&c.followRedirects&&u>=300&&u<400){if(++e._redirects>c.maxRedirects){abortHandshake(e,B,"Maximum redirects exceeded");return}B.abort();let i;try{i=new m(o,r)}catch(r){const n=new SyntaxError(`Invalid URL: ${o}`);emitErrorAndClose(e,n);return}initAsClient(e,i,n,s)}else if(!e.emit("unexpected-response",B,i)){abortHandshake(e,B,`Unexpected server response: ${i.statusCode}`)}}));B.on("upgrade",((r,n,s)=>{e.emit("upgrade",r);if(e.readyState!==WebSocket.CONNECTING)return;B=e._req=null;const i=r.headers.upgrade;if(i===undefined||i.toLowerCase()!=="websocket"){abortHandshake(e,n,"Invalid Upgrade header");return}const o=A("sha1").update(b+C).digest("base64");if(r.headers["sec-websocket-accept"]!==o){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const u=r.headers["sec-websocket-protocol"];let d;if(u!==undefined){if(!v.size){d="Server sent a subprotocol but none was requested"}else if(!v.has(u)){d="Server sent an invalid subprotocol"}}else if(v.size){d="Server sent no subprotocol"}if(d){abortHandshake(e,n,d);return}if(u)e._protocol=u;const h=r.headers["sec-websocket-extensions"];if(h!==undefined){if(!w){const r="Server sent a Sec-WebSocket-Extensions header but no extension "+"was requested";abortHandshake(e,n,r);return}let r;try{r=O(h)}catch(r){const s="Invalid Sec-WebSocket-Extensions header";abortHandshake(e,n,s);return}const s=Object.keys(r);if(s.length!==1||s[0]!==y.extensionName){const r="Server indicated an extension that was not requested";abortHandshake(e,n,r);return}try{w.accept(r[y.extensionName])}catch(r){const s="Invalid Sec-WebSocket-Extensions header";abortHandshake(e,n,s);return}e._extensions[y.extensionName]=w}e.setSocket(n,s,{allowSynchronousEvents:c.allowSynchronousEvents,generateMask:c.generateMask,maxPayload:c.maxPayload,skipUTF8Validation:c.skipUTF8Validation})}));if(c.finishRequest){c.finishRequest(B,e)}else{B.end()}}function emitErrorAndClose(e,r){e._readyState=WebSocket.CLOSING;e._errorEmitted=true;e.emit("error",r);e.emitClose()}function netConnect(e){e.path=e.socketPath;return c.connect(e)}function tlsConnect(e){e.path=undefined;if(!e.servername&&e.servername!==""){e.servername=c.isIP(e.host)?"":e.host}return u.connect(e)}function abortHandshake(e,r,n){e._readyState=WebSocket.CLOSING;const s=new Error(n);Error.captureStackTrace(s,abortHandshake);if(r.setHeader){r[M]=true;r.abort();if(r.socket&&!r.socket.destroyed){r.socket.destroy()}process.nextTick(emitErrorAndClose,e,s)}else{r.destroy(s);r.once("error",e.emit.bind(e,"error"));r.once("close",e.emitClose.bind(e))}}function sendAfterClose(e,r,n){if(r){const n=b(r)?r.size:D(r).length;if(e._socket)e._sender._bufferedBytes+=n;else e._bufferedAmount+=n}if(n){const r=new Error(`WebSocket is not open: readyState ${e.readyState} `+`(${U[e.readyState]})`);process.nextTick(n,r)}}function receiverOnConclude(e,r){const n=this[T];n._closeFrameReceived=true;n._closeMessage=r;n._closeCode=e;if(n._socket[T]===undefined)return;n._socket.removeListener("data",socketOnData);process.nextTick(resume,n._socket);if(e===1005)n.close();else n.close(e,r)}function receiverOnDrain(){const e=this[T];if(!e.isPaused)e._socket.resume()}function receiverOnError(e){const r=this[T];if(r._socket[T]!==undefined){r._socket.removeListener("data",socketOnData);process.nextTick(resume,r._socket);r.close(e[S])}if(!r._errorEmitted){r._errorEmitted=true;r.emit("error",e)}}function receiverOnFinish(){this[T].emitClose()}function receiverOnMessage(e,r){this[T].emit("message",e,r)}function receiverOnPing(e){const r=this[T];if(r._autoPong)r.pong(e,!this._isServer,k);r.emit("ping",e)}function receiverOnPong(e){this[T].emit("pong",e)}function resume(e){e.resume()}function senderOnError(e){const r=this[T];if(r.readyState===WebSocket.CLOSED)return;if(r.readyState===WebSocket.OPEN){r._readyState=WebSocket.CLOSING;setCloseTimer(r)}this._socket.end();if(!r._errorEmitted){r._errorEmitted=true;r.emit("error",e)}}function setCloseTimer(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),F)}function socketOnClose(){const e=this[T];this.removeListener("close",socketOnClose);this.removeListener("data",socketOnData);this.removeListener("end",socketOnEnd);e._readyState=WebSocket.CLOSING;let r;if(!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&(r=e._socket.read())!==null){e._receiver.write(r)}e._receiver.end();this[T]=undefined;clearTimeout(e._closeTimer);if(e._receiver._writableState.finished||e._receiver._writableState.errorEmitted){e.emitClose()}else{e._receiver.on("error",receiverOnFinish);e._receiver.on("finish",receiverOnFinish)}}function socketOnData(e){if(!this[T]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[T];e._readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[T];this.removeListener("error",socketOnError);this.on("error",k);if(e){e._readyState=WebSocket.CLOSING;this.destroy()}}},73546:(e,r,n)=>{e.exports={EventTarget:n(80839),Event:n(21126)}},21126:e=>{e.exports=_Event;function _Event(e){this.type=e;this.isTrusted=false;this._yaeti=true}},80839:e=>{e.exports=_EventTarget;function _EventTarget(){if(typeof this.addEventListener==="function"){return}this._listeners={};this.addEventListener=_addEventListener;this.removeEventListener=_removeEventListener;this.dispatchEvent=_dispatchEvent}Object.defineProperties(_EventTarget.prototype,{listeners:{get:function(){return this._listeners}}});function _addEventListener(e,r){var n,s,i;if(!e||!r){return}n=this._listeners[e];if(n===undefined){this._listeners[e]=n=[]}for(s=0;!!(i=n[s]);s++){if(i===r){return}}n.push(r)}function _removeEventListener(e,r){var n,s,i;if(!e||!r){return}n=this._listeners[e];if(n===undefined){return}for(s=0;!!(i=n[s]);s++){if(i===r){n.splice(s,1);break}}if(n.length===0){delete this._listeners[e]}}function _dispatchEvent(e){var r,n,s,i=false,o,c;if(!e||typeof e.type!=="string"){throw new Error("`event` must have a valid `type` property")}if(e._yaeti){e.target=this;e.cancelable=true}try{e.stopImmediatePropagation=function(){i=true}}catch(e){}r=e.type;n=this._listeners[r]||[];s=this["on"+r];if(typeof s==="function"){s.call(this,e)}for(o=0;!!(c=n[o]);o++){if(i){break}c.call(this,e)}return!e.defaultPrevented}},42078:module=>{module.exports=eval("require")("encoding")},42613:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("assert")},90290:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("async_hooks")},20181:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("buffer")},64236:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("console")},49140:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("constants")},76982:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("crypto")},31637:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("diagnostics_channel")},24434:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("events")},79896:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs")},58611:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("http")},85675:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("http2")},65692:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("https")},69278:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("net")},78474:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:events")},57075:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream")},57975:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:util")},70857:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("os")},16928:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("path")},82987:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("perf_hooks")},24876:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("punycode")},83480:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("querystring")},2203:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("stream")},63774:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("stream/web")},13193:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("string_decoder")},64756:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("tls")},52018:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("tty")},87016:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("url")},39023:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("util")},98253:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("util/types")},28167:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("worker_threads")},43106:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("zlib")},27182:(e,r,n)=>{const s=n(57075).Writable;const i=n(57975).inherits;const o=n(84136);const c=n(50612);const u=n(62271);const d=45;const A=Buffer.from("-");const h=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const r=this;this._hparser=new u(e);this._hparser.on("header",(function(e){r._inHeader=false;r._part.emit("header",e)}))}i(Dicer,s);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const r=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(r+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,r,n){if(!this._hparser&&!this._bparser){return n()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new c(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const r=this._hparser.push(e);if(!this._inHeader&&r!==undefined&&r{const s=n(78474).EventEmitter;const i=n(57975).inherits;const o=n(22393);const c=n(84136);const u=Buffer.from("\r\n\r\n");const d=/\r\n/g;const A=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.call(this);e=e||{};const r=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(e,"maxHeaderPairs",2e3);this.maxHeaderSize=o(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new c(u);this.ss.on("info",(function(e,n,s,i){if(n&&!r.maxed){if(r.nread+i-s>=r.maxHeaderSize){i=r.maxHeaderSize-r.nread+s;r.nread=r.maxHeaderSize;r.maxed=true}else{r.nread+=i-s}r.buffer+=n.toString("binary",s,i)}if(e){r._finish()}}))}i(HeaderParser,s);HeaderParser.prototype.push=function(e){const r=this.ss.push(e);if(this.finished){return r}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(d);const r=e.length;let n,s;for(var i=0;i{const s=n(57975).inherits;const i=n(57075).Readable;function PartStream(e){i.call(this,e)}s(PartStream,i);PartStream.prototype._read=function(e){};e.exports=PartStream},84136:(e,r,n)=>{const s=n(78474).EventEmitter;const i=n(57975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const r=e.length;if(r===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(r>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(r);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(r);for(var n=0;n=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const n=this._lookbehind_size+o;if(n>0){this.emit("info",false,this._lookbehind,0,n)}this._lookbehind.copy(this._lookbehind,0,n,this._lookbehind_size-n);this._lookbehind_size-=n;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=r;this._bufpos=r;return r}}o+=(o>=0)*this._bufpos;if(e.indexOf(n,o)!==-1){o=e.indexOf(n,o);++this.matches;if(o>0){this.emit("info",true,e,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+s}else{o=r-s}while(o0){this.emit("info",false,e,this._bufpos,o{const s=n(57075).Writable;const{inherits:i}=n(57975);const o=n(27182);const c=n(41192);const u=n(80855);const d=n(8929);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:r,...n}=e;this.opts={autoDestroy:false,...n};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(r);this._finished=false}i(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const r=d(e["content-type"]);const n={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:r,preservePath:this.opts.preservePath};if(c.detect.test(r[0])){return new c(this,n)}if(u.detect.test(r[0])){return new u(this,n)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,r,n){this._parser.write(e,n)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=o},41192:(e,r,n)=>{const{Readable:s}=n(57075);const{inherits:i}=n(57975);const o=n(27182);const c=n(8929);const u=n(72747);const d=n(20692);const A=n(22393);const h=/^boundary$/i;const g=/^form-data$/i;const m=/^charset$/i;const y=/^filename$/i;const E=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,r){let n;let s;const i=this;let _;const b=r.limits;const I=r.isPartAFile||((e,r,n)=>r==="application/octet-stream"||n!==undefined);const v=r.parsedConType||[];const C=r.defCharset||"utf8";const w=r.preservePath;const B={highWaterMark:r.fileHwm};for(n=0,s=v.length;nQ){i.parser.removeListener("part",onPart);i.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(r)}if(U){const e=U;e.emit("end");e.removeAllListeners("end")}r.on("header",(function(o){let A;let h;let _;let b;let v;let Q;let P=0;if(o["content-type"]){_=c(o["content-type"][0]);if(_[0]){A=_[0].toLowerCase();for(n=0,s=_.length;nT){const s=T-P+e.length;if(s>0){n.push(e.slice(0,s))}n.truncated=true;n.bytesRead=T;r.removeAllListeners("data");n.emit("limit");return}else if(!n.push(e)){i._pause=true}n.bytesRead=P};N=function(){x=undefined;n.push(null)}}else{if(F===R){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(r)}++F;++M;let n="";let s=false;U=r;O=function(e){if((P+=e.length)>S){const i=S-(P-e.length);n+=e.toString("binary",0,i);s=true;r.removeAllListeners("data")}else{n+=e.toString("binary")}};N=function(){U=undefined;if(n.length){n=u(n,"binary",b)}e.emit("field",h,n,false,s,v,A);--M;checkFinished()}}r._readableState.sync=false;r.on("data",O);r.on("end",N)})).on("error",(function(e){if(x){x.emit("error",e)}}))})).on("error",(function(r){e.emit("error",r)})).on("finish",(function(){N=true;checkFinished()}))}Multipart.prototype.write=function(e,r){const n=this.parser.write(e);if(n&&!this._pause){r()}else{this._needDrain=!n;this._cb=r}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){s.call(this,e);this.bytesRead=0;this.truncated=false}i(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},80855:(e,r,n)=>{const s=n(11496);const i=n(72747);const o=n(22393);const c=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,r){const n=r.limits;const i=r.parsedConType;this.boy=e;this.fieldSizeLimit=o(n,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(n,"fieldNameSize",100);this.fieldsLimit=o(n,"fields",Infinity);let u;for(var d=0,A=i.length;dc){this._key+=this.decoder.write(e.toString("binary",c,n))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();c=n+1}else if(s!==undefined){++this._fields;let n;const o=this._keyTrunc;if(s>c){n=this._key+=this.decoder.write(e.toString("binary",c,s))}else{n=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(n.length){this.boy.emit("field",i(n,"binary",this.charset),"",o,false)}c=s+1;if(this._fields===this.fieldsLimit){return r()}}else if(this._hitLimit){if(o>c){this._key+=this.decoder.write(e.toString("binary",c,o))}c=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(cc){this._val+=this.decoder.write(e.toString("binary",c,s))}this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();c=s+1;if(this._fields===this.fieldsLimit){return r()}}else if(this._hitLimit){if(o>c){this._val+=this.decoder.write(e.toString("binary",c,o))}c=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(c0){this.boy.emit("field",i(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},11496:e=>{const r=/\+/g;const n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(r," ");let s="";let i=0;let o=0;const c=e.length;for(;io){s+=e.substring(o,i);o=i}this.buffer="";++o}}if(o{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var r=e.length-1;r>=0;--r){switch(e.charCodeAt(r)){case 47:case 92:e=e.slice(r+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},72747:function(e){const r=new TextDecoder("utf-8");const n=new Map([["utf-8",r],["utf8",r]]);function getDecoder(e){let r;while(true){switch(e){case"utf-8":case"utf8":return s.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(r===undefined){r=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={utf8:(e,r)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,r)}return e.utf8Slice(0,e.length)},latin1:(e,r)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,r)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,r)}return e.ucs2Slice(0,e.length)},base64:(e,r)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,r)}return e.base64Slice(0,e.length)},other:(e,r)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,r)}if(n.has(this.toString())){try{return n.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,r,n){if(e){return getDecoder(n)(e,r)}return e}e.exports=decodeText},22393:e=>{e.exports=function getLimit(e,r,n){if(!e||e[r]===undefined||e[r]===null){return n}if(typeof e[r]!=="number"||isNaN(e[r])){throw new TypeError("Limit "+r+" is not a valid number")}return e[r]}},8929:(e,r,n)=>{const s=n(72747);const i=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return o[e]}const c=0;const u=1;const d=2;const A=3;function parseParams(e){const r=[];let n=c;let o="";let h=false;let g=false;let m=0;let y="";const E=e.length;for(var _=0;_{Object.defineProperty(r,"__esModule",{value:true});r.installCallbackQueryMethods=void 0;const s=n(49472);const i=n(65936);function installCallbackQueryMethods(e,r){if(r.message!==undefined){(0,i.installMessageMethods)(e,r.message)}else if(r.inline_message_id!==undefined){(0,s.installInlineMessageMethods)(e,{inline_message_id:r.inline_message_id})}const n={answer:(n,s)=>e.answerCallbackQuery({callback_query_id:r.id,...n},s)};Object.assign(r,n)}r.installCallbackQueryMethods=installCallbackQueryMethods},11006:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installChatJoinRequestMethods=void 0;function installChatJoinRequestMethods(e,r){const n={approve:n=>e.approveChatJoinRequest({chat_id:r.chat.id,user_id:r.from.id},n),decline:n=>e.declineChatJoinRequest({chat_id:r.chat.id,user_id:r.from.id},n)};Object.assign(r,n)}r.installChatJoinRequestMethods=installChatJoinRequestMethods},48541:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installChatMethods=void 0;function installChatMethods(e,r){const n={setPermissions:(n,s,i)=>e.setChatPermissions({chat_id:r.id,permissions:n,...s},i),getMember:(n,s,i)=>e.getChatMember({chat_id:r.id,user_id:n,...s},i),getMembersCount:(n,s)=>e.getChatMemberCount({chat_id:r.id,...n},s),getAdmins:(n,s)=>e.getChatAdministrators({chat_id:r.id,...n},s),setStickerSet:(n,s,i)=>e.setChatStickerSet({chat_id:r.id,sticker_set_name:n,...s},i),deleteStickerSet:(n,s)=>e.deleteChatStickerSet({chat_id:r.id,...n},s),createForumTopic:(n,s,i)=>e.createForumTopic({chat_id:r.id,name:n,...s},i),editForumTopic:(n,s,i)=>e.editForumTopic({chat_id:r.id,message_thread_id:n,...s},i),closeForumTopic:(n,s,i)=>e.closeForumTopic({chat_id:r.id,message_thread_id:n,...s},i),reopenForumTopic:(n,s,i)=>e.reopenForumTopic({chat_id:r.id,message_thread_id:n,...s},i),deleteForumTopic:(n,s,i)=>e.deleteForumTopic({chat_id:r.id,message_thread_id:n,...s},i),unpinAllForumTopicMessages:(n,s,i)=>e.unpinAllForumTopicMessages({chat_id:r.id,message_thread_id:n,...s},i),editGeneralForumTopic:(n,s,i)=>e.editGeneralForumTopic({chat_id:r.id,name:n,...s},i),closeGeneralForumTopic:(n,s)=>e.closeGeneralForumTopic({chat_id:r.id,...n},s),reopenGeneralForumTopic:(n,s)=>e.reopenGeneralForumTopic({chat_id:r.id,...n},s),hideGeneralForumTopic:(n,s)=>e.hideGeneralForumTopic({chat_id:r.id,...n},s),unhideGeneralForumTopic:(n,s)=>e.unhideGeneralForumTopic({chat_id:r.id,...n},s),setMenuButton:(n,s)=>e.setChatMenuButton({chat_id:r.id,...n},s),getMenuButton:(n,s)=>e.getChatMenuButton({chat_id:r.id,...n},s),leave:(n,s)=>e.leaveChat({chat_id:r.id,...n},s),setPhoto:(n,s,i)=>e.setChatPhoto({chat_id:r.id,photo:n,...s},i),deletePhoto:(n,s)=>e.deleteChatPhoto({chat_id:r.id,...n},s),setTitle:(n,s,i)=>e.setChatTitle({chat_id:r.id,title:n,...s},i),setDescription:(n,s,i)=>e.setChatDescription({chat_id:r.id,description:n,...s},i),unpinAllMessages:(n,s)=>e.unpinAllChatMessages({chat_id:r.id,...n},s),revokeInviteLink:(n,s,i)=>e.revokeChatInviteLink({chat_id:r.id,invite_link:n,...s},i),editInviteLink:(n,s,i)=>e.editChatInviteLink({chat_id:r.id,invite_link:n,...s},i),createInviteLink:(n,s)=>e.createChatInviteLink({chat_id:r.id,...n},s),exportInviteLink:(n,s)=>e.exportChatInviteLink({chat_id:r.id,...n},s),unbanSenderChat:(n,s,i)=>e.unbanChatSenderChat({chat_id:r.id,sender_chat_id:n,...s},i),banSenderChat:(n,s,i)=>e.banChatSenderChat({chat_id:r.id,sender_chat_id:n,...s},i),banMember:(n,s,i)=>e.banChatMember({chat_id:r.id,user_id:n,...s},i),unbanMember:(n,s,i)=>e.unbanChatMember({chat_id:r.id,user_id:n,...s},i)};Object.assign(r,n)}r.installChatMethods=installChatMethods},80065:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.installChosenInlineResultMethods=void 0;const s=n(49472);function installChosenInlineResultMethods(e,r){if(r.inline_message_id!==undefined){(0,s.installInlineMessageMethods)(e,{inline_message_id:r.inline_message_id})}}r.installChosenInlineResultMethods=installChosenInlineResultMethods},49472:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installInlineMessageMethods=void 0;function installInlineMessageMethods(e,r){const n={editReplyMarkup:(n,s)=>e.editMessageReplyMarkup({inline_message_id:r.inline_message_id,reply_markup:n},s),editText:(n,s,i)=>e.editMessageText({inline_message_id:r.inline_message_id,text:n,...s},i),editLiveLocation:(n,s,i,o)=>e.editMessageLiveLocation({inline_message_id:r.inline_message_id,latitude:n,longitude:s,...i},o),stopLiveLocation:(n,s)=>e.stopMessageLiveLocation({inline_message_id:r.inline_message_id,...n},s),editCaption:(n,s,i)=>e.editMessageCaption({inline_message_id:r.inline_message_id,caption:n,...s},i),editMedia:(n,s,i)=>e.editMessageMedia({inline_message_id:r.inline_message_id,media:n,...s},i)};Object.assign(r,n)}r.installInlineMessageMethods=installInlineMessageMethods},39255:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installInlineQueryMethods=void 0;function installInlineQueryMethods(e,r){const n={answer:(n,s,i)=>e.answerInlineQuery({inline_query_id:r.id,results:n,...s},i)};Object.assign(r,n)}r.installInlineQueryMethods=installInlineQueryMethods},65936:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installMessageMethods=void 0;function installMessageMethods(e,r){const n={forward:(n,s,i)=>e.forwardMessage({chat_id:n,from_chat_id:r.chat.id,message_id:r.message_id,...s},i),copy:(n,s,i)=>e.copyMessage({chat_id:n,from_chat_id:r.chat.id,message_id:r.message_id,...s},i),delete:n=>e.deleteMessage({chat_id:r.chat.id,message_id:r.message_id},n),editReplyMarkup:(n,s)=>e.editMessageReplyMarkup({chat_id:r.chat.id,message_id:r.message_id,reply_markup:n},s),editText:(n,s,i)=>e.editMessageText({chat_id:r.chat.id,message_id:r.message_id,text:n,...s},i),editLiveLocation:(n,s,i,o)=>e.editMessageLiveLocation({chat_id:r.chat.id,message_id:r.message_id,latitude:n,longitude:s,...i},o),stopLiveLocation:(n,s)=>e.stopMessageLiveLocation({chat_id:r.chat.id,message_id:r.message_id,...n},s),editCaption:(n,s,i)=>e.editMessageCaption({chat_id:r.chat.id,message_id:r.message_id,caption:n,...s},i),editMedia:(n,s,i)=>e.editMessageMedia({chat_id:r.chat.id,message_id:r.message_id,media:n,...s},i),react:(n,s,i)=>e.setMessageReaction({chat_id:r.chat.id,message_id:r.message_id,reaction:typeof n==="string"?[{type:"emoji",emoji:n}]:(Array.isArray(n)?n:[n]).map((e=>typeof e==="string"?{type:"emoji",emoji:e}:e)),...s},i),getCustomEmojiStickers:async n=>{var s;const i=(s=r.entities)!==null&&s!==void 0?s:r.caption_entities;if(i===undefined||i.length===0)return[];const o=i.filter((e=>e.type==="custom_emoji")).map((e=>e.custom_emoji_id));return await e.getCustomEmojiStickers({custom_emoji_ids:o},n)}};Object.assign(r,n)}r.installMessageMethods=installMessageMethods},17746:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installPreCheckoutQueryMethods=void 0;function installPreCheckoutQueryMethods(e,r){const n={answer:(n,s,i)=>e.answerPreCheckoutQuery({pre_checkout_query_id:r.id,ok:n,...s},i)};Object.assign(r,n)}r.installPreCheckoutQueryMethods=installPreCheckoutQueryMethods},22972:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installShippingQueryMethods=void 0;function installShippingQueryMethods(e,r){const n={answer:(n,s,i)=>e.answerShippingQuery({shipping_query_id:r.id,ok:n,...s},i)};Object.assign(r,n)}r.installShippingQueryMethods=installShippingQueryMethods},49430:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.installUpdateMethods=void 0;const s=n(27669);const i=n(11006);const o=n(80065);const c=n(39255);const u=n(65936);const d=n(17746);const A=n(22972);function installUpdateMethods(e,r){if(r.message!==undefined){(0,u.installMessageMethods)(e,r.message)}else if(r.channel_post!==undefined){(0,u.installMessageMethods)(e,r.channel_post)}else if(r.edited_message!==undefined){(0,u.installMessageMethods)(e,r.edited_message)}else if(r.edited_channel_post!==undefined){(0,u.installMessageMethods)(e,r.edited_channel_post)}else if(r.inline_query!==undefined){(0,c.installInlineQueryMethods)(e,r.inline_query)}else if(r.callback_query!==undefined){(0,s.installCallbackQueryMethods)(e,r.callback_query)}else if(r.shipping_query!==undefined){(0,A.installShippingQueryMethods)(e,r.shipping_query)}else if(r.pre_checkout_query!==undefined){(0,d.installPreCheckoutQueryMethods)(e,r.pre_checkout_query)}else if(r.chosen_inline_result!==undefined){(0,o.installChosenInlineResultMethods)(e,r.chosen_inline_result)}else if(r.chat_join_request!==undefined){(0,i.installChatJoinRequestMethods)(e,r.chat_join_request)}}r.installUpdateMethods=installUpdateMethods},54228:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.installUserMethods=void 0;function installUserMethods(e,r,n){const s={getProfilePhotos:(n,s)=>e.getUserProfilePhotos({user_id:r.id,...n},s),ban:(s,i)=>e.banChatMember({chat_id:n,user_id:r.id,...s},i),promote:(s,i)=>e.promoteChatMember({chat_id:n,user_id:r.id,...s},i),restrict:(s,i,o)=>e.restrictChatMember({permissions:s,chat_id:n,user_id:r.id,...i},o),setCustomTitle:(s,i,o)=>e.setChatAdministratorCustomTitle({custom_title:s,chat_id:n,user_id:r.id,...i},o),unban:(s,i)=>e.unbanChatMember({chat_id:n,user_id:r.id,...s},i)};return Object.assign(r,s)}r.installUserMethods=installUserMethods},79638:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.InputFile=r.GrammyError=r.Context=r.Api=void 0;var s=n(53278);Object.defineProperty(r,"Api",{enumerable:true,get:function(){return s.Api}});Object.defineProperty(r,"Context",{enumerable:true,get:function(){return s.Context}});Object.defineProperty(r,"GrammyError",{enumerable:true,get:function(){return s.GrammyError}});Object.defineProperty(r,"InputFile",{enumerable:true,get:function(){return s.InputFile}})},2466:function(e,r,n){var s=this&&this.__createBinding||(Object.create?function(e,r,n,s){if(s===undefined)s=n;var i=Object.getOwnPropertyDescriptor(r,n);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[n]}}}Object.defineProperty(e,s,i)}:function(e,r,n,s){if(s===undefined)s=n;e[s]=r[n]});var i=this&&this.__exportStar||function(e,r){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(r,n))s(r,e,n)};Object.defineProperty(r,"__esModule",{value:true});i(n(16255),r)},16255:(e,r,n)=>{Object.defineProperty(r,"__esModule",{value:true});r.hydrateApi=r.hydrateContext=r.hydrate=void 0;const s=n(48541);const i=n(49472);const o=n(65936);const c=n(49430);const u=n(54228);const d=n(79638);function hydrate(){const e=hydrateApi();return(r,n)=>{r.api.config.use(e);(0,c.installUpdateMethods)(r.api.raw,r.update);return n()}}r.hydrate=hydrate;function hydrateContext(){return(e,r)=>{(0,c.installUpdateMethods)(e.api.raw,e.update);return r()}}r.hydrateContext=hydrateContext;function hydrateApi(){const t=async(e,r,n,c)=>{const d=await e(r,n,c);if(d.ok){if(isMessage(d.result)){(0,o.installMessageMethods)(toApi(e),d.result)}else if(isInlineMessage(d.result)){(0,i.installInlineMessageMethods)(toApi(e),d.result)}else if(isChatMember(d.result)&&hasChatId(n)){(0,u.installUserMethods)(toApi(e),d.result.user,n.chat_id)}else if(isChat(d.result)){(0,s.installChatMethods)(toApi(e),d.result)}}return d};return t}r.hydrateApi=hydrateApi;function isMessage(e){return typeof e==="object"&&e!==null&&"message_id"in e&&"chat"in e}function isInlineMessage(e){return typeof e==="object"&&e!==null&&"inline_message_id"in e}function isChatMember(e){return typeof e==="object"&&e!==null&&"status"in e&&"user"in e}function isChat(e){return typeof e==="object"&&e!==null&&"id"in e&&"type"in e&&typeof e.type==="string"&&["private","group","supergroup","channel"].includes(e.type)}function hasChatId(e){return typeof e==="object"&&e!==null&&"chat_id"in e&&typeof e.chat_id==="number"}function toApi(e){return new Proxy({},{get(r,n){const s=e.bind(null,n);return async(...e)=>{const r=await s(...e);if(r.ok){return r.result}else{throw new d.GrammyError(`Call to '${n}' failed!`,r,n,e[0])}}}})}},80056:e=>{e.exports=JSON.parse('{"name":"dotenv","version":"16.4.5","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","test:coverage":"tap --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},2559:e=>{e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},94374:e=>{e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},51554:e=>{e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},57178:e=>{e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},92472:e=>{e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')},39003:e=>{e.exports={version:"1.0.35"}}};var __webpack_module_cache__={};function __nccwpck_require__(e){var r=__webpack_module_cache__[e];if(r!==undefined){return r.exports}var n=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var s=true;try{__webpack_modules__[e].call(n.exports,n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}n.loaded=true;return n.exports}(()=>{__nccwpck_require__.n=e=>{var r=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(r,{a:r});return r}})();(()=>{__nccwpck_require__.d=(e,r)=>{for(var n in r){if(__nccwpck_require__.o(r,n)&&!__nccwpck_require__.o(e,n)){Object.defineProperty(e,n,{enumerable:true,get:r[n]})}}}})();(()=>{__nccwpck_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var __webpack_exports__={};__nccwpck_require__.d(__webpack_exports__,{e:()=>run});var type_type_namespaceObject={};__nccwpck_require__.r(type_type_namespaceObject);__nccwpck_require__.d(type_type_namespaceObject,{Any:()=>any_Any,Array:()=>array_Array,AsyncIterator:()=>async_iterator_AsyncIterator,Awaited:()=>awaited_Awaited,BigInt:()=>bigint_BigInt,Boolean:()=>boolean_Boolean,Capitalize:()=>capitalize_Capitalize,Composite:()=>composite_Composite,Const:()=>const_Const,Constructor:()=>constructor_Constructor,ConstructorParameters:()=>constructor_parameters_ConstructorParameters,Date:()=>date_Date,Deref:()=>deref_deref_Deref,Enum:()=>enum_Enum,Exclude:()=>exclude_Exclude,Extends:()=>extends_Extends,Extract:()=>extract_Extract,Function:()=>function_Function,Index:()=>indexed_Index,InstanceType:()=>instance_type_InstanceType,Integer:()=>integer_Integer,Intersect:()=>intersect_Intersect,Iterator:()=>iterator_Iterator,KeyOf:()=>keyof_KeyOf,Literal:()=>literal_Literal,Lowercase:()=>lowercase_Lowercase,Mapped:()=>mapped_Mapped,Never:()=>never_Never,Not:()=>not_Not,Null:()=>null_Null,Number:()=>number_Number,Object:()=>object_Object,Omit:()=>omit_Omit,Optional:()=>optional_Optional,Parameters:()=>parameters_Parameters,Partial:()=>partial_Partial,Pick:()=>pick_Pick,Promise:()=>promise_Promise,Readonly:()=>readonly_Readonly,ReadonlyOptional:()=>readonly_optional_ReadonlyOptional,Record:()=>record_Record,Recursive:()=>recursive_Recursive,Ref:()=>ref_Ref,RegExp:()=>regexp_RegExp,Required:()=>required_Required,Rest:()=>rest_Rest,ReturnType:()=>return_type_ReturnType,Strict:()=>strict_Strict,String:()=>string_String,Symbol:()=>symbol_Symbol,TemplateLiteral:()=>template_literal_TemplateLiteral,Transform:()=>transform_Transform,Tuple:()=>tuple_Tuple,Uint8Array:()=>uint8array_Uint8Array,Uncapitalize:()=>uncapitalize_Uncapitalize,Undefined:()=>undefined_Undefined,Union:()=>union_Union,Unknown:()=>unknown_Unknown,Unsafe:()=>unsafe_Unsafe,Uppercase:()=>uppercase_Uppercase,Void:()=>void_Void});var core=__nccwpck_require__(37484);var github=__nccwpck_require__(93228);function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}function IsPromise(e){return e instanceof Promise}function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}function IsMap(e){return e instanceof globalThis.Map}function IsSet(e){return e instanceof globalThis.Set}function IsRegExp(e){return e instanceof globalThis.RegExp}function IsTypedArray(e){return ArrayBuffer.isView(e)}function IsInt8Array(e){return e instanceof globalThis.Int8Array}function IsUint8Array(e){return e instanceof globalThis.Uint8Array}function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}function IsInt16Array(e){return e instanceof globalThis.Int16Array}function IsUint16Array(e){return e instanceof globalThis.Uint16Array}function IsInt32Array(e){return e instanceof globalThis.Int32Array}function IsUint32Array(e){return e instanceof globalThis.Uint32Array}function IsFloat32Array(e){return e instanceof globalThis.Float32Array}function IsFloat64Array(e){return e instanceof globalThis.Float64Array}function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}function HasPropertyKey(e,r){return r in e}function IsObject(e){return e!==null&&typeof e==="object"}function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function IsUndefined(e){return e===undefined}function IsNull(e){return e===null}function IsBoolean(e){return typeof e==="boolean"}function IsNumber(e){return typeof e==="number"}function IsInteger(e){return Number.isInteger(e)}function IsBigInt(e){return typeof e==="bigint"}function IsString(e){return typeof e==="string"}function IsFunction(e){return typeof e==="function"}function IsSymbol(e){return typeof e==="symbol"}function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}var TypeSystemPolicy;(function(e){e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(r,n){return e.ExactOptionalPropertyTypes?n in r:r[n]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(r){const n=IsObject(r);return e.AllowArrayObject?n:n&&!IsArray(r)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(r){return e.AllowNaN?IsNumber(r):Number.isFinite(r)}e.IsNumberLike=IsNumberLike;function IsVoidLike(r){const n=IsUndefined(r);return e.AllowNullVoid?n||r===null:n}e.IsVoidLike=IsVoidLike})(TypeSystemPolicy||(TypeSystemPolicy={}));const map=new Map;function Entries(){return new Map(map)}function Clear(){return map.clear()}function Delete(e){return map.delete(e)}function Has(e){return map.has(e)}function format_Set(e,r){map.set(e,r)}function Get(e){return map.get(e)}const type_map=new Map;function type_Entries(){return new Map(type_map)}function type_Clear(){return type_map.clear()}function type_Delete(e){return type_map.delete(e)}function type_Has(e){return type_map.has(e)}function type_Set(e,r){type_map.set(e,r)}function type_Get(e){return type_map.get(e)}const TransformKind=Symbol.for("TypeBox.Transform");const ReadonlyKind=Symbol.for("TypeBox.Readonly");const OptionalKind=Symbol.for("TypeBox.Optional");const symbols_Hint=Symbol.for("TypeBox.Hint");const symbols_Kind=Symbol.for("TypeBox.Kind");function unsafe_Unsafe(e={}){return{...e,[symbols_Kind]:e[symbols_Kind]??"Unsafe"}}class TypeBoxError extends Error{constructor(e){super(e)}}class TypeSystemDuplicateTypeKind extends TypeBoxError{constructor(e){super(`Duplicate type kind '${e}' detected`)}}class TypeSystemDuplicateFormat extends TypeBoxError{constructor(e){super(`Duplicate string format '${e}' detected`)}}var TypeSystem;(function(e){function Type(e,r){if(type_Has(e))throw new TypeSystemDuplicateTypeKind(e);type_Set(e,r);return(r={})=>unsafe_Unsafe({...r,[symbols_Kind]:e})}e.Type=Type;function Format(e,r){if(Has(e))throw new TypeSystemDuplicateFormat(e);format_Set(e,r);return e}e.Format=Format})(TypeSystem||(TypeSystem={}));function MappedKey(e){return{[Kind]:"MappedKey",keys:e}}function MappedResult(e){return{[symbols_Kind]:"MappedResult",properties:e}}function value_IsAsyncIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.asyncIterator in e}function value_IsArray(e){return Array.isArray(e)}function value_IsBigInt(e){return typeof e==="bigint"}function value_IsBoolean(e){return typeof e==="boolean"}function value_IsDate(e){return e instanceof globalThis.Date}function value_IsFunction(e){return typeof e==="function"}function value_IsIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.iterator in e}function value_IsNull(e){return e===null}function value_IsNumber(e){return typeof e==="number"}function value_IsObject(e){return typeof e==="object"&&e!==null}function value_IsRegExp(e){return e instanceof globalThis.RegExp}function value_IsString(e){return typeof e==="string"}function value_IsSymbol(e){return typeof e==="symbol"}function value_IsUint8Array(e){return e instanceof globalThis.Uint8Array}function value_IsUndefined(e){return e===undefined}function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const r={};for(const n of Object.getOwnPropertyNames(e)){r[n]=Visit(e[n])}for(const n of Object.getOwnPropertySymbols(e)){r[n]=Visit(e[n])}return r}function Visit(e){return value_IsArray(e)?ArrayType(e):value_IsDate(e)?DateType(e):value_IsUint8Array(e)?Uint8ArrayType(e):value_IsRegExp(e)?RegExpType(e):value_IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}function CloneRest(e){return e.map((e=>CloneType(e)))}function CloneType(e,r={}){return{...Clone(e),...r}}function DiscardKey(e,r){const{[r]:n,...s}=e;return s}function Discard(e,r){return r.reduce(((e,r)=>DiscardKey(e,r)),e)}function array_Array(e,r={}){return{...r,[symbols_Kind]:"Array",type:"array",items:CloneType(e)}}function async_iterator_AsyncIterator(e,r={}){return{...r,[symbols_Kind]:"AsyncIterator",type:"AsyncIterator",items:CloneType(e)}}function constructor_Constructor(e,r,n){return{...n,[symbols_Kind]:"Constructor",type:"Constructor",parameters:CloneRest(e),returns:CloneType(r)}}function function_Function(e,r,n){return{...n,[symbols_Kind]:"Function",type:"Function",parameters:CloneRest(e),returns:CloneType(r)}}function never_Never(e={}){return{...e,[symbols_Kind]:"Never",not:{}}}function IsReadonly(e){return value_IsObject(e)&&e[ReadonlyKind]==="Readonly"}function IsOptional(e){return value_IsObject(e)&&e[OptionalKind]==="Optional"}function IsAny(e){return IsKindOf(e,"Any")}function kind_IsArray(e){return IsKindOf(e,"Array")}function kind_IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}function kind_IsBigInt(e){return IsKindOf(e,"BigInt")}function kind_IsBoolean(e){return IsKindOf(e,"Boolean")}function IsConstructor(e){return IsKindOf(e,"Constructor")}function kind_IsDate(e){return IsKindOf(e,"Date")}function kind_IsFunction(e){return IsKindOf(e,"Function")}function kind_IsInteger(e){return IsKindOf(e,"Integer")}function IsProperties(e){return ValueGuard.IsObject(e)}function IsIntersect(e){return IsKindOf(e,"Intersect")}function kind_IsIterator(e){return IsKindOf(e,"Iterator")}function IsKindOf(e,r){return value_IsObject(e)&&symbols_Kind in e&&e[symbols_Kind]===r}function IsLiteralString(e){return IsLiteral(e)&&ValueGuard.IsString(e.const)}function IsLiteralNumber(e){return IsLiteral(e)&&ValueGuard.IsNumber(e.const)}function IsLiteralBoolean(e){return IsLiteral(e)&&ValueGuard.IsBoolean(e.const)}function IsLiteral(e){return IsKindOf(e,"Literal")}function IsMappedKey(e){return IsKindOf(e,"MappedKey")}function IsMappedResult(e){return IsKindOf(e,"MappedResult")}function IsNever(e){return IsKindOf(e,"Never")}function IsNot(e){return IsKindOf(e,"Not")}function kind_IsNull(e){return IsKindOf(e,"Null")}function kind_IsNumber(e){return IsKindOf(e,"Number")}function kind_IsObject(e){return IsKindOf(e,"Object")}function kind_IsPromise(e){return IsKindOf(e,"Promise")}function IsRecord(e){return IsKindOf(e,"Record")}function IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function IsRef(e){return IsKindOf(e,"Ref")}function kind_IsRegExp(e){return IsKindOf(e,"RegExp")}function kind_IsString(e){return IsKindOf(e,"String")}function kind_IsSymbol(e){return IsKindOf(e,"Symbol")}function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}function IsThis(e){return IsKindOf(e,"This")}function IsTransform(e){return value_IsObject(e)&&TransformKind in e}function IsTuple(e){return IsKindOf(e,"Tuple")}function kind_IsUndefined(e){return IsKindOf(e,"Undefined")}function IsUnion(e){return IsKindOf(e,"Union")}function kind_IsUint8Array(e){return IsKindOf(e,"Uint8Array")}function IsUnknown(e){return IsKindOf(e,"Unknown")}function IsUnsafe(e){return IsKindOf(e,"Unsafe")}function IsVoid(e){return IsKindOf(e,"Void")}function IsKind(e){return value_IsObject(e)&&symbols_Kind in e&&value_IsString(e[symbols_Kind])}function IsSchema(e){return IsAny(e)||kind_IsArray(e)||kind_IsBoolean(e)||kind_IsBigInt(e)||kind_IsAsyncIterator(e)||IsConstructor(e)||kind_IsDate(e)||kind_IsFunction(e)||kind_IsInteger(e)||IsIntersect(e)||kind_IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||kind_IsNull(e)||kind_IsNumber(e)||kind_IsObject(e)||kind_IsPromise(e)||IsRecord(e)||IsRef(e)||kind_IsRegExp(e)||kind_IsString(e)||kind_IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||kind_IsUndefined(e)||IsUnion(e)||kind_IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}function RemoveOptional(e){return Discard(CloneType(e),[OptionalKind])}function AddOptional(e){return{...CloneType(e),[OptionalKind]:"Optional"}}function OptionalWithFlag(e,r){return r===false?RemoveOptional(e):AddOptional(e)}function optional_Optional(e,r){const n=r??true;return IsMappedResult(e)?OptionalFromMappedResult(e,n):OptionalWithFlag(e,n)}function FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=optional_Optional(e[s],r);return n}function FromMappedResult(e,r){return FromProperties(e.properties,r)}function OptionalFromMappedResult(e,r){const n=FromMappedResult(e,r);return MappedResult(n)}function IntersectCreate(e,r){const n=e.every((e=>kind_IsObject(e)));const s=IsSchema(r.unevaluatedProperties)?{unevaluatedProperties:CloneType(r.unevaluatedProperties)}:{};return r.unevaluatedProperties===false||IsSchema(r.unevaluatedProperties)||n?{...r,...s,[symbols_Kind]:"Intersect",type:"object",allOf:CloneRest(e)}:{...r,...s,[symbols_Kind]:"Intersect",allOf:CloneRest(e)}}function IsIntersectOptional(e){return e.every((e=>IsOptional(e)))}function RemoveOptionalFromType(e){return Discard(e,[OptionalKind])}function RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,r){return IsIntersectOptional(e)?optional_Optional(IntersectCreate(RemoveOptionalFromRest(e),r)):IntersectCreate(RemoveOptionalFromRest(e),r)}function IntersectEvaluated(e,r={}){if(e.length===0)return never_Never(r);if(e.length===1)return CloneType(e[0],r);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,r)}function intersect_Intersect(e,r={}){if(e.length===0)return never_Never(r);if(e.length===1)return CloneType(e[0],r);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return IntersectCreate(e,r)}function UnionCreate(e,r){return{...r,[symbols_Kind]:"Union",anyOf:CloneRest(e)}}function IsUnionOptional(e){return e.some((e=>IsOptional(e)))}function union_evaluated_RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?union_evaluated_RemoveOptionalFromType(e):e))}function union_evaluated_RemoveOptionalFromType(e){return Discard(e,[OptionalKind])}function ResolveUnion(e,r){return IsUnionOptional(e)?optional_Optional(UnionCreate(union_evaluated_RemoveOptionalFromRest(e),r)):UnionCreate(union_evaluated_RemoveOptionalFromRest(e),r)}function UnionEvaluated(e,r={}){return e.length===0?never_Never(r):e.length===1?CloneType(e[0],r):ResolveUnion(e,r)}function union_Union(e,r={}){return e.length===0?never_Never(r):e.length===1?CloneType(e[0],r):UnionCreate(e,r)}class TemplateLiteralParserError extends TypeBoxError{}function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,r,n){return e[r]===n&&e.charCodeAt(r-1)!==92}function IsOpenParen(e,r){return IsNonEscaped(e,r,"(")}function IsCloseParen(e,r){return IsNonEscaped(e,r,")")}function IsSeparator(e,r){return IsNonEscaped(e,r,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let r=0;for(let n=0;n0)s.push(TemplateLiteralParse(r));n=i+1}}const i=e.slice(n);if(i.length>0)s.push(TemplateLiteralParse(i));if(s.length===0)return{type:"const",const:""};if(s.length===1)return s[0];return{type:"or",expr:s}}function And(e){function Group(e,r){if(!IsOpenParen(e,r))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let s=r;s0)r.push(TemplateLiteralParse(o));n=i-1}}return r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"and",expr:r}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}class TemplateLiteralFiniteError extends TypeBoxError{}function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}function IsTemplateLiteralFinite(e){const r=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(r)}class TemplateLiteralGenerateError extends TypeBoxError{}function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const r of e[0]){for(const n of GenerateReduce(e.slice(1))){yield`${r}${n}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const r of e.expr)yield*TemplateLiteralExpressionGenerate(r)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}function TemplateLiteralGenerate(e){const r=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(r)?[...TemplateLiteralExpressionGenerate(r)]:[]}function literal_Literal(e,r={}){return{...r,[symbols_Kind]:"Literal",const:e,type:typeof e}}function boolean_Boolean(e={}){return{...e,[symbols_Kind]:"Boolean",type:"boolean"}}function bigint_BigInt(e={}){return{...e,[symbols_Kind]:"BigInt",type:"bigint"}}function number_Number(e={}){return{...e,[symbols_Kind]:"Number",type:"number"}}function string_String(e={}){return{...e,[symbols_Kind]:"String",type:"string"}}function*FromUnion(e){const r=e.trim().replace(/"|'/g,"");return r==="boolean"?yield boolean_Boolean():r==="number"?yield number_Number():r==="bigint"?yield bigint_BigInt():r==="string"?yield string_String():yield(()=>{const e=r.split("|").map((e=>literal_Literal(e.trim())));return e.length===0?never_Never():e.length===1?e[0]:UnionEvaluated(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const r=literal_Literal("$");const n=FromSyntax(e.slice(1));return yield*[r,...n]}for(let r=2;rpattern_Visit(e,r))).join("|")})`:kind_IsNumber(e)?`${r}${PatternNumber}`:kind_IsInteger(e)?`${r}${PatternNumber}`:kind_IsBigInt(e)?`${r}${PatternNumber}`:kind_IsString(e)?`${r}${PatternString}`:IsLiteral(e)?`${r}${Escape(e.const.toString())}`:kind_IsBoolean(e)?`${r}${PatternBoolean}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[symbols_Kind]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>pattern_Visit(e,""))).join("")}$`}function TemplateLiteralToUnion(e){const r=TemplateLiteralGenerate(e);const n=r.map((e=>literal_Literal(e)));return UnionEvaluated(n)}function template_literal_TemplateLiteral(e,r={}){const n=value_IsString(e)?TemplateLiteralPattern(TemplateLiteralSyntax(e)):TemplateLiteralPattern(e);return{...r,[symbols_Kind]:"TemplateLiteral",type:"string",pattern:n}}function FromTemplateLiteral(e){const r=TemplateLiteralGenerate(e);return r.map((e=>e.toString()))}function indexed_property_keys_FromUnion(e){const r=[];for(const n of e)r.push(...IndexPropertyKeys(n));return r}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set(IsTemplateLiteral(e)?FromTemplateLiteral(e):IsUnion(e)?indexed_property_keys_FromUnion(e.anyOf):IsLiteral(e)?FromLiteral(e.const):kind_IsNumber(e)?["[number]"]:kind_IsInteger(e)?["[number]"]:[])]}function indexed_from_mapped_result_FromProperties(e,r,n){const s={};for(const i of Object.getOwnPropertyNames(r)){s[i]=indexed_Index(e,IndexPropertyKeys(r[i]),n)}return s}function indexed_from_mapped_result_FromMappedResult(e,r,n){return indexed_from_mapped_result_FromProperties(e,r.properties,n)}function IndexFromMappedResult(e,r,n){const s=indexed_from_mapped_result_FromMappedResult(e,r,n);return MappedResult(s)}function FromRest(e,r){return e.map((e=>IndexFromPropertyKey(e,r)))}function FromIntersectRest(e){return e.filter((e=>!IsNever(e)))}function FromIntersect(e,r){return IntersectEvaluated(FromIntersectRest(FromRest(e,r)))}function FromUnionRest(e){return e.some((e=>IsNever(e)))?[]:e}function indexed_FromUnion(e,r){return UnionEvaluated(FromUnionRest(FromRest(e,r)))}function FromTuple(e,r){return r in e?e[r]:r==="[number]"?UnionEvaluated(e):never_Never()}function FromArray(e,r){return r==="[number]"?e:never_Never()}function FromProperty(e,r){return r in e?e[r]:never_Never()}function IndexFromPropertyKey(e,r){return IsIntersect(e)?FromIntersect(e.allOf,r):IsUnion(e)?indexed_FromUnion(e.anyOf,r):IsTuple(e)?FromTuple(e.items??[],r):kind_IsArray(e)?FromArray(e.items,r):kind_IsObject(e)?FromProperty(e.properties,r):never_Never()}function IndexFromPropertyKeys(e,r){return r.map((r=>IndexFromPropertyKey(e,r)))}function FromSchema(e,r){return UnionEvaluated(IndexFromPropertyKeys(e,r))}function indexed_Index(e,r,n={}){return IsMappedResult(r)?CloneType(IndexFromMappedResult(e,r,n)):IsMappedKey(r)?CloneType(IndexFromMappedKey(e,r,n)):IsSchema(r)?CloneType(FromSchema(e,IndexPropertyKeys(r)),n):CloneType(FromSchema(e,r),n)}function MappedIndexPropertyKey(e,r,n){return{[r]:indexed_Index(e,[r],n)}}function MappedIndexPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...MappedIndexPropertyKey(e,s,n)})),{})}function MappedIndexProperties(e,r,n){return MappedIndexPropertyKeys(e,r.keys,n)}function IndexFromMappedKey(e,r,n){const s=MappedIndexProperties(e,r,n);return MappedResult(s)}function iterator_Iterator(e,r={}){return{...r,[symbols_Kind]:"Iterator",type:"Iterator",items:CloneType(e)}}function _Object(e,r={}){const n=globalThis.Object.getOwnPropertyNames(e);const s=n.filter((r=>IsOptional(e[r])));const i=n.filter((e=>!s.includes(e)));const o=IsSchema(r.additionalProperties)?{additionalProperties:CloneType(r.additionalProperties)}:{};const c={};for(const r of n)c[r]=CloneType(e[r]);return i.length>0?{...r,...o,[symbols_Kind]:"Object",type:"object",properties:c,required:i}:{...r,...o,[symbols_Kind]:"Object",type:"object",properties:c}}const object_Object=_Object;function promise_Promise(e,r={}){return{...r,[symbols_Kind]:"Promise",type:"Promise",item:CloneType(e)}}function RemoveReadonly(e){return Discard(CloneType(e),[ReadonlyKind])}function AddReadonly(e){return{...CloneType(e),[ReadonlyKind]:"Readonly"}}function ReadonlyWithFlag(e,r){return r===false?RemoveReadonly(e):AddReadonly(e)}function readonly_Readonly(e,r){const n=r??true;return IsMappedResult(e)?ReadonlyFromMappedResult(e,n):ReadonlyWithFlag(e,n)}function readonly_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=readonly_Readonly(e[s],r);return n}function readonly_from_mapped_result_FromMappedResult(e,r){return readonly_from_mapped_result_FromProperties(e.properties,r)}function ReadonlyFromMappedResult(e,r){const n=readonly_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function tuple_Tuple(e,r={}){const[n,s,i]=[false,e.length,e.length];return e.length>0?{...r,[symbols_Kind]:"Tuple",type:"array",items:CloneRest(e),additionalItems:n,minItems:s,maxItems:i}:{...r,[symbols_Kind]:"Tuple",type:"array",minItems:s,maxItems:i}}function SetIncludes(e,r){return e.includes(r)}function SetIsSubset(e,r){return e.every((e=>SetIncludes(r,e)))}function SetDistinct(e){return[...new Set(e)]}function SetIntersect(e,r){return e.filter((e=>r.includes(e)))}function SetUnion(e,r){return[...e,...r]}function SetComplement(e,r){return e.filter((e=>!r.includes(e)))}function SetIntersectManyResolve(e,r){return e.reduce(((e,r)=>SetIntersect(e,r)),r)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}function SetUnionMany(e){const r=[];for(const n of e)r.push(...n);return r}function mapped_FromMappedResult(e,r){return e in r?FromSchemaType(e,r[e]):MappedResult(r)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:literal_Literal(e)}}function MappedKeyToUnknownMappedResultProperties(e){const r={};for(const n of e)r[n]=literal_Literal(n);return r}function MappedKeyToMappedResultProperties(e,r){return SetIncludes(r,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(r)}function FromMappedKey(e,r){const n=MappedKeyToMappedResultProperties(e,r);return mapped_FromMappedResult(e,n)}function mapped_FromRest(e,r){return r.map((r=>FromSchemaType(e,r)))}function mapped_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(r))n[s]=FromSchemaType(e,r[s]);return n}function FromSchemaType(e,r){return IsOptional(r)?optional_Optional(FromSchemaType(e,Discard(r,[OptionalKind]))):IsReadonly(r)?readonly_Readonly(FromSchemaType(e,Discard(r,[ReadonlyKind]))):IsMappedResult(r)?mapped_FromMappedResult(e,r.properties):IsMappedKey(r)?FromMappedKey(e,r.keys):IsConstructor(r)?constructor_Constructor(mapped_FromRest(e,r.parameters),FromSchemaType(e,r.returns)):kind_IsFunction(r)?function_Function(mapped_FromRest(e,r.parameters),FromSchemaType(e,r.returns)):kind_IsAsyncIterator(r)?async_iterator_AsyncIterator(FromSchemaType(e,r.items)):kind_IsIterator(r)?iterator_Iterator(FromSchemaType(e,r.items)):IsIntersect(r)?intersect_Intersect(mapped_FromRest(e,r.allOf)):IsUnion(r)?union_Union(mapped_FromRest(e,r.anyOf)):IsTuple(r)?tuple_Tuple(mapped_FromRest(e,r.items??[])):kind_IsObject(r)?object_Object(mapped_FromProperties(e,r.properties)):kind_IsArray(r)?array_Array(FromSchemaType(e,r.items)):kind_IsPromise(r)?promise_Promise(FromSchemaType(e,r.item)):r}function MappedFunctionReturnType(e,r){const n={};for(const s of e)n[s]=FromSchemaType(s,r);return n}function mapped_Mapped(e,r,n={}){const s=IsSchema(e)?IndexPropertyKeys(e):e;const i=r({[symbols_Kind]:"MappedKey",keys:s});const o=MappedFunctionReturnType(s,i);return CloneType(object_Object(o),n)}function keyof_property_keys_FromRest(e){const r=[];for(const n of e)r.push(KeyOfPropertyKeys(n));return r}function keyof_property_keys_FromIntersect(e){const r=keyof_property_keys_FromRest(e);const n=SetUnionMany(r);return n}function keyof_property_keys_FromUnion(e){const r=keyof_property_keys_FromRest(e);const n=SetIntersectMany(r);return n}function keyof_property_keys_FromTuple(e){return e.map(((e,r)=>r.toString()))}function keyof_property_keys_FromArray(e){return["[number]"]}function keyof_property_keys_FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!includePatternProperties)return[];const r=globalThis.Object.getOwnPropertyNames(e);return r.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return IsIntersect(e)?keyof_property_keys_FromIntersect(e.allOf):IsUnion(e)?keyof_property_keys_FromUnion(e.anyOf):IsTuple(e)?keyof_property_keys_FromTuple(e.items??[]):kind_IsArray(e)?keyof_property_keys_FromArray(e.items):kind_IsObject(e)?keyof_property_keys_FromProperties(e.properties):IsRecord(e)?FromPatternProperties(e.patternProperties):[]}let includePatternProperties=false;function KeyOfPattern(e){includePatternProperties=true;const r=KeyOfPropertyKeys(e);includePatternProperties=false;const n=r.map((e=>`(${e})`));return`^(${n.join("|")})$`}function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?number_Number():literal_Literal(e)))}function keyof_KeyOf(e,r={}){if(IsMappedResult(e)){return KeyOfFromMappedResult(e,r)}else{const n=KeyOfPropertyKeys(e);const s=KeyOfPropertyKeysToRest(n);const i=UnionEvaluated(s);return CloneType(i,r)}}function keyof_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=keyof_KeyOf(e[s],r);return n}function keyof_from_mapped_result_FromMappedResult(e,r){return keyof_from_mapped_result_FromProperties(e.properties,r)}function KeyOfFromMappedResult(e,r){const n=keyof_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function KeyOfPropertyEntries(e){const r=KeyOfPropertyKeys(e);const n=IndexFromPropertyKeys(e,r);return r.map(((e,s)=>[r[s],n[s]]))}function extends_undefined_Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[symbols_Kind]==="Intersect"?extends_undefined_Intersect(e):e[symbols_Kind]==="Union"?extends_undefined_Union(e):e[symbols_Kind]==="Not"?extends_undefined_Not(e):e[symbols_Kind]==="Undefined"?true:false}function DefaultErrorFunction(e){switch(e.errorType){case ValueErrorType.ArrayContains:return"Expected array to contain at least one matching value";case ValueErrorType.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case ValueErrorType.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case ValueErrorType.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case ValueErrorType.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case ValueErrorType.ArrayUniqueItems:return"Expected array elements to be unique";case ValueErrorType.Array:return"Expected array";case ValueErrorType.AsyncIterator:return"Expected AsyncIterator";case ValueErrorType.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case ValueErrorType.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case ValueErrorType.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case ValueErrorType.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case ValueErrorType.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case ValueErrorType.BigInt:return"Expected bigint";case ValueErrorType.Boolean:return"Expected boolean";case ValueErrorType.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case ValueErrorType.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case ValueErrorType.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case ValueErrorType.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case ValueErrorType.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case ValueErrorType.Date:return"Expected Date";case ValueErrorType.Function:return"Expected function";case ValueErrorType.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case ValueErrorType.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case ValueErrorType.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case ValueErrorType.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case ValueErrorType.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case ValueErrorType.Integer:return"Expected integer";case ValueErrorType.IntersectUnevaluatedProperties:return"Unexpected property";case ValueErrorType.Intersect:return"Expected all values to match";case ValueErrorType.Iterator:return"Expected Iterator";case ValueErrorType.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case ValueErrorType.Never:return"Never";case ValueErrorType.Not:return"Value should not match";case ValueErrorType.Null:return"Expected null";case ValueErrorType.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case ValueErrorType.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case ValueErrorType.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case ValueErrorType.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case ValueErrorType.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case ValueErrorType.Number:return"Expected number";case ValueErrorType.Object:return"Expected object";case ValueErrorType.ObjectAdditionalProperties:return"Unexpected property";case ValueErrorType.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case ValueErrorType.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case ValueErrorType.ObjectRequiredProperty:return"Required property";case ValueErrorType.Promise:return"Expected Promise";case ValueErrorType.RegExp:return"Expected string to match regular expression";case ValueErrorType.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case ValueErrorType.StringFormat:return`Expected string to match '${e.schema.format}' format`;case ValueErrorType.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case ValueErrorType.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case ValueErrorType.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case ValueErrorType.String:return"Expected string";case ValueErrorType.Symbol:return"Expected symbol";case ValueErrorType.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case ValueErrorType.Tuple:return"Expected tuple";case ValueErrorType.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case ValueErrorType.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case ValueErrorType.Uint8Array:return"Expected Uint8Array";case ValueErrorType.Undefined:return"Expected undefined";case ValueErrorType.Union:return"Expected union value";case ValueErrorType.Void:return"Expected void";case ValueErrorType.Kind:return`Expected kind '${e.schema[symbols_Kind]}'`;default:return"Unknown error type"}}let errorFunction=DefaultErrorFunction;function SetErrorFunction(e){errorFunction=e}function GetErrorFunction(){return errorFunction}class TypeDereferenceError extends TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$id}'`);this.schema=e}}function Resolve(e,r){const n=r.find((r=>r.$id===e.$ref));if(n===undefined)throw new TypeDereferenceError(e);return deref_Deref(n,r)}function deref_Deref(e,r){return e[symbols_Kind]==="This"||e[symbols_Kind]==="Ref"?Resolve(e,r):e}class ValueHashError extends TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}var ByteMarker;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(ByteMarker||(ByteMarker={}));let Accumulator=BigInt("14695981039346656037");const[Prime,Size]=[BigInt("1099511628211"),BigInt("2")**BigInt("64")];const Bytes=Array.from({length:256}).map(((e,r)=>BigInt(r)));const F64=new Float64Array(1);const F64In=new DataView(F64.buffer);const F64Out=new Uint8Array(F64.buffer);function*NumberToBytes(e){const r=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n>8*(r-1-n)&255}}function hash_ArrayType(e){FNV1A64(ByteMarker.Array);for(const r of e){hash_Visit(r)}}function BooleanType(e){FNV1A64(ByteMarker.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(ByteMarker.BigInt);F64In.setBigInt64(0,e);for(const e of F64Out){FNV1A64(e)}}function hash_DateType(e){FNV1A64(ByteMarker.Date);hash_Visit(e.getTime())}function NullType(e){FNV1A64(ByteMarker.Null)}function NumberType(e){FNV1A64(ByteMarker.Number);F64In.setFloat64(0,e);for(const e of F64Out){FNV1A64(e)}}function hash_ObjectType(e){FNV1A64(ByteMarker.Object);for(const r of globalThis.Object.getOwnPropertyNames(e).sort()){hash_Visit(r);hash_Visit(e[r])}}function StringType(e){FNV1A64(ByteMarker.String);for(let r=0;r=e.minItems)){yield Create(ValueErrorType.ArrayMinItems,e,n,s)}if(IsDefined(e.maxItems)&&!(s.length<=e.maxItems)){yield Create(ValueErrorType.ArrayMaxItems,e,n,s)}for(let i=0;ierrors_Visit(i,r,`${n}${o}`,s).next().done===true?e+1:e),0);if(o===0){yield Create(ValueErrorType.ArrayContains,e,n,s)}if(IsNumber(e.minContains)&&oe.maxContains){yield Create(ValueErrorType.ArrayMaxContains,e,n,s)}}function*FromAsyncIterator(e,r,n,s){if(!IsAsyncIterator(s))yield Create(ValueErrorType.AsyncIterator,e,n,s)}function*FromBigInt(e,r,n,s){if(!IsBigInt(s))return yield Create(ValueErrorType.BigInt,e,n,s);if(IsDefined(e.exclusiveMaximum)&&!(se.exclusiveMinimum)){yield Create(ValueErrorType.BigIntExclusiveMinimum,e,n,s)}if(IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(ValueErrorType.BigIntMaximum,e,n,s)}if(IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(ValueErrorType.BigIntMinimum,e,n,s)}if(IsDefined(e.multipleOf)&&!(s%e.multipleOf===BigInt(0))){yield Create(ValueErrorType.BigIntMultipleOf,e,n,s)}}function*FromBoolean(e,r,n,s){if(!IsBoolean(s))yield Create(ValueErrorType.Boolean,e,n,s)}function*FromConstructor(e,r,n,s){yield*errors_Visit(e.returns,r,n,s.prototype)}function*FromDate(e,r,n,s){if(!IsDate(s))return yield Create(ValueErrorType.Date,e,n,s);if(IsDefined(e.exclusiveMaximumTimestamp)&&!(s.getTime()e.exclusiveMinimumTimestamp)){yield Create(ValueErrorType.DateExclusiveMinimumTimestamp,e,n,s)}if(IsDefined(e.maximumTimestamp)&&!(s.getTime()<=e.maximumTimestamp)){yield Create(ValueErrorType.DateMaximumTimestamp,e,n,s)}if(IsDefined(e.minimumTimestamp)&&!(s.getTime()>=e.minimumTimestamp)){yield Create(ValueErrorType.DateMinimumTimestamp,e,n,s)}if(IsDefined(e.multipleOfTimestamp)&&!(s.getTime()%e.multipleOfTimestamp===0)){yield Create(ValueErrorType.DateMultipleOfTimestamp,e,n,s)}}function*FromFunction(e,r,n,s){if(!IsFunction(s))yield Create(ValueErrorType.Function,e,n,s)}function*FromInteger(e,r,n,s){if(!IsInteger(s))return yield Create(ValueErrorType.Integer,e,n,s);if(IsDefined(e.exclusiveMaximum)&&!(se.exclusiveMinimum)){yield Create(ValueErrorType.IntegerExclusiveMinimum,e,n,s)}if(IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(ValueErrorType.IntegerMaximum,e,n,s)}if(IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(ValueErrorType.IntegerMinimum,e,n,s)}if(IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(ValueErrorType.IntegerMultipleOf,e,n,s)}}function*errors_FromIntersect(e,r,n,s){for(const i of e.allOf){const o=errors_Visit(i,r,n,s).next();if(!o.done){yield Create(ValueErrorType.Intersect,e,n,s);yield o.value}}if(e.unevaluatedProperties===false){const r=new RegExp(KeyOfPattern(e));for(const i of Object.getOwnPropertyNames(s)){if(!r.test(i)){yield Create(ValueErrorType.IntersectUnevaluatedProperties,e,`${n}/${i}`,s)}}}if(typeof e.unevaluatedProperties==="object"){const i=new RegExp(KeyOfPattern(e));for(const o of Object.getOwnPropertyNames(s)){if(!i.test(o)){const i=errors_Visit(e.unevaluatedProperties,r,`${n}/${o}`,s[o]).next();if(!i.done)yield i.value}}}}function*FromIterator(e,r,n,s){if(!IsIterator(s))yield Create(ValueErrorType.Iterator,e,n,s)}function*errors_FromLiteral(e,r,n,s){if(!(s===e.const))yield Create(ValueErrorType.Literal,e,n,s)}function*FromNever(e,r,n,s){yield Create(ValueErrorType.Never,e,n,s)}function*FromNot(e,r,n,s){if(errors_Visit(e.not,r,n,s).next().done===true)yield Create(ValueErrorType.Not,e,n,s)}function*FromNull(e,r,n,s){if(!IsNull(s))yield Create(ValueErrorType.Null,e,n,s)}function*FromNumber(e,r,n,s){if(!TypeSystemPolicy.IsNumberLike(s))return yield Create(ValueErrorType.Number,e,n,s);if(IsDefined(e.exclusiveMaximum)&&!(se.exclusiveMinimum)){yield Create(ValueErrorType.NumberExclusiveMinimum,e,n,s)}if(IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(ValueErrorType.NumberMaximum,e,n,s)}if(IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(ValueErrorType.NumberMinimum,e,n,s)}if(IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(ValueErrorType.NumberMultipleOf,e,n,s)}}function*FromObject(e,r,n,s){if(!TypeSystemPolicy.IsObjectLike(s))return yield Create(ValueErrorType.Object,e,n,s);if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(ValueErrorType.ObjectMinProperties,e,n,s)}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(ValueErrorType.ObjectMaxProperties,e,n,s)}const i=Array.isArray(e.required)?e.required:[];const o=Object.getOwnPropertyNames(e.properties);const c=Object.getOwnPropertyNames(s);for(const r of i){if(c.includes(r))continue;yield Create(ValueErrorType.ObjectRequiredProperty,e.properties[r],`${n}/${EscapeKey(r)}`,undefined)}if(e.additionalProperties===false){for(const r of c){if(!o.includes(r)){yield Create(ValueErrorType.ObjectAdditionalProperties,e,`${n}/${EscapeKey(r)}`,s[r])}}}if(typeof e.additionalProperties==="object"){for(const i of c){if(o.includes(i))continue;yield*errors_Visit(e.additionalProperties,r,`${n}/${EscapeKey(i)}`,s[i])}}for(const i of o){const o=e.properties[i];if(e.required&&e.required.includes(i)){yield*errors_Visit(o,r,`${n}/${EscapeKey(i)}`,s[i]);if(ExtendsUndefinedCheck(e)&&!(i in s)){yield Create(ValueErrorType.ObjectRequiredProperty,o,`${n}/${EscapeKey(i)}`,undefined)}}else{if(TypeSystemPolicy.IsExactOptionalProperty(s,i)){yield*errors_Visit(o,r,`${n}/${EscapeKey(i)}`,s[i])}}}}function*FromPromise(e,r,n,s){if(!IsPromise(s))yield Create(ValueErrorType.Promise,e,n,s)}function*FromRecord(e,r,n,s){if(!TypeSystemPolicy.IsRecordLike(s))return yield Create(ValueErrorType.Object,e,n,s);if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(ValueErrorType.ObjectMinProperties,e,n,s)}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(ValueErrorType.ObjectMaxProperties,e,n,s)}const[i,o]=Object.entries(e.patternProperties)[0];const c=new RegExp(i);for(const[e,i]of Object.entries(s)){if(c.test(e))yield*errors_Visit(o,r,`${n}/${EscapeKey(e)}`,i)}if(typeof e.additionalProperties==="object"){for(const[i,o]of Object.entries(s)){if(!c.test(i))yield*errors_Visit(e.additionalProperties,r,`${n}/${EscapeKey(i)}`,o)}}if(e.additionalProperties===false){for(const[r,i]of Object.entries(s)){if(c.test(r))continue;return yield Create(ValueErrorType.ObjectAdditionalProperties,e,`${n}/${EscapeKey(r)}`,i)}}}function*FromRef(e,r,n,s){yield*errors_Visit(deref_Deref(e,r),r,n,s)}function*FromRegExp(e,r,n,s){if(!IsString(s))return yield Create(ValueErrorType.String,e,n,s);if(IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(ValueErrorType.StringMinLength,e,n,s)}if(IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(ValueErrorType.StringMaxLength,e,n,s)}const i=new RegExp(e.source,e.flags);if(!i.test(s)){return yield Create(ValueErrorType.RegExp,e,n,s)}}function*FromString(e,r,n,s){if(!IsString(s))return yield Create(ValueErrorType.String,e,n,s);if(IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(ValueErrorType.StringMinLength,e,n,s)}if(IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(ValueErrorType.StringMaxLength,e,n,s)}if(IsString(e.pattern)){const r=new RegExp(e.pattern);if(!r.test(s)){yield Create(ValueErrorType.StringPattern,e,n,s)}}if(IsString(e.format)){if(!Has(e.format)){yield Create(ValueErrorType.StringFormatUnknown,e,n,s)}else{const r=Get(e.format);if(!r(s)){yield Create(ValueErrorType.StringFormat,e,n,s)}}}}function*FromSymbol(e,r,n,s){if(!IsSymbol(s))yield Create(ValueErrorType.Symbol,e,n,s)}function*errors_FromTemplateLiteral(e,r,n,s){if(!IsString(s))return yield Create(ValueErrorType.String,e,n,s);const i=new RegExp(e.pattern);if(!i.test(s)){yield Create(ValueErrorType.StringPattern,e,n,s)}}function*FromThis(e,r,n,s){yield*errors_Visit(deref_Deref(e,r),r,n,s)}function*errors_FromTuple(e,r,n,s){if(!IsArray(s))return yield Create(ValueErrorType.Tuple,e,n,s);if(e.items===undefined&&!(s.length===0)){return yield Create(ValueErrorType.TupleLength,e,n,s)}if(!(s.length===e.maxItems)){return yield Create(ValueErrorType.TupleLength,e,n,s)}if(!e.items){return}for(let i=0;i0){yield Create(ValueErrorType.Union,e,n,s)}}function*FromUint8Array(e,r,n,s){if(!IsUint8Array(s))return yield Create(ValueErrorType.Uint8Array,e,n,s);if(IsDefined(e.maxByteLength)&&!(s.length<=e.maxByteLength)){yield Create(ValueErrorType.Uint8ArrayMaxByteLength,e,n,s)}if(IsDefined(e.minByteLength)&&!(s.length>=e.minByteLength)){yield Create(ValueErrorType.Uint8ArrayMinByteLength,e,n,s)}}function*FromUnknown(e,r,n,s){}function*FromVoid(e,r,n,s){if(!TypeSystemPolicy.IsVoidLike(s))yield Create(ValueErrorType.Void,e,n,s)}function*FromKind(e,r,n,s){const i=type_Get(e[symbols_Kind]);if(!i(e,s))yield Create(ValueErrorType.Kind,e,n,s)}function*errors_Visit(e,r,n,s){const i=IsDefined(e.$id)?[...r,e]:r;const o=e;switch(o[symbols_Kind]){case"Any":return yield*FromAny(o,i,n,s);case"Array":return yield*errors_FromArray(o,i,n,s);case"AsyncIterator":return yield*FromAsyncIterator(o,i,n,s);case"BigInt":return yield*FromBigInt(o,i,n,s);case"Boolean":return yield*FromBoolean(o,i,n,s);case"Constructor":return yield*FromConstructor(o,i,n,s);case"Date":return yield*FromDate(o,i,n,s);case"Function":return yield*FromFunction(o,i,n,s);case"Integer":return yield*FromInteger(o,i,n,s);case"Intersect":return yield*errors_FromIntersect(o,i,n,s);case"Iterator":return yield*FromIterator(o,i,n,s);case"Literal":return yield*errors_FromLiteral(o,i,n,s);case"Never":return yield*FromNever(o,i,n,s);case"Not":return yield*FromNot(o,i,n,s);case"Null":return yield*FromNull(o,i,n,s);case"Number":return yield*FromNumber(o,i,n,s);case"Object":return yield*FromObject(o,i,n,s);case"Promise":return yield*FromPromise(o,i,n,s);case"Record":return yield*FromRecord(o,i,n,s);case"Ref":return yield*FromRef(o,i,n,s);case"RegExp":return yield*FromRegExp(o,i,n,s);case"String":return yield*FromString(o,i,n,s);case"Symbol":return yield*FromSymbol(o,i,n,s);case"TemplateLiteral":return yield*errors_FromTemplateLiteral(o,i,n,s);case"This":return yield*FromThis(o,i,n,s);case"Tuple":return yield*errors_FromTuple(o,i,n,s);case"Undefined":return yield*FromUndefined(o,i,n,s);case"Union":return yield*errors_FromUnion(o,i,n,s);case"Uint8Array":return yield*FromUint8Array(o,i,n,s);case"Unknown":return yield*FromUnknown(o,i,n,s);case"Void":return yield*FromVoid(o,i,n,s);default:if(!type_Has(o[symbols_Kind]))throw new ValueErrorsUnknownTypeError(e);return yield*FromKind(o,i,n,s)}}function Errors(...e){const r=e.length===3?errors_Visit(e[0],e[1],"",e[2]):errors_Visit(e[0],[],"",e[1]);return new ValueErrorIterator(r)}function any_Any(e={}){return{...e,[symbols_Kind]:"Any"}}function unknown_Unknown(e={}){return{...e,[symbols_Kind]:"Unknown"}}class TypeGuardUnknownTypeError extends TypeBoxError{}const KnownTypes=["Any","Array","AsyncIterator","BigInt","Boolean","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!value_IsString(e))return false;for(let r=0;r=7&&n<=13||n===27||n===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||type_IsSchema(e)}function IsOptionalBigInt(e){return value_IsUndefined(e)||value_IsBigInt(e)}function IsOptionalNumber(e){return value_IsUndefined(e)||value_IsNumber(e)}function IsOptionalBoolean(e){return value_IsUndefined(e)||value_IsBoolean(e)}function IsOptionalString(e){return value_IsUndefined(e)||value_IsString(e)}function IsOptionalPattern(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return value_IsUndefined(e)||type_IsSchema(e)}function type_IsReadonly(e){return value_IsObject(e)&&e[ReadonlyKind]==="Readonly"}function type_IsOptional(e){return value_IsObject(e)&&e[OptionalKind]==="Optional"}function type_IsAny(e){return type_IsKindOf(e,"Any")&&IsOptionalString(e.$id)}function type_IsArray(e){return type_IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}function type_IsAsyncIterator(e){return type_IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsBigInt(e){return type_IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}function type_IsBoolean(e){return type_IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}function type_IsConstructor(e){return type_IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsDate(e){return type_IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}function type_IsFunction(e){return type_IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsInteger(e){return type_IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsProperties(e){return value_IsObject(e)&&Object.entries(e).every((([e,r])=>IsControlCharacterFree(e)&&type_IsSchema(r)))}function type_IsIntersect(e){return type_IsKindOf(e,"Intersect")&&(value_IsString(e.type)&&e.type!=="object"?false:true)&&value_IsArray(e.allOf)&&e.allOf.every((e=>type_IsSchema(e)&&!type_IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}function type_IsIterator(e){return type_IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsKindOf(e,r){return value_IsObject(e)&&symbols_Kind in e&&e[symbols_Kind]===r}function type_IsLiteralString(e){return type_IsLiteral(e)&&value_IsString(e.const)}function type_IsLiteralNumber(e){return type_IsLiteral(e)&&value_IsNumber(e.const)}function type_IsLiteralBoolean(e){return type_IsLiteral(e)&&value_IsBoolean(e.const)}function type_IsLiteral(e){return type_IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&IsLiteralValue(e.const)}function IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function type_IsMappedKey(e){return type_IsKindOf(e,"MappedKey")&&value_IsArray(e.keys)&&e.keys.every((e=>value_IsNumber(e)||value_IsString(e)))}function type_IsMappedResult(e){return type_IsKindOf(e,"MappedResult")&&type_IsProperties(e.properties)}function type_IsNever(e){return type_IsKindOf(e,"Never")&&value_IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function type_IsNot(e){return type_IsKindOf(e,"Not")&&type_IsSchema(e.not)}function type_IsNull(e){return type_IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}function type_IsNumber(e){return type_IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsObject(e){return type_IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&type_IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}function type_IsPromise(e){return type_IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&type_IsSchema(e.item)}function type_IsRecord(e){return type_IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&value_IsObject(e.patternProperties)&&(e=>{const r=Object.getOwnPropertyNames(e.patternProperties);return r.length===1&&IsPattern(r[0])&&value_IsObject(e.patternProperties)&&type_IsSchema(e.patternProperties[r[0]])})(e)}function type_IsRecursive(e){return value_IsObject(e)&&symbols_Hint in e&&e[symbols_Hint]==="Recursive"}function type_IsRef(e){return type_IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsRegExp(e){return type_IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&value_IsString(e.source)&&value_IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}function type_IsString(e){return type_IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}function type_IsSymbol(e){return type_IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}function type_IsTemplateLiteral(e){return type_IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&value_IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function type_IsThis(e){return type_IsKindOf(e,"This")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsTransform(e){return value_IsObject(e)&&TransformKind in e}function type_IsTuple(e){return type_IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&value_IsNumber(e.minItems)&&value_IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(value_IsUndefined(e.items)&&value_IsUndefined(e.additionalItems)&&e.minItems===0||value_IsArray(e.items)&&e.items.every((e=>type_IsSchema(e))))}function type_IsUndefined(e){return type_IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}function IsUnionLiteral(e){return type_IsUnion(e)&&e.anyOf.every((e=>type_IsLiteralString(e)||type_IsLiteralNumber(e)))}function type_IsUnion(e){return type_IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&value_IsObject(e)&&value_IsArray(e.anyOf)&&e.anyOf.every((e=>type_IsSchema(e)))}function type_IsUint8Array(e){return type_IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}function type_IsUnknown(e){return type_IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}function type_IsUnsafe(e){return type_IsKindOf(e,"Unsafe")}function type_IsVoid(e){return type_IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}function type_IsKind(e){return value_IsObject(e)&&symbols_Kind in e&&value_IsString(e[symbols_Kind])&&!KnownTypes.includes(e[symbols_Kind])}function type_IsSchema(e){return value_IsObject(e)&&(type_IsAny(e)||type_IsArray(e)||type_IsBoolean(e)||type_IsBigInt(e)||type_IsAsyncIterator(e)||type_IsConstructor(e)||type_IsDate(e)||type_IsFunction(e)||type_IsInteger(e)||type_IsIntersect(e)||type_IsIterator(e)||type_IsLiteral(e)||type_IsMappedKey(e)||type_IsMappedResult(e)||type_IsNever(e)||type_IsNot(e)||type_IsNull(e)||type_IsNumber(e)||type_IsObject(e)||type_IsPromise(e)||type_IsRecord(e)||type_IsRef(e)||type_IsRegExp(e)||type_IsString(e)||type_IsSymbol(e)||type_IsTemplateLiteral(e)||type_IsThis(e)||type_IsTuple(e)||type_IsUndefined(e)||type_IsUnion(e)||type_IsUint8Array(e)||type_IsUnknown(e)||type_IsUnsafe(e)||type_IsVoid(e)||type_IsKind(e))}class ExtendsResolverError extends TypeBoxError{}var ExtendsResult;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(ExtendsResult||(ExtendsResult={}));function IntoBooleanResult(e){return e===ExtendsResult.False?e:ExtendsResult.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return type_IsNever(e)||type_IsIntersect(e)||type_IsUnion(e)||type_IsUnknown(e)||type_IsAny(e)}function StructuralRight(e,r){return type_IsNever(r)?FromNeverRight(e,r):type_IsIntersect(r)?FromIntersectRight(e,r):type_IsUnion(r)?FromUnionRight(e,r):type_IsUnknown(r)?FromUnknownRight(e,r):type_IsAny(r)?FromAnyRight(e,r):Throw("StructuralRight")}function FromAnyRight(e,r){return ExtendsResult.True}function extends_check_FromAny(e,r){return type_IsIntersect(r)?FromIntersectRight(e,r):type_IsUnion(r)&&r.anyOf.some((e=>type_IsAny(e)||type_IsUnknown(e)))?ExtendsResult.True:type_IsUnion(r)?ExtendsResult.Union:type_IsUnknown(r)?ExtendsResult.True:type_IsAny(r)?ExtendsResult.True:ExtendsResult.Union}function FromArrayRight(e,r){return type_IsUnknown(e)?ExtendsResult.False:type_IsAny(e)?ExtendsResult.Union:type_IsNever(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromArray(e,r){return type_IsObject(r)&&IsObjectArrayLike(r)?ExtendsResult.True:IsStructuralRight(r)?StructuralRight(e,r):!type_IsArray(r)?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.items,r.items))}function extends_check_FromAsyncIterator(e,r){return IsStructuralRight(r)?StructuralRight(e,r):!type_IsAsyncIterator(r)?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.items,r.items))}function extends_check_FromBigInt(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsBigInt(r)?ExtendsResult.True:ExtendsResult.False}function FromBooleanRight(e,r){return type_IsLiteralBoolean(e)?ExtendsResult.True:type_IsBoolean(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromBoolean(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsBoolean(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromConstructor(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):!type_IsConstructor(r)?ExtendsResult.False:e.parameters.length>r.parameters.length?ExtendsResult.False:!e.parameters.every(((e,n)=>IntoBooleanResult(extends_check_Visit(r.parameters[n],e))===ExtendsResult.True))?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.returns,r.returns))}function extends_check_FromDate(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsDate(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromFunction(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):!type_IsFunction(r)?ExtendsResult.False:e.parameters.length>r.parameters.length?ExtendsResult.False:!e.parameters.every(((e,n)=>IntoBooleanResult(extends_check_Visit(r.parameters[n],e))===ExtendsResult.True))?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.returns,r.returns))}function FromIntegerRight(e,r){return type_IsLiteral(e)&&value_IsNumber(e.const)?ExtendsResult.True:type_IsNumber(e)||type_IsInteger(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromInteger(e,r){return type_IsInteger(r)||type_IsNumber(r)?ExtendsResult.True:IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):ExtendsResult.False}function FromIntersectRight(e,r){return r.allOf.every((r=>extends_check_Visit(e,r)===ExtendsResult.True))?ExtendsResult.True:ExtendsResult.False}function extends_check_FromIntersect(e,r){return e.allOf.some((e=>extends_check_Visit(e,r)===ExtendsResult.True))?ExtendsResult.True:ExtendsResult.False}function extends_check_FromIterator(e,r){return IsStructuralRight(r)?StructuralRight(e,r):!type_IsIterator(r)?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.items,r.items))}function extends_check_FromLiteral(e,r){return type_IsLiteral(r)&&r.const===e.const?ExtendsResult.True:IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsString(r)?FromStringRight(e,r):type_IsNumber(r)?FromNumberRight(e,r):type_IsInteger(r)?FromIntegerRight(e,r):type_IsBoolean(r)?FromBooleanRight(e,r):ExtendsResult.False}function FromNeverRight(e,r){return ExtendsResult.False}function extends_check_FromNever(e,r){return ExtendsResult.True}function UnwrapTNot(e){let[r,n]=[e,0];while(true){if(!type_IsNot(r))break;r=r.not;n+=1}return n%2===0?r:unknown_Unknown()}function extends_check_FromNot(e,r){return type_IsNot(e)?extends_check_Visit(UnwrapTNot(e),r):type_IsNot(r)?extends_check_Visit(e,UnwrapTNot(r)):Throw("Invalid fallthrough for Not")}function extends_check_FromNull(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsNull(r)?ExtendsResult.True:ExtendsResult.False}function FromNumberRight(e,r){return type_IsLiteralNumber(e)?ExtendsResult.True:type_IsNumber(e)||type_IsInteger(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromNumber(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsInteger(r)||type_IsNumber(r)?ExtendsResult.True:ExtendsResult.False}function IsObjectPropertyCount(e,r){return Object.getOwnPropertyNames(e.properties).length===r}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&type_IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(type_IsString(e.properties.description.anyOf[0])&&type_IsUndefined(e.properties.description.anyOf[1])||type_IsString(e.properties.description.anyOf[1])&&type_IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const r=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],r))===ExtendsResult.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const r=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],r))===ExtendsResult.True}function IsObjectPromiseLike(e){const r=function_Function([any_Any()],any_Any());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["then"],r))===ExtendsResult.True}function Property(e,r){return extends_check_Visit(e,r)===ExtendsResult.False?ExtendsResult.False:type_IsOptional(e)&&!type_IsOptional(r)?ExtendsResult.False:ExtendsResult.True}function FromObjectRight(e,r){return type_IsUnknown(e)?ExtendsResult.False:type_IsAny(e)?ExtendsResult.Union:type_IsNever(e)||type_IsLiteralString(e)&&IsObjectStringLike(r)||type_IsLiteralNumber(e)&&IsObjectNumberLike(r)||type_IsLiteralBoolean(e)&&IsObjectBooleanLike(r)||type_IsSymbol(e)&&IsObjectSymbolLike(r)||type_IsBigInt(e)&&IsObjectBigIntLike(r)||type_IsString(e)&&IsObjectStringLike(r)||type_IsSymbol(e)&&IsObjectSymbolLike(r)||type_IsNumber(e)&&IsObjectNumberLike(r)||type_IsInteger(e)&&IsObjectNumberLike(r)||type_IsBoolean(e)&&IsObjectBooleanLike(r)||type_IsUint8Array(e)&&IsObjectUint8ArrayLike(r)||type_IsDate(e)&&IsObjectDateLike(r)||type_IsConstructor(e)&&IsObjectConstructorLike(r)||type_IsFunction(e)&&IsObjectFunctionLike(r)?ExtendsResult.True:type_IsRecord(e)&&type_IsString(RecordKey(e))?(()=>r[symbols_Hint]==="Record"?ExtendsResult.True:ExtendsResult.False)():type_IsRecord(e)&&type_IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(r,0)?ExtendsResult.True:ExtendsResult.False)():ExtendsResult.False}function extends_check_FromObject(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):!type_IsObject(r)?ExtendsResult.False:(()=>{for(const n of Object.getOwnPropertyNames(r.properties)){if(!(n in e.properties)&&!type_IsOptional(r.properties[n])){return ExtendsResult.False}if(type_IsOptional(r.properties[n])){return ExtendsResult.True}if(Property(e.properties[n],r.properties[n])===ExtendsResult.False){return ExtendsResult.False}}return ExtendsResult.True})()}function extends_check_FromPromise(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)&&IsObjectPromiseLike(r)?ExtendsResult.True:!type_IsPromise(r)?ExtendsResult.False:IntoBooleanResult(extends_check_Visit(e.item,r.item))}function RecordKey(e){return PatternNumberExact in e.patternProperties?number_Number():PatternStringExact in e.patternProperties?string_String():Throw("Unknown record key pattern")}function RecordValue(e){return PatternNumberExact in e.patternProperties?e.patternProperties[PatternNumberExact]:PatternStringExact in e.patternProperties?e.patternProperties[PatternStringExact]:Throw("Unable to get record value schema")}function FromRecordRight(e,r){const[n,s]=[RecordKey(r),RecordValue(r)];return type_IsLiteralString(e)&&type_IsNumber(n)&&IntoBooleanResult(extends_check_Visit(e,s))===ExtendsResult.True?ExtendsResult.True:type_IsUint8Array(e)&&type_IsNumber(n)?extends_check_Visit(e,s):type_IsString(e)&&type_IsNumber(n)?extends_check_Visit(e,s):type_IsArray(e)&&type_IsNumber(n)?extends_check_Visit(e,s):type_IsObject(e)?(()=>{for(const r of Object.getOwnPropertyNames(e.properties)){if(Property(s,e.properties[r])===ExtendsResult.False){return ExtendsResult.False}}return ExtendsResult.True})():ExtendsResult.False}function extends_check_FromRecord(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):!type_IsRecord(r)?ExtendsResult.False:extends_check_Visit(RecordValue(e),RecordValue(r))}function extends_check_FromRegExp(e,r){const n=type_IsRegExp(e)?string_String():e;const s=type_IsRegExp(r)?string_String():r;return extends_check_Visit(n,s)}function FromStringRight(e,r){return type_IsLiteral(e)&&value_IsString(e.const)?ExtendsResult.True:type_IsString(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromString(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsString(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromSymbol(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsSymbol(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromTemplateLiteral(e,r){return type_IsTemplateLiteral(e)?extends_check_Visit(TemplateLiteralToUnion(e),r):type_IsTemplateLiteral(r)?extends_check_Visit(e,TemplateLiteralToUnion(r)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,r){return type_IsArray(r)&&e.items!==undefined&&e.items.every((e=>extends_check_Visit(e,r.items)===ExtendsResult.True))}function FromTupleRight(e,r){return type_IsNever(e)?ExtendsResult.True:type_IsUnknown(e)?ExtendsResult.False:type_IsAny(e)?ExtendsResult.Union:ExtendsResult.False}function extends_check_FromTuple(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)&&IsObjectArrayLike(r)?ExtendsResult.True:type_IsArray(r)&&IsArrayOfTuple(e,r)?ExtendsResult.True:!type_IsTuple(r)?ExtendsResult.False:value_IsUndefined(e.items)&&!value_IsUndefined(r.items)||!value_IsUndefined(e.items)&&value_IsUndefined(r.items)?ExtendsResult.False:value_IsUndefined(e.items)&&!value_IsUndefined(r.items)?ExtendsResult.True:e.items.every(((e,n)=>extends_check_Visit(e,r.items[n])===ExtendsResult.True))?ExtendsResult.True:ExtendsResult.False}function extends_check_FromUint8Array(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsUint8Array(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromUndefined(e,r){return IsStructuralRight(r)?StructuralRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsRecord(r)?FromRecordRight(e,r):type_IsVoid(r)?FromVoidRight(e,r):type_IsUndefined(r)?ExtendsResult.True:ExtendsResult.False}function FromUnionRight(e,r){return r.anyOf.some((r=>extends_check_Visit(e,r)===ExtendsResult.True))?ExtendsResult.True:ExtendsResult.False}function extends_check_FromUnion(e,r){return e.anyOf.every((e=>extends_check_Visit(e,r)===ExtendsResult.True))?ExtendsResult.True:ExtendsResult.False}function FromUnknownRight(e,r){return ExtendsResult.True}function extends_check_FromUnknown(e,r){return type_IsNever(r)?FromNeverRight(e,r):type_IsIntersect(r)?FromIntersectRight(e,r):type_IsUnion(r)?FromUnionRight(e,r):type_IsAny(r)?FromAnyRight(e,r):type_IsString(r)?FromStringRight(e,r):type_IsNumber(r)?FromNumberRight(e,r):type_IsInteger(r)?FromIntegerRight(e,r):type_IsBoolean(r)?FromBooleanRight(e,r):type_IsArray(r)?FromArrayRight(e,r):type_IsTuple(r)?FromTupleRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsUnknown(r)?ExtendsResult.True:ExtendsResult.False}function FromVoidRight(e,r){return type_IsUndefined(e)?ExtendsResult.True:type_IsUndefined(e)?ExtendsResult.True:ExtendsResult.False}function extends_check_FromVoid(e,r){return type_IsIntersect(r)?FromIntersectRight(e,r):type_IsUnion(r)?FromUnionRight(e,r):type_IsUnknown(r)?FromUnknownRight(e,r):type_IsAny(r)?FromAnyRight(e,r):type_IsObject(r)?FromObjectRight(e,r):type_IsVoid(r)?ExtendsResult.True:ExtendsResult.False}function extends_check_Visit(e,r){return type_IsTemplateLiteral(e)||type_IsTemplateLiteral(r)?extends_check_FromTemplateLiteral(e,r):type_IsRegExp(e)||type_IsRegExp(r)?extends_check_FromRegExp(e,r):type_IsNot(e)||type_IsNot(r)?extends_check_FromNot(e,r):type_IsAny(e)?extends_check_FromAny(e,r):type_IsArray(e)?extends_check_FromArray(e,r):type_IsBigInt(e)?extends_check_FromBigInt(e,r):type_IsBoolean(e)?extends_check_FromBoolean(e,r):type_IsAsyncIterator(e)?extends_check_FromAsyncIterator(e,r):type_IsConstructor(e)?extends_check_FromConstructor(e,r):type_IsDate(e)?extends_check_FromDate(e,r):type_IsFunction(e)?extends_check_FromFunction(e,r):type_IsInteger(e)?extends_check_FromInteger(e,r):type_IsIntersect(e)?extends_check_FromIntersect(e,r):type_IsIterator(e)?extends_check_FromIterator(e,r):type_IsLiteral(e)?extends_check_FromLiteral(e,r):type_IsNever(e)?extends_check_FromNever(e,r):type_IsNull(e)?extends_check_FromNull(e,r):type_IsNumber(e)?extends_check_FromNumber(e,r):type_IsObject(e)?extends_check_FromObject(e,r):type_IsRecord(e)?extends_check_FromRecord(e,r):type_IsString(e)?extends_check_FromString(e,r):type_IsSymbol(e)?extends_check_FromSymbol(e,r):type_IsTuple(e)?extends_check_FromTuple(e,r):type_IsPromise(e)?extends_check_FromPromise(e,r):type_IsUint8Array(e)?extends_check_FromUint8Array(e,r):type_IsUndefined(e)?extends_check_FromUndefined(e,r):type_IsUnion(e)?extends_check_FromUnion(e,r):type_IsUnknown(e)?extends_check_FromUnknown(e,r):type_IsVoid(e)?extends_check_FromVoid(e,r):Throw(`Unknown left type operand '${e[symbols_Kind]}'`)}function ExtendsCheck(e,r){return extends_check_Visit(e,r)}function extends_from_mapped_result_FromProperties(e,r,n,s,i){const o={};for(const c of globalThis.Object.getOwnPropertyNames(e))o[c]=extends_Extends(e[c],r,n,s,i);return o}function extends_from_mapped_result_FromMappedResult(e,r,n,s,i){return extends_from_mapped_result_FromProperties(e.properties,r,n,s,i)}function ExtendsFromMappedResult(e,r,n,s,i){const o=extends_from_mapped_result_FromMappedResult(e,r,n,s,i);return MappedResult(o)}function ExtendsResolve(e,r,n,s){const i=ExtendsCheck(e,r);return i===ExtendsResult.Union?union_Union([n,s]):i===ExtendsResult.True?n:s}function extends_Extends(e,r,n,s,i={}){return IsMappedResult(e)?ExtendsFromMappedResult(e,r,n,s,i):IsMappedKey(e)?CloneType(ExtendsFromMappedKey(e,r,n,s,i)):CloneType(ExtendsResolve(e,r,n,s),i)}function FromPropertyKey(e,r,n,s,i){return{[e]:extends_Extends(literal_Literal(e),r,n,s,i)}}function FromPropertyKeys(e,r,n,s,i){return e.reduce(((e,o)=>({...e,...FromPropertyKey(o,r,n,s,i)})),{})}function extends_from_mapped_key_FromMappedKey(e,r,n,s,i){return FromPropertyKeys(e.keys,r,n,s,i)}function ExtendsFromMappedKey(e,r,n,s,i){const o=extends_from_mapped_key_FromMappedKey(e,r,n,s,i);return MappedResult(o)}class ValueCheckUnknownTypeError extends TypeBoxError{constructor(e){super(`Unknown type`);this.schema=e}}function IsAnyOrUnknown(e){return e[symbols_Kind]==="Any"||e[symbols_Kind]==="Unknown"}function check_IsDefined(e){return e!==undefined}function check_FromAny(e,r,n){return true}function check_FromArray(e,r,n){if(!IsArray(n))return false;if(check_IsDefined(e.minItems)&&!(n.length>=e.minItems)){return false}if(check_IsDefined(e.maxItems)&&!(n.length<=e.maxItems)){return false}if(!n.every((n=>check_Visit(e.items,r,n)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const r of n){const n=Hash(r);if(e.has(n)){return false}else{e.add(n)}}return true}()){return false}if(!(check_IsDefined(e.contains)||IsNumber(e.minContains)||IsNumber(e.maxContains))){return true}const s=check_IsDefined(e.contains)?e.contains:never_Never();const i=n.reduce(((e,n)=>check_Visit(s,r,n)?e+1:e),0);if(i===0){return false}if(IsNumber(e.minContains)&&ie.maxContains){return false}return true}function check_FromAsyncIterator(e,r,n){return IsAsyncIterator(n)}function check_FromBigInt(e,r,n){if(!IsBigInt(n))return false;if(check_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(check_IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(check_IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(check_IsDefined(e.multipleOf)&&!(n%e.multipleOf===BigInt(0))){return false}return true}function check_FromBoolean(e,r,n){return IsBoolean(n)}function check_FromConstructor(e,r,n){return check_Visit(e.returns,r,n.prototype)}function check_FromDate(e,r,n){if(!IsDate(n))return false;if(check_IsDefined(e.exclusiveMaximumTimestamp)&&!(n.getTime()e.exclusiveMinimumTimestamp)){return false}if(check_IsDefined(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)){return false}if(check_IsDefined(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)){return false}if(check_IsDefined(e.multipleOfTimestamp)&&!(n.getTime()%e.multipleOfTimestamp===0)){return false}return true}function check_FromFunction(e,r,n){return IsFunction(n)}function check_FromInteger(e,r,n){if(!IsInteger(n)){return false}if(check_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(check_IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(check_IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(check_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){return false}return true}function check_FromIntersect(e,r,n){const s=e.allOf.every((e=>check_Visit(e,r,n)));if(e.unevaluatedProperties===false){const r=new RegExp(KeyOfPattern(e));const i=Object.getOwnPropertyNames(n).every((e=>r.test(e)));return s&&i}else if(type_IsSchema(e.unevaluatedProperties)){const i=new RegExp(KeyOfPattern(e));const o=Object.getOwnPropertyNames(n).every((s=>i.test(s)||check_Visit(e.unevaluatedProperties,r,n[s])));return s&&o}else{return s}}function check_FromIterator(e,r,n){return IsIterator(n)}function check_FromLiteral(e,r,n){return n===e.const}function check_FromNever(e,r,n){return false}function check_FromNot(e,r,n){return!check_Visit(e.not,r,n)}function check_FromNull(e,r,n){return IsNull(n)}function check_FromNumber(e,r,n){if(!TypeSystemPolicy.IsNumberLike(n))return false;if(check_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){return false}if(check_IsDefined(e.minimum)&&!(n>=e.minimum)){return false}if(check_IsDefined(e.maximum)&&!(n<=e.maximum)){return false}if(check_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){return false}return true}function check_FromObject(e,r,n){if(!TypeSystemPolicy.IsObjectLike(n))return false;if(check_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){return false}if(check_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){return false}const s=Object.getOwnPropertyNames(e.properties);for(const i of s){const s=e.properties[i];if(e.required&&e.required.includes(i)){if(!check_Visit(s,r,n[i])){return false}if((ExtendsUndefinedCheck(s)||IsAnyOrUnknown(s))&&!(i in n)){return false}}else{if(TypeSystemPolicy.IsExactOptionalProperty(n,i)&&!check_Visit(s,r,n[i])){return false}}}if(e.additionalProperties===false){const r=Object.getOwnPropertyNames(n);if(e.required&&e.required.length===s.length&&r.length===s.length){return true}else{return r.every((e=>s.includes(e)))}}else if(typeof e.additionalProperties==="object"){const i=Object.getOwnPropertyNames(n);return i.every((i=>s.includes(i)||check_Visit(e.additionalProperties,r,n[i])))}else{return true}}function check_FromPromise(e,r,n){return IsPromise(n)}function check_FromRecord(e,r,n){if(!TypeSystemPolicy.IsRecordLike(n)){return false}if(check_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){return false}if(check_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){return false}const[s,i]=Object.entries(e.patternProperties)[0];const o=new RegExp(s);const c=Object.entries(n).every((([e,n])=>o.test(e)?check_Visit(i,r,n):true));const u=typeof e.additionalProperties==="object"?Object.entries(n).every((([n,s])=>!o.test(n)?check_Visit(e.additionalProperties,r,s):true)):true;const d=e.additionalProperties===false?Object.getOwnPropertyNames(n).every((e=>o.test(e))):true;return c&&u&&d}function check_FromRef(e,r,n){return check_Visit(deref_Deref(e,r),r,n)}function check_FromRegExp(e,r,n){const s=new RegExp(e.source,e.flags);if(check_IsDefined(e.minLength)){if(!(n.length>=e.minLength))return false}if(check_IsDefined(e.maxLength)){if(!(n.length<=e.maxLength))return false}return s.test(n)}function check_FromString(e,r,n){if(!IsString(n)){return false}if(check_IsDefined(e.minLength)){if(!(n.length>=e.minLength))return false}if(check_IsDefined(e.maxLength)){if(!(n.length<=e.maxLength))return false}if(check_IsDefined(e.pattern)){const r=new RegExp(e.pattern);if(!r.test(n))return false}if(check_IsDefined(e.format)){if(!Has(e.format))return false;const r=Get(e.format);return r(n)}return true}function check_FromSymbol(e,r,n){return IsSymbol(n)}function check_FromTemplateLiteral(e,r,n){return IsString(n)&&new RegExp(e.pattern).test(n)}function check_FromThis(e,r,n){return check_Visit(deref_Deref(e,r),r,n)}function check_FromTuple(e,r,n){if(!IsArray(n)){return false}if(e.items===undefined&&!(n.length===0)){return false}if(!(n.length===e.maxItems)){return false}if(!e.items){return true}for(let s=0;scheck_Visit(e,r,n)))}function check_FromUint8Array(e,r,n){if(!IsUint8Array(n)){return false}if(check_IsDefined(e.maxByteLength)&&!(n.length<=e.maxByteLength)){return false}if(check_IsDefined(e.minByteLength)&&!(n.length>=e.minByteLength)){return false}return true}function check_FromUnknown(e,r,n){return true}function check_FromVoid(e,r,n){return TypeSystemPolicy.IsVoidLike(n)}function check_FromKind(e,r,n){if(!type_Has(e[symbols_Kind]))return false;const s=type_Get(e[symbols_Kind]);return s(e,n)}function check_Visit(e,r,n){const s=check_IsDefined(e.$id)?[...r,e]:r;const i=e;switch(i[symbols_Kind]){case"Any":return check_FromAny(i,s,n);case"Array":return check_FromArray(i,s,n);case"AsyncIterator":return check_FromAsyncIterator(i,s,n);case"BigInt":return check_FromBigInt(i,s,n);case"Boolean":return check_FromBoolean(i,s,n);case"Constructor":return check_FromConstructor(i,s,n);case"Date":return check_FromDate(i,s,n);case"Function":return check_FromFunction(i,s,n);case"Integer":return check_FromInteger(i,s,n);case"Intersect":return check_FromIntersect(i,s,n);case"Iterator":return check_FromIterator(i,s,n);case"Literal":return check_FromLiteral(i,s,n);case"Never":return check_FromNever(i,s,n);case"Not":return check_FromNot(i,s,n);case"Null":return check_FromNull(i,s,n);case"Number":return check_FromNumber(i,s,n);case"Object":return check_FromObject(i,s,n);case"Promise":return check_FromPromise(i,s,n);case"Record":return check_FromRecord(i,s,n);case"Ref":return check_FromRef(i,s,n);case"RegExp":return check_FromRegExp(i,s,n);case"String":return check_FromString(i,s,n);case"Symbol":return check_FromSymbol(i,s,n);case"TemplateLiteral":return check_FromTemplateLiteral(i,s,n);case"This":return check_FromThis(i,s,n);case"Tuple":return check_FromTuple(i,s,n);case"Undefined":return check_FromUndefined(i,s,n);case"Union":return check_FromUnion(i,s,n);case"Uint8Array":return check_FromUint8Array(i,s,n);case"Unknown":return check_FromUnknown(i,s,n);case"Void":return check_FromVoid(i,s,n);default:if(!type_Has(i[symbols_Kind]))throw new ValueCheckUnknownTypeError(i);return check_FromKind(i,s,n)}}function Check(...e){return e.length===3?check_Visit(e[0],e[1],e[2]):check_Visit(e[0],[],e[1])}function clone_ObjectType(e){const r={};for(const n of Object.getOwnPropertyNames(e)){r[n]=clone_Clone(e[n])}for(const n of Object.getOwnPropertySymbols(e)){r[n]=clone_Clone(e[n])}return r}function clone_ArrayType(e){return e.map((e=>clone_Clone(e)))}function TypedArrayType(e){return e.slice()}function clone_DateType(e){return new Date(e.toISOString())}function ValueType(e){return e}function clone_Clone(e){if(IsArray(e))return clone_ArrayType(e);if(IsDate(e))return clone_DateType(e);if(IsStandardObject(e))return clone_ObjectType(e);if(IsTypedArray(e))return TypedArrayType(e);if(IsValueType(e))return ValueType(e);throw new Error("ValueClone: Unable to clone value")}class ValueCreateError extends TypeBoxError{constructor(e,r){super(r);this.schema=e}}function FromDefault(e){return typeof e==="function"?e:clone_Clone(e)}function create_FromAny(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return{}}}function create_FromArray(e,r){if(e.uniqueItems===true&&!HasPropertyKey(e,"default")){throw new ValueCreateError(e,"Array with the uniqueItems constraint requires a default value")}else if("contains"in e&&!HasPropertyKey(e,"default")){throw new ValueCreateError(e,"Array with the contains constraint requires a default value")}else if("default"in e){return FromDefault(e.default)}else if(e.minItems!==undefined){return Array.from({length:e.minItems}).map((n=>create_Visit(e.items,r)))}else{return[]}}function create_FromAsyncIterator(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return async function*(){}()}}function create_FromBigInt(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return BigInt(0)}}function create_FromBoolean(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return false}}function create_FromConstructor(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{const n=create_Visit(e.returns,r);if(typeof n==="object"&&!Array.isArray(n)){return class{constructor(){for(const[e,r]of Object.entries(n)){const n=this;n[e]=r}}}}else{return class{}}}}function create_FromDate(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.minimumTimestamp!==undefined){return new Date(e.minimumTimestamp)}else{return new Date}}function create_FromFunction(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return()=>create_Visit(e.returns,r)}}function create_FromInteger(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.minimum!==undefined){return e.minimum}else{return 0}}function create_FromIntersect(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{const n=e.allOf.reduce(((e,n)=>{const s=create_Visit(n,r);return typeof s==="object"?{...e,...s}:s}),{});if(!Check(e,r,n))throw new ValueCreateError(e,"Intersect produced invalid value. Consider using a default value.");return n}}function create_FromIterator(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return function*(){}()}}function create_FromLiteral(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return e.const}}function create_FromNever(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"Never types cannot be created. Consider using a default value.")}}function create_FromNot(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"Not types must have a default value")}}function create_FromNull(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return null}}function create_FromNumber(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.minimum!==undefined){return e.minimum}else{return 0}}function create_FromObject(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{const n=new Set(e.required);const s={};for(const[i,o]of Object.entries(e.properties)){if(!n.has(i))continue;s[i]=create_Visit(o,r)}return s}}function create_FromPromise(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return Promise.resolve(create_Visit(e.item,r))}}function create_FromRecord(e,r){const[n,s]=Object.entries(e.patternProperties)[0];if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(!(n===PatternStringExact||n===PatternNumberExact)){const e=n.slice(1,n.length-1).split("|");const i={};for(const n of e)i[n]=create_Visit(s,r);return i}else{return{}}}function create_FromRef(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return create_Visit(deref_Deref(e,r),r)}}function create_FromRegExp(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{throw new ValueCreateError(e,"RegExp types cannot be created. Consider using a default value.")}}function create_FromString(e,r){if(e.pattern!==undefined){if(!HasPropertyKey(e,"default")){throw new ValueCreateError(e,"String types with patterns must specify a default value")}else{return FromDefault(e.default)}}else if(e.format!==undefined){if(!HasPropertyKey(e,"default")){throw new ValueCreateError(e,"String types with formats must specify a default value")}else{return FromDefault(e.default)}}else{if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.minLength!==undefined){return Array.from({length:e.minLength}).map((()=>" ")).join("")}else{return""}}}function create_FromSymbol(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if("value"in e){return Symbol.for(e.value)}else{return Symbol()}}function create_FromTemplateLiteral(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}if(!IsTemplateLiteralFinite(e))throw new ValueCreateError(e,"Can only create template literals that produce a finite variants. Consider using a default value.");const n=TemplateLiteralGenerate(e);return n[0]}function create_FromThis(e,r){if(recursiveDepth++>recursiveMaxDepth)throw new ValueCreateError(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return create_Visit(deref_Deref(e,r),r)}}function create_FromTuple(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}if(e.items===undefined){return[]}else{return Array.from({length:e.minItems}).map(((n,s)=>create_Visit(e.items[s],r)))}}function create_FromUndefined(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return undefined}}function create_FromUnion(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.anyOf.length===0){throw new Error("ValueCreate.Union: Cannot create Union with zero variants")}else{return create_Visit(e.anyOf[0],r)}}function create_FromUint8Array(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else if(e.minByteLength!==undefined){return new Uint8Array(e.minByteLength)}else{return new Uint8Array(0)}}function create_FromUnknown(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return{}}}function create_FromVoid(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{return void 0}}function create_FromKind(e,r){if(HasPropertyKey(e,"default")){return FromDefault(e.default)}else{throw new Error("User defined types must specify a default value")}}function create_Visit(e,r){const n=IsString(e.$id)?[...r,e]:r;const s=e;switch(s[symbols_Kind]){case"Any":return create_FromAny(s,n);case"Array":return create_FromArray(s,n);case"AsyncIterator":return create_FromAsyncIterator(s,n);case"BigInt":return create_FromBigInt(s,n);case"Boolean":return create_FromBoolean(s,n);case"Constructor":return create_FromConstructor(s,n);case"Date":return create_FromDate(s,n);case"Function":return create_FromFunction(s,n);case"Integer":return create_FromInteger(s,n);case"Intersect":return create_FromIntersect(s,n);case"Iterator":return create_FromIterator(s,n);case"Literal":return create_FromLiteral(s,n);case"Never":return create_FromNever(s,n);case"Not":return create_FromNot(s,n);case"Null":return create_FromNull(s,n);case"Number":return create_FromNumber(s,n);case"Object":return create_FromObject(s,n);case"Promise":return create_FromPromise(s,n);case"Record":return create_FromRecord(s,n);case"Ref":return create_FromRef(s,n);case"RegExp":return create_FromRegExp(s,n);case"String":return create_FromString(s,n);case"Symbol":return create_FromSymbol(s,n);case"TemplateLiteral":return create_FromTemplateLiteral(s,n);case"This":return create_FromThis(s,n);case"Tuple":return create_FromTuple(s,n);case"Undefined":return create_FromUndefined(s,n);case"Union":return create_FromUnion(s,n);case"Uint8Array":return create_FromUint8Array(s,n);case"Unknown":return create_FromUnknown(s,n);case"Void":return create_FromVoid(s,n);default:if(!type_Has(s[symbols_Kind]))throw new ValueCreateError(s,"Unknown type");return create_FromKind(s,n)}}const recursiveMaxDepth=512;let recursiveDepth=0;function create_Create(...e){recursiveDepth=0;return e.length===2?create_Visit(e[0],e[1]):create_Visit(e[0],[])}class ValueCastError extends TypeBoxError{constructor(e,r){super(r);this.schema=e}}function ScoreUnion(e,r,n){if(e[symbols_Kind]==="Object"&&typeof n==="object"&&!IsNull(n)){const s=e;const i=Object.getOwnPropertyNames(n);const o=Object.entries(s.properties);const[c,u]=[1/o.length,o.length];return o.reduce(((e,[s,o])=>{const d=o[symbols_Kind]==="Literal"&&o.const===n[s]?u:0;const A=Check(o,r,n[s])?c:0;const h=i.includes(s)?c:0;return e+(d+A+h)}),0)}else{return Check(e,r,n)?1:0}}function SelectUnion(e,r,n){const s=e.anyOf.map((e=>deref_Deref(e,r)));let[i,o]=[s[0],0];for(const e of s){const s=ScoreUnion(e,r,n);if(s>o){i=e;o=s}}return i}function CastUnion(e,r,n){if("default"in e){return typeof n==="function"?e.default:clone_Clone(e.default)}else{const s=SelectUnion(e,r,n);return Cast(s,r,n)}}function DefaultClone(e,r,n){return Check(e,r,n)?clone_Clone(n):create_Create(e,r)}function Default(e,r,n){return Check(e,r,n)?n:create_Create(e,r)}function cast_FromArray(e,r,n){if(Check(e,r,n))return clone_Clone(n);const s=IsArray(n)?clone_Clone(n):create_Create(e,r);const i=IsNumber(e.minItems)&&s.lengthnull))]:s;const o=IsNumber(e.maxItems)&&i.length>e.maxItems?i.slice(0,e.maxItems):i;const c=o.map((n=>cast_Visit(e.items,r,n)));if(e.uniqueItems!==true)return c;const u=[...new Set(c)];if(!Check(e,r,u))throw new ValueCastError(e,"Array cast produced invalid data due to uniqueItems constraint");return u}function cast_FromConstructor(e,r,n){if(Check(e,r,n))return create_Create(e,r);const s=new Set(e.returns.required||[]);const result=function(){};for(const[i,o]of Object.entries(e.returns.properties)){if(!s.has(i)&&n.prototype[i]===undefined)continue;result.prototype[i]=cast_Visit(o,r,n.prototype[i])}return result}function cast_FromIntersect(e,r,n){const s=create_Create(e,r);const i=IsStandardObject(s)&&IsStandardObject(n)?{...s,...n}:n;return Check(e,r,i)?i:create_Create(e,r)}function cast_FromNever(e,r,n){throw new ValueCastError(e,"Never types cannot be cast")}function cast_FromObject(e,r,n){if(Check(e,r,n))return n;if(n===null||typeof n!=="object")return create_Create(e,r);const s=new Set(e.required||[]);const i={};for(const[o,c]of Object.entries(e.properties)){if(!s.has(o)&&n[o]===undefined)continue;i[o]=cast_Visit(c,r,n[o])}if(typeof e.additionalProperties==="object"){const s=Object.getOwnPropertyNames(e.properties);for(const o of Object.getOwnPropertyNames(n)){if(s.includes(o))continue;i[o]=cast_Visit(e.additionalProperties,r,n[o])}}return i}function cast_FromRecord(e,r,n){if(Check(e,r,n))return clone_Clone(n);if(n===null||typeof n!=="object"||Array.isArray(n)||n instanceof Date)return create_Create(e,r);const s=Object.getOwnPropertyNames(e.patternProperties)[0];const i=e.patternProperties[s];const o={};for(const[e,s]of Object.entries(n)){o[e]=cast_Visit(i,r,s)}return o}function cast_FromRef(e,r,n){return cast_Visit(deref_Deref(e,r),r,n)}function cast_FromThis(e,r,n){return cast_Visit(deref_Deref(e,r),r,n)}function cast_FromTuple(e,r,n){if(Check(e,r,n))return clone_Clone(n);if(!IsArray(n))return create_Create(e,r);if(e.items===undefined)return[];return e.items.map(((e,s)=>cast_Visit(e,r,n[s])))}function cast_FromUnion(e,r,n){return Check(e,r,n)?clone_Clone(n):CastUnion(e,r,n)}function cast_Visit(e,r,n){const s=IsString(e.$id)?[...r,e]:r;const i=e;switch(e[symbols_Kind]){case"Array":return cast_FromArray(i,s,n);case"Constructor":return cast_FromConstructor(i,s,n);case"Intersect":return cast_FromIntersect(i,s,n);case"Never":return cast_FromNever(i,s,n);case"Object":return cast_FromObject(i,s,n);case"Record":return cast_FromRecord(i,s,n);case"Ref":return cast_FromRef(i,s,n);case"This":return cast_FromThis(i,s,n);case"Tuple":return cast_FromTuple(i,s,n);case"Union":return cast_FromUnion(i,s,n);case"Date":case"Symbol":case"Uint8Array":return DefaultClone(e,r,n);default:return Default(i,s,n)}}function Cast(...e){return e.length===3?cast_Visit(e[0],e[1],e[2]):cast_Visit(e[0],[],e[1])}function IsCheckable(e){return type_IsSchema(e)&&e[symbols_Kind]!=="Unsafe"}function clean_FromArray(e,r,n){if(!IsArray(n))return n;return n.map((n=>clean_Visit(e.items,r,n)))}function clean_FromIntersect(e,r,n){const s=e.unevaluatedProperties;const i=e.allOf.map((e=>clean_Visit(e,r,clone_Clone(n))));const o=i.reduce(((e,r)=>IsObject(r)?{...e,...r}:r),{});if(!IsObject(n)||!IsObject(o)||!type_IsSchema(s))return o;const c=KeyOfPropertyKeys(e);for(const e of Object.getOwnPropertyNames(n)){if(c.includes(e))continue;if(Check(s,r,n[e])){o[e]=clean_Visit(s,r,n[e])}}return o}function clean_FromObject(e,r,n){if(!IsObject(n)||IsArray(n))return n;const s=e.additionalProperties;for(const i of Object.getOwnPropertyNames(n)){if(i in e.properties){n[i]=clean_Visit(e.properties[i],r,n[i]);continue}if(type_IsSchema(s)&&Check(s,r,n[i])){n[i]=clean_Visit(s,r,n[i]);continue}delete n[i]}return n}function clean_FromRecord(e,r,n){if(!IsObject(n))return n;const s=e.additionalProperties;const i=Object.getOwnPropertyNames(n);const[o,c]=Object.entries(e.patternProperties)[0];const u=new RegExp(o);for(const e of i){if(u.test(e)){n[e]=clean_Visit(c,r,n[e]);continue}if(type_IsSchema(s)&&Check(s,r,n[e])){n[e]=clean_Visit(s,r,n[e]);continue}delete n[e]}return n}function clean_FromRef(e,r,n){return clean_Visit(deref_Deref(e,r),r,n)}function clean_FromThis(e,r,n){return clean_Visit(deref_Deref(e,r),r,n)}function clean_FromTuple(e,r,n){if(!IsArray(n))return n;if(IsUndefined(e.items))return[];const s=Math.min(n.length,e.items.length);for(let i=0;is?n.slice(0,s):n}function clean_FromUnion(e,r,n){for(const s of e.anyOf){if(IsCheckable(s)&&Check(s,r,n)){return clean_Visit(s,r,n)}}return n}function clean_Visit(e,r,n){const s=IsString(e.$id)?[...r,e]:r;const i=e;switch(i[symbols_Kind]){case"Array":return clean_FromArray(i,s,n);case"Intersect":return clean_FromIntersect(i,s,n);case"Object":return clean_FromObject(i,s,n);case"Record":return clean_FromRecord(i,s,n);case"Ref":return clean_FromRef(i,s,n);case"This":return clean_FromThis(i,s,n);case"Tuple":return clean_FromTuple(i,s,n);case"Union":return clean_FromUnion(i,s,n);default:return n}}function Clean(...e){return e.length===3?clean_Visit(e[0],e[1],e[2]):clean_Visit(e[0],[],e[1])}function IsStringNumeric(e){return IsString(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function IsValueToString(e){return IsBigInt(e)||IsBoolean(e)||IsNumber(e)}function IsValueTrue(e){return e===true||IsNumber(e)&&e===1||IsBigInt(e)&&e===BigInt("1")||IsString(e)&&(e.toLowerCase()==="true"||e==="1")}function IsValueFalse(e){return e===false||IsNumber(e)&&(e===0||Object.is(e,-0))||IsBigInt(e)&&e===BigInt("0")||IsString(e)&&(e.toLowerCase()==="false"||e==="0"||e==="-0")}function IsTimeStringWithTimeZone(e){return IsString(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function IsTimeStringWithoutTimeZone(e){return IsString(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function IsDateTimeStringWithTimeZone(e){return IsString(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function IsDateTimeStringWithoutTimeZone(e){return IsString(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function IsDateString(e){return IsString(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}function TryConvertLiteralString(e,r){const n=TryConvertString(e);return n===r?n:e}function TryConvertLiteralNumber(e,r){const n=TryConvertNumber(e);return n===r?n:e}function TryConvertLiteralBoolean(e,r){const n=TryConvertBoolean(e);return n===r?n:e}function TryConvertLiteral(e,r){return IsString(e.const)?TryConvertLiteralString(r,e.const):IsNumber(e.const)?TryConvertLiteralNumber(r,e.const):IsBoolean(e.const)?TryConvertLiteralBoolean(r,e.const):clone_Clone(r)}function TryConvertBoolean(e){return IsValueTrue(e)?true:IsValueFalse(e)?false:e}function TryConvertBigInt(e){return IsStringNumeric(e)?BigInt(parseInt(e)):IsNumber(e)?BigInt(e|0):IsValueFalse(e)?BigInt(0):IsValueTrue(e)?BigInt(1):e}function TryConvertString(e){return IsValueToString(e)?e.toString():IsSymbol(e)&&e.description!==undefined?e.description.toString():e}function TryConvertNumber(e){return IsStringNumeric(e)?parseFloat(e):IsValueTrue(e)?1:IsValueFalse(e)?0:e}function TryConvertInteger(e){return IsStringNumeric(e)?parseInt(e):IsNumber(e)?e|0:IsValueTrue(e)?1:IsValueFalse(e)?0:e}function TryConvertNull(e){return IsString(e)&&e.toLowerCase()==="null"?null:e}function TryConvertUndefined(e){return IsString(e)&&e==="undefined"?undefined:e}function TryConvertDate(e){return IsDate(e)?e:IsNumber(e)?new Date(e):IsValueTrue(e)?new Date(1):IsValueFalse(e)?new Date(0):IsStringNumeric(e)?new Date(parseInt(e)):IsTimeStringWithoutTimeZone(e)?new Date(`1970-01-01T${e}.000Z`):IsTimeStringWithTimeZone(e)?new Date(`1970-01-01T${e}`):IsDateTimeStringWithoutTimeZone(e)?new Date(`${e}.000Z`):IsDateTimeStringWithTimeZone(e)?new Date(e):IsDateString(e)?new Date(`${e}T00:00:00.000Z`):e}function convert_Default(e){return e}function convert_FromArray(e,r,n){const s=IsArray(n)?n:[n];return s.map((n=>convert_Visit(e.items,r,n)))}function convert_FromBigInt(e,r,n){return TryConvertBigInt(n)}function convert_FromBoolean(e,r,n){return TryConvertBoolean(n)}function convert_FromDate(e,r,n){return TryConvertDate(n)}function convert_FromInteger(e,r,n){return TryConvertInteger(n)}function convert_FromIntersect(e,r,n){return e.allOf.reduce(((e,n)=>convert_Visit(n,r,e)),n)}function convert_FromLiteral(e,r,n){return TryConvertLiteral(e,n)}function convert_FromNull(e,r,n){return TryConvertNull(n)}function convert_FromNumber(e,r,n){return TryConvertNumber(n)}function convert_FromObject(e,r,n){const s=IsObject(n);if(!s)return n;const i={};for(const s of Object.keys(n)){i[s]=HasPropertyKey(e.properties,s)?convert_Visit(e.properties[s],r,n[s]):n[s]}return i}function convert_FromRecord(e,r,n){const s=Object.getOwnPropertyNames(e.patternProperties)[0];const i=e.patternProperties[s];const o={};for(const[e,s]of Object.entries(n)){o[e]=convert_Visit(i,r,s)}return o}function convert_FromRef(e,r,n){return convert_Visit(deref_Deref(e,r),r,n)}function convert_FromString(e,r,n){return TryConvertString(n)}function convert_FromSymbol(e,r,n){return IsString(n)||IsNumber(n)?Symbol(n):n}function convert_FromThis(e,r,n){return convert_Visit(deref_Deref(e,r),r,n)}function convert_FromTuple(e,r,n){const s=IsArray(n)&&!IsUndefined(e.items);if(!s)return n;return n.map(((n,s)=>s{const i=default_Visit(n,r,s);return IsObject(i)?{...e,...i}:i}),{})}function default_FromObject(e,r,n){const s=ValueOrDefault(e,n);if(!IsObject(s))return s;const i=e.additionalProperties;const o=Object.getOwnPropertyNames(e.properties);for(const n of o){if(!IsDefaultSchema(e.properties[n]))continue;s[n]=default_Visit(e.properties[n],r,s[n])}if(!IsDefaultSchema(i))return s;for(const e of Object.getOwnPropertyNames(s)){if(o.includes(e))continue;s[e]=default_Visit(i,r,s[e])}return s}function default_FromRecord(e,r,n){const s=ValueOrDefault(e,n);if(!IsObject(s))return s;const i=e.additionalProperties;const[o,c]=Object.entries(e.patternProperties)[0];const u=new RegExp(o);for(const e of Object.getOwnPropertyNames(s)){if(!(u.test(e)&&IsDefaultSchema(c)))continue;s[e]=default_Visit(c,r,s[e])}if(!IsDefaultSchema(i))return s;for(const e of Object.getOwnPropertyNames(s)){if(u.test(e))continue;s[e]=default_Visit(i,r,s[e])}return s}function default_FromRef(e,r,n){return default_Visit(deref_Deref(e,r),r,ValueOrDefault(e,n))}function default_FromThis(e,r,n){return default_Visit(deref_Deref(e,r),r,n)}function default_FromTuple(e,r,n){const s=ValueOrDefault(e,n);if(!IsArray(s)||IsUndefined(e.items))return s;const[i,o]=[e.items,Math.max(e.items.length,s.length)];for(let e=0;e=0;s--){if(s0&&e[0].path===""&&e[0].type==="update"}function IsIdentity(e){return e.length===0}function Patch(e,r){if(IsRootUpdate(r)){return clone_Clone(r[0].value)}if(IsIdentity(r)){return clone_Clone(e)}const n=clone_Clone(e);for(const e of r){switch(e.type){case"insert":{pointer_Set(n,e.path,e.value);break}case"update":{pointer_Set(n,e.path,e.value);break}case"delete":{pointer_Delete(n,e.path);break}}}return n}class ValueMutateError extends TypeBoxError{constructor(e){super(e)}}function mutate_ObjectType(e,r,n,s){if(!IsStandardObject(n)){pointer_Set(e,r,clone_Clone(s))}else{const i=Object.getOwnPropertyNames(n);const o=Object.getOwnPropertyNames(s);for(const e of i){if(!o.includes(e)){delete n[e]}}for(const e of o){if(!i.includes(e)){n[e]=null}}for(const i of o){mutate_Visit(e,`${r}/${i}`,n[i],s[i])}}}function mutate_ArrayType(e,r,n,s){if(!IsArray(n)){pointer_Set(e,r,clone_Clone(s))}else{for(let i=0;idecode_Visit(e.items,r,`${n}/${i}`,s)))):decode_Default(e,n,s)}function decode_FromIntersect(e,r,n,s){if(!IsStandardObject(s)||IsValueType(s))return decode_Default(e,n,s);const i=KeyOfPropertyEntries(e);const o=i.map((e=>e[0]));const c={...s};for(const[e,s]of i)if(e in c){c[e]=decode_Visit(s,r,`${n}/${e}`,c[e])}if(!type_IsTransform(e.unevaluatedProperties)){return decode_Default(e,n,c)}const u=Object.getOwnPropertyNames(c);const d=e.unevaluatedProperties;const A={...c};for(const e of u)if(!o.includes(e)){A[e]=decode_Default(d,`${n}/${e}`,A[e])}return decode_Default(e,n,A)}function decode_FromNot(e,r,n,s){return decode_Default(e,n,decode_Visit(e.not,r,n,s))}function decode_FromObject(e,r,n,s){if(!IsStandardObject(s))return decode_Default(e,n,s);const i=KeyOfPropertyKeys(e);const o={...s};for(const s of i)if(s in o){o[s]=decode_Visit(e.properties[s],r,`${n}/${s}`,o[s])}if(!type_IsSchema(e.additionalProperties)){return decode_Default(e,n,o)}const c=Object.getOwnPropertyNames(o);const u=e.additionalProperties;const d={...o};for(const e of c)if(!i.includes(e)){d[e]=decode_Default(u,`${n}/${e}`,d[e])}return decode_Default(e,n,d)}function decode_FromRecord(e,r,n,s){if(!IsStandardObject(s))return decode_Default(e,n,s);const i=Object.getOwnPropertyNames(e.patternProperties)[0];const o=new RegExp(i);const c={...s};for(const u of Object.getOwnPropertyNames(s))if(o.test(u)){c[u]=decode_Visit(e.patternProperties[i],r,`${n}/${u}`,c[u])}if(!type_IsSchema(e.additionalProperties)){return decode_Default(e,n,c)}const u=Object.getOwnPropertyNames(c);const d=e.additionalProperties;const A={...c};for(const e of u)if(!o.test(e)){A[e]=decode_Default(d,`${n}/${e}`,A[e])}return decode_Default(e,n,A)}function decode_FromRef(e,r,n,s){const i=deref_Deref(e,r);return decode_Default(e,n,decode_Visit(i,r,n,s))}function decode_FromThis(e,r,n,s){const i=deref_Deref(e,r);return decode_Default(e,n,decode_Visit(i,r,n,s))}function decode_FromTuple(e,r,n,s){return IsArray(s)&&IsArray(e.items)?decode_Default(e,n,e.items.map(((e,i)=>decode_Visit(e,r,`${n}/${i}`,s[i])))):decode_Default(e,n,s)}function decode_FromUnion(e,r,n,s){for(const i of e.anyOf){if(!Check(i,r,s))continue;const o=decode_Visit(i,r,n,s);return decode_Default(e,n,o)}return decode_Default(e,n,s)}function decode_Visit(e,r,n,s){const i=typeof e.$id==="string"?[...r,e]:r;const o=e;switch(e[symbols_Kind]){case"Array":return decode_FromArray(o,i,n,s);case"Intersect":return decode_FromIntersect(o,i,n,s);case"Not":return decode_FromNot(o,i,n,s);case"Object":return decode_FromObject(o,i,n,s);case"Record":return decode_FromRecord(o,i,n,s);case"Ref":return decode_FromRef(o,i,n,s);case"Symbol":return decode_Default(o,n,s);case"This":return decode_FromThis(o,i,n,s);case"Tuple":return decode_FromTuple(o,i,n,s);case"Union":return decode_FromUnion(o,i,n,s);default:return decode_Default(o,n,s)}}function TransformDecode(e,r,n){return decode_Visit(e,r,"",n)}class TransformEncodeCheckError extends TypeBoxError{constructor(e,r,n){super(`The encoded value does not match the expected schema`);this.schema=e;this.value=r;this.error=n}}class TransformEncodeError extends TypeBoxError{constructor(e,r,n,s){super(`${s instanceof Error?s.message:"Unknown error"}`);this.schema=e;this.path=r;this.value=n;this.error=s}}function encode_Default(e,r,n){try{return type_IsTransform(e)?e[TransformKind].Encode(n):n}catch(s){throw new TransformEncodeError(e,r,n,s)}}function encode_FromArray(e,r,n,s){const i=encode_Default(e,n,s);return IsArray(i)?i.map(((s,i)=>encode_Visit(e.items,r,`${n}/${i}`,s))):i}function encode_FromIntersect(e,r,n,s){const i=encode_Default(e,n,s);if(!IsStandardObject(s)||IsValueType(s))return i;const o=KeyOfPropertyEntries(e);const c=o.map((e=>e[0]));const u={...i};for(const[e,s]of o)if(e in u){u[e]=encode_Visit(s,r,`${n}/${e}`,u[e])}if(!type_IsTransform(e.unevaluatedProperties)){return encode_Default(e,n,u)}const d=Object.getOwnPropertyNames(u);const A=e.unevaluatedProperties;const h={...u};for(const e of d)if(!c.includes(e)){h[e]=encode_Default(A,`${n}/${e}`,h[e])}return h}function encode_FromNot(e,r,n,s){return encode_Default(e.not,n,encode_Default(e,n,s))}function encode_FromObject(e,r,n,s){const i=encode_Default(e,n,s);if(!IsStandardObject(i))return i;const o=KeyOfPropertyKeys(e);const c={...i};for(const s of o)if(s in c){c[s]=encode_Visit(e.properties[s],r,`${n}/${s}`,c[s])}if(!type_IsSchema(e.additionalProperties)){return c}const u=Object.getOwnPropertyNames(c);const d=e.additionalProperties;const A={...c};for(const e of u)if(!o.includes(e)){A[e]=encode_Default(d,`${n}/${e}`,A[e])}return A}function encode_FromRecord(e,r,n,s){const i=encode_Default(e,n,s);if(!IsStandardObject(s))return i;const o=Object.getOwnPropertyNames(e.patternProperties)[0];const c=new RegExp(o);const u={...i};for(const i of Object.getOwnPropertyNames(s))if(c.test(i)){u[i]=encode_Visit(e.patternProperties[o],r,`${n}/${i}`,u[i])}if(!type_IsSchema(e.additionalProperties)){return encode_Default(e,n,u)}const d=Object.getOwnPropertyNames(u);const A=e.additionalProperties;const h={...u};for(const e of d)if(!c.test(e)){h[e]=encode_Default(A,`${n}/${e}`,h[e])}return h}function encode_FromRef(e,r,n,s){const i=deref_Deref(e,r);const o=encode_Visit(i,r,n,s);return encode_Default(e,n,o)}function encode_FromThis(e,r,n,s){const i=deref_Deref(e,r);const o=encode_Visit(i,r,n,s);return encode_Default(e,n,o)}function encode_FromTuple(e,r,n,s){const i=encode_Default(e,n,s);return IsArray(e.items)?e.items.map(((e,s)=>encode_Visit(e,r,`${n}/${s}`,i[s]))):[]}function encode_FromUnion(e,r,n,s){for(const i of e.anyOf){if(!Check(i,r,s))continue;const o=encode_Visit(i,r,n,s);return encode_Default(e,n,o)}for(const i of e.anyOf){const o=encode_Visit(i,r,n,s);if(!Check(e,r,o))continue;return encode_Default(e,n,o)}return encode_Default(e,n,s)}function encode_Visit(e,r,n,s){const i=typeof e.$id==="string"?[...r,e]:r;const o=e;switch(e[symbols_Kind]){case"Array":return encode_FromArray(o,i,n,s);case"Intersect":return encode_FromIntersect(o,i,n,s);case"Not":return encode_FromNot(o,i,n,s);case"Object":return encode_FromObject(o,i,n,s);case"Record":return encode_FromRecord(o,i,n,s);case"Ref":return encode_FromRef(o,i,n,s);case"This":return encode_FromThis(o,i,n,s);case"Tuple":return encode_FromTuple(o,i,n,s);case"Union":return encode_FromUnion(o,i,n,s);default:return encode_Default(o,n,s)}}function TransformEncode(e,r,n){return encode_Visit(e,r,"",n)}function has_FromArray(e,r){return type_IsTransform(e)||has_Visit(e.items,r)}function has_FromAsyncIterator(e,r){return type_IsTransform(e)||has_Visit(e.items,r)}function has_FromConstructor(e,r){return type_IsTransform(e)||has_Visit(e.returns,r)||e.parameters.some((e=>has_Visit(e,r)))}function has_FromFunction(e,r){return type_IsTransform(e)||has_Visit(e.returns,r)||e.parameters.some((e=>has_Visit(e,r)))}function has_FromIntersect(e,r){return type_IsTransform(e)||type_IsTransform(e.unevaluatedProperties)||e.allOf.some((e=>has_Visit(e,r)))}function has_FromIterator(e,r){return type_IsTransform(e)||has_Visit(e.items,r)}function has_FromNot(e,r){return type_IsTransform(e)||has_Visit(e.not,r)}function has_FromObject(e,r){return type_IsTransform(e)||Object.values(e.properties).some((e=>has_Visit(e,r)))||type_IsSchema(e.additionalProperties)&&has_Visit(e.additionalProperties,r)}function has_FromPromise(e,r){return type_IsTransform(e)||has_Visit(e.item,r)}function has_FromRecord(e,r){const n=Object.getOwnPropertyNames(e.patternProperties)[0];const s=e.patternProperties[n];return type_IsTransform(e)||has_Visit(s,r)||type_IsSchema(e.additionalProperties)&&type_IsTransform(e.additionalProperties)}function has_FromRef(e,r){if(type_IsTransform(e))return true;return has_Visit(deref_Deref(e,r),r)}function has_FromThis(e,r){if(type_IsTransform(e))return true;return has_Visit(deref_Deref(e,r),r)}function has_FromTuple(e,r){return type_IsTransform(e)||!IsUndefined(e.items)&&e.items.some((e=>has_Visit(e,r)))}function has_FromUnion(e,r){return type_IsTransform(e)||e.anyOf.some((e=>has_Visit(e,r)))}function has_Visit(e,r){const n=IsString(e.$id)?[...r,e]:r;const s=e;if(e.$id&&visited.has(e.$id))return false;if(e.$id)visited.add(e.$id);switch(e[symbols_Kind]){case"Array":return has_FromArray(s,n);case"AsyncIterator":return has_FromAsyncIterator(s,n);case"Constructor":return has_FromConstructor(s,n);case"Function":return has_FromFunction(s,n);case"Intersect":return has_FromIntersect(s,n);case"Iterator":return has_FromIterator(s,n);case"Not":return has_FromNot(s,n);case"Object":return has_FromObject(s,n);case"Promise":return has_FromPromise(s,n);case"Record":return has_FromRecord(s,n);case"Ref":return has_FromRef(s,n);case"This":return has_FromThis(s,n);case"Tuple":return has_FromTuple(s,n);case"Union":return has_FromUnion(s,n);default:return type_IsTransform(e)}}const visited=new Set;function HasTransform(e,r){visited.clear();return has_Visit(e,r)}function equal_ObjectType(e,r){if(!IsStandardObject(r))return false;const n=[...Object.keys(e),...Object.getOwnPropertySymbols(e)];const s=[...Object.keys(r),...Object.getOwnPropertySymbols(r)];if(n.length!==s.length)return false;return n.every((n=>Equal(e[n],r[n])))}function equal_DateType(e,r){return IsDate(r)&&e.getTime()===r.getTime()}function equal_ArrayType(e,r){if(!IsArray(r)||e.length!==r.length)return false;return e.every(((e,n)=>Equal(e,r[n])))}function equal_TypedArrayType(e,r){if(!IsTypedArray(r)||e.length!==r.length||Object.getPrototypeOf(e).constructor.name!==Object.getPrototypeOf(r).constructor.name)return false;return e.every(((e,n)=>Equal(e,r[n])))}function equal_ValueType(e,r){return e===r}function Equal(e,r){if(IsStandardObject(e))return equal_ObjectType(e,r);if(IsDate(e))return equal_DateType(e,r);if(IsTypedArray(e))return equal_TypedArrayType(e,r);if(IsArray(e))return equal_ArrayType(e,r);if(IsValueType(e))return equal_ValueType(e,r);throw new Error("ValueEquals: Unable to compare value")}function value_Cast(...e){return Cast.apply(Cast,e)}function value_Create(...e){return create_Create.apply(create_Create,e)}function value_Check(...e){return Check.apply(Check,e)}function value_Clean(...e){return Clean.apply(Clean,e)}function value_Convert(...e){return Convert.apply(Convert,e)}function value_Clone(e){return clone_Clone(e)}function Decode(...e){const[r,n,s]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!value_Check(r,n,s))throw new TransformDecodeCheckError(r,s,value_Errors(r,n,s).First());return HasTransform(r,n)?TransformDecode(r,n,s):s}function value_Default(...e){return default_Default.apply(default_Default,e)}function Encode(...e){const[r,n,s]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];const i=HasTransform(r,n)?TransformEncode(r,n,s):s;if(!value_Check(r,n,i))throw new TransformEncodeCheckError(r,i,value_Errors(r,n,i).First());return i}function value_Errors(...e){return Errors.apply(Errors,e)}function value_Equal(e,r){return Equal(e,r)}function value_Diff(e,r){return Diff(e,r)}function value_Hash(e){return Hash(e)}function value_Patch(e,r){return Patch(e,r)}function value_Mutate(e,r){Mutate(e,r)}function awaited_FromRest(e){return e.map((e=>AwaitedResolve(e)))}function awaited_FromIntersect(e){return intersect_Intersect(awaited_FromRest(e))}function awaited_FromUnion(e){return union_Union(awaited_FromRest(e))}function awaited_FromPromise(e){return AwaitedResolve(e)}function AwaitedResolve(e){return IsIntersect(e)?awaited_FromIntersect(e.allOf):IsUnion(e)?awaited_FromUnion(e.anyOf):kind_IsPromise(e)?awaited_FromPromise(e.item):e}function awaited_Awaited(e,r={}){return CloneType(AwaitedResolve(e),r)}function CompositeKeys(e){const r=[];for(const n of e)r.push(...KeyOfPropertyKeys(n));return SetDistinct(r)}function FilterNever(e){return e.filter((e=>!IsNever(e)))}function CompositeProperty(e,r){const n=[];for(const s of e)n.push(...IndexFromPropertyKeys(s,[r]));return FilterNever(n)}function CompositeProperties(e,r){const n={};for(const s of r){n[s]=IntersectEvaluated(CompositeProperty(e,s))}return n}function composite_Composite(e,r={}){const n=CompositeKeys(e);const s=CompositeProperties(e,n);const i=object_Object(s,r);return i}function date_Date(e={}){return{...e,[symbols_Kind]:"Date",type:"Date"}}function null_Null(e={}){return{...e,[symbols_Kind]:"Null",type:"null"}}function symbol_Symbol(e){return{...e,[symbols_Kind]:"Symbol",type:"symbol"}}function undefined_Undefined(e={}){return{...e,[symbols_Kind]:"Undefined",type:"undefined"}}function uint8array_Uint8Array(e={}){return{...e,[symbols_Kind]:"Uint8Array",type:"Uint8Array"}}function const_FromArray(e){return e.map((e=>FromValue(e,false)))}function const_FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=readonly_Readonly(FromValue(e[n],false));return r}function ConditionalReadonly(e,r){return r===true?e:readonly_Readonly(e)}function FromValue(e,r){return value_IsAsyncIterator(e)?ConditionalReadonly(any_Any(),r):value_IsIterator(e)?ConditionalReadonly(any_Any(),r):value_IsArray(e)?readonly_Readonly(tuple_Tuple(const_FromArray(e))):value_IsUint8Array(e)?uint8array_Uint8Array():value_IsDate(e)?date_Date():value_IsObject(e)?ConditionalReadonly(object_Object(const_FromProperties(e)),r):value_IsFunction(e)?ConditionalReadonly(function_Function([],unknown_Unknown()),r):value_IsUndefined(e)?undefined_Undefined():value_IsNull(e)?null_Null():value_IsSymbol(e)?symbol_Symbol():value_IsBigInt(e)?bigint_BigInt():value_IsNumber(e)?literal_Literal(e):value_IsBoolean(e)?literal_Literal(e):value_IsString(e)?literal_Literal(e):object_Object({})}function const_Const(e,r={}){return CloneType(FromValue(e,true),r)}function constructor_parameters_ConstructorParameters(e,r={}){return tuple_Tuple(CloneRest(e.parameters),{...r})}function deref_FromRest(e,r){return e.map((e=>deref_deref_Deref(e,r)))}function deref_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e)){n[s]=deref_deref_Deref(e[s],r)}return n}function deref_FromConstructor(e,r){e.parameters=deref_FromRest(e.parameters,r);e.returns=deref_deref_Deref(e.returns,r);return e}function deref_FromFunction(e,r){e.parameters=deref_FromRest(e.parameters,r);e.returns=deref_deref_Deref(e.returns,r);return e}function deref_FromIntersect(e,r){e.allOf=deref_FromRest(e.allOf,r);return e}function deref_FromUnion(e,r){e.anyOf=deref_FromRest(e.anyOf,r);return e}function deref_FromTuple(e,r){if(value_IsUndefined(e.items))return e;e.items=deref_FromRest(e.items,r);return e}function deref_FromArray(e,r){e.items=deref_deref_Deref(e.items,r);return e}function deref_FromObject(e,r){e.properties=deref_FromProperties(e.properties,r);return e}function deref_FromPromise(e,r){e.item=deref_deref_Deref(e.item,r);return e}function deref_FromAsyncIterator(e,r){e.items=deref_deref_Deref(e.items,r);return e}function deref_FromIterator(e,r){e.items=deref_deref_Deref(e.items,r);return e}function deref_FromRef(e,r){const n=r.find((r=>r.$id===e.$ref));if(n===undefined)throw Error(`Unable to dereference schema with $id ${e.$ref}`);const s=Discard(n,["$id"]);return deref_deref_Deref(s,r)}function DerefResolve(e,r){return IsConstructor(e)?deref_FromConstructor(e,r):kind_IsFunction(e)?deref_FromFunction(e,r):IsIntersect(e)?deref_FromIntersect(e,r):IsUnion(e)?deref_FromUnion(e,r):IsTuple(e)?deref_FromTuple(e,r):kind_IsArray(e)?deref_FromArray(e,r):kind_IsObject(e)?deref_FromObject(e,r):kind_IsPromise(e)?deref_FromPromise(e,r):kind_IsAsyncIterator(e)?deref_FromAsyncIterator(e,r):kind_IsIterator(e)?deref_FromIterator(e,r):IsRef(e)?deref_FromRef(e,r):e}function deref_deref_Deref(e,r){return DerefResolve(CloneType(e),CloneRest(r))}function enum_Enum(e,r={}){if(value_IsUndefined(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((r=>e[r]));const s=[...new Set(n)];const i=s.map((e=>literal_Literal(e)));return union_Union(i,{...r,[symbols_Hint]:"Enum"})}function ExcludeFromTemplateLiteral(e,r){return exclude_Exclude(TemplateLiteralToUnion(e),r)}function ExcludeRest(e,r){const n=e.filter((e=>ExtendsCheck(e,r)===ExtendsResult.False));return n.length===1?n[0]:union_Union(n)}function exclude_Exclude(e,r,n={}){if(IsTemplateLiteral(e))return CloneType(ExcludeFromTemplateLiteral(e,r),n);if(IsMappedResult(e))return CloneType(ExcludeFromMappedResult(e,r),n);return CloneType(IsUnion(e)?ExcludeRest(e.anyOf,r):ExtendsCheck(e,r)!==ExtendsResult.False?never_Never():e,n)}function exclude_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=exclude_Exclude(e[s],r);return n}function exclude_from_mapped_result_FromMappedResult(e,r){return exclude_from_mapped_result_FromProperties(e.properties,r)}function ExcludeFromMappedResult(e,r){const n=exclude_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function ExtractFromTemplateLiteral(e,r){return extract_Extract(TemplateLiteralToUnion(e),r)}function ExtractRest(e,r){const n=e.filter((e=>ExtendsCheck(e,r)!==ExtendsResult.False));return n.length===1?n[0]:union_Union(n)}function extract_Extract(e,r,n={}){if(IsTemplateLiteral(e))return CloneType(ExtractFromTemplateLiteral(e,r),n);if(IsMappedResult(e))return CloneType(ExtractFromMappedResult(e,r),n);return CloneType(IsUnion(e)?ExtractRest(e.anyOf,r):ExtendsCheck(e,r)!==ExtendsResult.False?e:never_Never(),n)}function extract_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=extract_Extract(e[s],r);return n}function extract_from_mapped_result_FromMappedResult(e,r){return extract_from_mapped_result_FromProperties(e.properties,r)}function ExtractFromMappedResult(e,r){const n=extract_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function integer_Integer(e={}){return{...e,[symbols_Kind]:"Integer",type:"integer"}}function MappedIntrinsicPropertyKey(e,r,n){return{[e]:Intrinsic(literal_Literal(e),r,n)}}function MappedIntrinsicPropertyKeys(e,r,n){return e.reduce(((e,s)=>({...e,...MappedIntrinsicPropertyKey(s,r,n)})),{})}function MappedIntrinsicProperties(e,r,n){return MappedIntrinsicPropertyKeys(e["keys"],r,n)}function IntrinsicFromMappedKey(e,r,n){const s=MappedIntrinsicProperties(e,r,n);return MappedResult(s)}function ApplyUncapitalize(e){const[r,n]=[e.slice(0,1),e.slice(1)];return[r.toLowerCase(),n].join("")}function ApplyCapitalize(e){const[r,n]=[e.slice(0,1),e.slice(1)];return[r.toUpperCase(),n].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function intrinsic_FromTemplateLiteral(e,r,n){const s=TemplateLiteralParseExact(e.pattern);const i=IsTemplateLiteralExpressionFinite(s);if(!i)return{...e,pattern:FromLiteralValue(e.pattern,r)};const o=[...TemplateLiteralExpressionGenerate(s)];const c=o.map((e=>literal_Literal(e)));const u=intrinsic_FromRest(c,r);const d=union_Union(u);return template_literal_TemplateLiteral([d],n)}function FromLiteralValue(e,r){return typeof e==="string"?r==="Uncapitalize"?ApplyUncapitalize(e):r==="Capitalize"?ApplyCapitalize(e):r==="Uppercase"?ApplyUppercase(e):r==="Lowercase"?ApplyLowercase(e):e:e.toString()}function intrinsic_FromRest(e,r){return e.map((e=>Intrinsic(e,r)))}function Intrinsic(e,r,n={}){return IsMappedKey(e)?IntrinsicFromMappedKey(e,r,n):IsTemplateLiteral(e)?intrinsic_FromTemplateLiteral(e,r,e):IsUnion(e)?union_Union(intrinsic_FromRest(e.anyOf,r),n):IsLiteral(e)?literal_Literal(FromLiteralValue(e.const,r),n):e}function capitalize_Capitalize(e,r={}){return Intrinsic(e,"Capitalize",r)}function lowercase_Lowercase(e,r={}){return Intrinsic(e,"Lowercase",r)}function uncapitalize_Uncapitalize(e,r={}){return Intrinsic(e,"Uncapitalize",r)}function uppercase_Uppercase(e,r={}){return Intrinsic(e,"Uppercase",r)}function not_Not(e,r){return{...r,[symbols_Kind]:"Not",not:CloneType(e)}}function omit_from_mapped_result_FromProperties(e,r,n){const s={};for(const i of globalThis.Object.getOwnPropertyNames(e))s[i]=omit_Omit(e[i],r,n);return s}function omit_from_mapped_result_FromMappedResult(e,r,n){return omit_from_mapped_result_FromProperties(e.properties,r,n)}function OmitFromMappedResult(e,r,n){const s=omit_from_mapped_result_FromMappedResult(e,r,n);return MappedResult(s)}function omit_FromIntersect(e,r){return e.map((e=>OmitResolve(e,r)))}function omit_FromUnion(e,r){return e.map((e=>OmitResolve(e,r)))}function omit_FromProperty(e,r){const{[r]:n,...s}=e;return s}function omit_FromProperties(e,r){return r.reduce(((e,r)=>omit_FromProperty(e,r)),e)}function OmitResolve(e,r){return IsIntersect(e)?intersect_Intersect(omit_FromIntersect(e.allOf,r)):IsUnion(e)?union_Union(omit_FromUnion(e.anyOf,r)):kind_IsObject(e)?object_Object(omit_FromProperties(e.properties,r)):object_Object({})}function omit_Omit(e,r,n={}){if(IsMappedKey(r))return OmitFromMappedKey(e,r,n);if(IsMappedResult(e))return OmitFromMappedResult(e,r,n);const s=IsSchema(r)?IndexPropertyKeys(r):r;const i=Discard(e,[TransformKind,"$id","required"]);const o=CloneType(OmitResolve(e,s),n);return{...i,...o}}function omit_from_mapped_key_FromPropertyKey(e,r,n){return{[r]:omit_Omit(e,[r],n)}}function omit_from_mapped_key_FromPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...omit_from_mapped_key_FromPropertyKey(e,s,n)})),{})}function omit_from_mapped_key_FromMappedKey(e,r,n){return omit_from_mapped_key_FromPropertyKeys(e,r.keys,n)}function OmitFromMappedKey(e,r,n){const s=omit_from_mapped_key_FromMappedKey(e,r,n);return MappedResult(s)}function parameters_Parameters(e,r={}){return tuple_Tuple(CloneRest(e.parameters),{...r})}function partial_FromRest(e){return e.map((e=>PartialResolve(e)))}function partial_FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=optional_Optional(e[n]);return r}function PartialResolve(e){return IsIntersect(e)?intersect_Intersect(partial_FromRest(e.allOf)):IsUnion(e)?union_Union(partial_FromRest(e.anyOf)):kind_IsObject(e)?object_Object(partial_FromProperties(e.properties)):object_Object({})}function partial_Partial(e,r={}){if(IsMappedResult(e))return PartialFromMappedResult(e,r);const n=Discard(e,[TransformKind,"$id","required"]);const s=CloneType(PartialResolve(e),r);return{...n,...s}}function partial_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=partial_Partial(e[s],r);return n}function partial_from_mapped_result_FromMappedResult(e,r){return partial_from_mapped_result_FromProperties(e.properties,r)}function PartialFromMappedResult(e,r){const n=partial_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function pick_from_mapped_result_FromProperties(e,r,n){const s={};for(const i of globalThis.Object.getOwnPropertyNames(e))s[i]=pick_Pick(e[i],r,n);return s}function pick_from_mapped_result_FromMappedResult(e,r,n){return pick_from_mapped_result_FromProperties(e.properties,r,n)}function PickFromMappedResult(e,r,n){const s=pick_from_mapped_result_FromMappedResult(e,r,n);return MappedResult(s)}function pick_FromIntersect(e,r){return e.map((e=>PickResolve(e,r)))}function pick_FromUnion(e,r){return e.map((e=>PickResolve(e,r)))}function pick_FromProperties(e,r){const n={};for(const s of r)if(s in e)n[s]=e[s];return n}function PickResolve(e,r){return IsIntersect(e)?intersect_Intersect(pick_FromIntersect(e.allOf,r)):IsUnion(e)?union_Union(pick_FromUnion(e.anyOf,r)):kind_IsObject(e)?object_Object(pick_FromProperties(e.properties,r)):object_Object({})}function pick_Pick(e,r,n={}){if(IsMappedKey(r))return PickFromMappedKey(e,r,n);if(IsMappedResult(e))return PickFromMappedResult(e,r,n);const s=IsSchema(r)?IndexPropertyKeys(r):r;const i=Discard(e,[TransformKind,"$id","required"]);const o=CloneType(PickResolve(e,s),n);return{...i,...o}}function pick_from_mapped_key_FromPropertyKey(e,r,n){return{[r]:pick_Pick(e,[r],n)}}function pick_from_mapped_key_FromPropertyKeys(e,r,n){return r.reduce(((r,s)=>({...r,...pick_from_mapped_key_FromPropertyKey(e,s,n)})),{})}function pick_from_mapped_key_FromMappedKey(e,r,n){return pick_from_mapped_key_FromPropertyKeys(e,r.keys,n)}function PickFromMappedKey(e,r,n){const s=pick_from_mapped_key_FromMappedKey(e,r,n);return MappedResult(s)}function readonly_optional_ReadonlyOptional(e){return readonly_Readonly(optional_Optional(e))}function RecordCreateFromPattern(e,r,n){return{...n,[symbols_Kind]:"Record",type:"object",patternProperties:{[e]:CloneType(r)}}}function RecordCreateFromKeys(e,r,n){const s={};for(const n of e)s[n]=CloneType(r);return object_Object(s,{...n,[symbols_Hint]:"Record"})}function FromTemplateLiteralKey(e,r,n){return IsTemplateLiteralFinite(e)?RecordCreateFromKeys(IndexPropertyKeys(e),r,n):RecordCreateFromPattern(e.pattern,r,n)}function FromUnionKey(e,r,n){return RecordCreateFromKeys(IndexPropertyKeys(union_Union(e)),r,n)}function FromLiteralKey(e,r,n){return RecordCreateFromKeys([e.toString()],r,n)}function FromRegExpKey(e,r,n){return RecordCreateFromPattern(e.source,r,n)}function FromStringKey(e,r,n){const s=value_IsUndefined(e.pattern)?PatternStringExact:e.pattern;return RecordCreateFromPattern(s,r,n)}function FromIntegerKey(e,r,n){return RecordCreateFromPattern(PatternNumberExact,r,n)}function FromNumberKey(e,r,n){return RecordCreateFromPattern(PatternNumberExact,r,n)}function record_Record(e,r,n={}){return IsUnion(e)?FromUnionKey(e.anyOf,r,n):IsTemplateLiteral(e)?FromTemplateLiteralKey(e,r,n):IsLiteral(e)?FromLiteralKey(e.const,r,n):kind_IsInteger(e)?FromIntegerKey(e,r,n):kind_IsNumber(e)?FromNumberKey(e,r,n):kind_IsRegExp(e)?FromRegExpKey(e,r,n):kind_IsString(e)?FromStringKey(e,r,n):never_Never(n)}let Ordinal=0;function recursive_Recursive(e,r={}){if(value_IsUndefined(r.$id))r.$id=`T${Ordinal++}`;const n=e({[symbols_Kind]:"This",$ref:`${r.$id}`});n.$id=r.$id;return CloneType({...r,[symbols_Hint]:"Recursive",...n})}function ref_Ref(e,r={}){if(value_IsString(e))return{...r,[symbols_Kind]:"Ref",$ref:e};if(value_IsUndefined(e.$id))throw new Error("Reference target type must specify an $id");return{...r,[symbols_Kind]:"Ref",$ref:e.$id}}function regexp_RegExp(e,r={}){const n=value_IsString(e)?new globalThis.RegExp(e):e;return{...r,[symbols_Kind]:"RegExp",type:"RegExp",source:n.source,flags:n.flags}}function required_FromRest(e){return e.map((e=>RequiredResolve(e)))}function required_FromProperties(e){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Discard(e[n],[OptionalKind]);return r}function RequiredResolve(e){return IsIntersect(e)?intersect_Intersect(required_FromRest(e.allOf)):IsUnion(e)?union_Union(required_FromRest(e.anyOf)):kind_IsObject(e)?object_Object(required_FromProperties(e.properties)):object_Object({})}function required_Required(e,r={}){if(IsMappedResult(e)){return RequiredFromMappedResult(e,r)}else{const n=Discard(e,[TransformKind,"$id","required"]);const s=CloneType(RequiredResolve(e),r);return{...n,...s}}}function required_from_mapped_result_FromProperties(e,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=required_Required(e[s],r);return n}function required_from_mapped_result_FromMappedResult(e,r){return required_from_mapped_result_FromProperties(e.properties,r)}function RequiredFromMappedResult(e,r){const n=required_from_mapped_result_FromMappedResult(e,r);return MappedResult(n)}function RestResolve(e){return IsIntersect(e)?CloneRest(e.allOf):IsUnion(e)?CloneRest(e.anyOf):IsTuple(e)?CloneRest(e.items??[]):[]}function rest_Rest(e){return CloneRest(RestResolve(e))}class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}class TransformEncodeBuilder{constructor(e,r){this.schema=e;this.decode=r}EncodeTransform(e,r){const Encode=n=>r[TransformKind].Encode(e(n));const Decode=e=>this.decode(r[TransformKind].Decode(e));const n={Encode:Encode,Decode:Decode};return{...r,[TransformKind]:n}}EncodeSchema(e,r){const n={Decode:this.decode,Encode:e};return{...r,[TransformKind]:n}}Encode(e){const r=CloneType(this.schema);return IsTransform(r)?this.EncodeTransform(e,r):this.EncodeSchema(e,r)}}function transform_Transform(e){return new TransformDecodeBuilder(e)}function void_Void(e={}){return{...e,[symbols_Kind]:"Void",type:"void"}}class json_JsonTypeBuilder{Strict(e){return Strict(e)}ReadonlyOptional(e){return ReadonlyOptional(e)}Readonly(e,r){return Readonly(e,r??true)}Optional(e,r){return Optional(e,r??true)}Any(e={}){return Any(e)}Array(e,r={}){return Array(e,r)}Boolean(e={}){return Boolean(e)}Capitalize(e,r={}){return Capitalize(e,r)}Composite(e,r){return Composite(e,r)}Const(e,r={}){return Const(e,r)}Deref(e,r){return Deref(e,r)}Enum(e,r={}){return Enum(e,r)}Exclude(e,r,n={}){return Exclude(e,r,n)}Extends(e,r,n,s,i={}){return Extends(e,r,n,s,i)}Extract(e,r,n={}){return Extract(e,r,n)}Index(e,r,n={}){return Index(e,r,n)}Integer(e={}){return Integer(e)}Intersect(e,r={}){return Intersect(e,r)}KeyOf(e,r={}){return KeyOf(e,r)}Literal(e,r={}){return Literal(e,r)}Lowercase(e,r={}){return Lowercase(e,r)}Mapped(e,r,n={}){return Mapped(e,r,n)}Never(e={}){return Never(e)}Not(e,r){return Not(e,r)}Null(e={}){return Null(e)}Number(e={}){return Number(e)}Object(e,r={}){return Object(e,r)}Omit(e,r,n={}){return Omit(e,r,n)}Partial(e,r={}){return Partial(e,r)}Pick(e,r,n={}){return Pick(e,r,n)}Record(e,r,n={}){return Record(e,r,n)}Recursive(e,r={}){return Recursive(e,r)}Ref(e,r={}){return Ref(e,r)}Required(e,r={}){return Required(e,r)}Rest(e){return Rest(e)}String(e={}){return String(e)}TemplateLiteral(e,r={}){return TemplateLiteral(e,r)}Transform(e){return Transform(e)}Tuple(e,r={}){return Tuple(e,r)}Uncapitalize(e,r={}){return Uncapitalize(e,r)}Union(e,r={}){return Union(e,r)}Unknown(e={}){return Unknown(e)}Unsafe(e={}){return Unsafe(e)}Uppercase(e,r={}){return Uppercase(e,r)}}function instance_type_InstanceType(e,r={}){return CloneType(e.returns,r)}function return_type_ReturnType(e,r={}){return CloneType(e.returns,r)}function strict_Strict(e){return JSON.parse(JSON.stringify(e))}class JavaScriptTypeBuilder extends(null&&JsonTypeBuilder){AsyncIterator(e,r={}){return AsyncIterator(e,r)}Awaited(e,r={}){return Awaited(e,r)}BigInt(e={}){return BigInt(e)}ConstructorParameters(e,r={}){return ConstructorParameters(e,r)}Constructor(e,r,n){return Constructor(e,r,n)}Date(e={}){return Date(e)}Function(e,r,n){return FunctionType(e,r,n)}InstanceType(e,r={}){return InstanceType(e,r)}Iterator(e,r={}){return Iterator(e,r)}Parameters(e,r={}){return Parameters(e,r)}Promise(e,r={}){return Promise(e,r)}RegExp(e,r={}){return RegExp(e,r)}ReturnType(e,r={}){return ReturnType(e,r)}Symbol(e){return Symbol(e)}Undefined(e={}){return Undefined(e)}Uint8Array(e={}){return Uint8Array(e)}Void(e={}){return Void(e)}}const Type=type_type_namespaceObject;var config=__nccwpck_require__(52874);var typebox_validators=__nccwpck_require__(80619);const allowedUpdates={message:"message",poll:"poll",edited_message:"edited_message",channel_post:"channel_post",edited_channel_post:"edited_channel_post",business_connection:"business_connection",business_message:"business_message",edited_business_message:"edited_business_message",deleted_business_messages:"deleted_business_messages",message_reaction_count:"message_reaction_count"};const botSettings=Type.Object({TELEGRAM_BOT_TOKEN:Type.String(),TELEGRAM_BOT_WEBHOOK:Type.String(),TELEGRAM_BOT_WEBHOOK_SECRET:Type.String(),TELEGRAM_BOT_ADMINS:Type.Transform(Type.Unknown()).Decode((e=>Array.isArray(e)?e.map(Number):[Number(e)])).Encode((e=>e.toString())),ALLOWED_UPDATES:Type.Optional(Type.Array(Type.Enum(allowedUpdates)))});const mtProtoSettings=Type.Object({TELEGRAM_APP_ID:Type.Number(),TELEGRAM_API_HASH:Type.String()});const storageSettings=Type.Object({SUPABASE_URL:Type.String(),SUPABASE_SERVICE_KEY:Type.String()});const TELEGRAM_BOT_ENV=Type.Object({botSettings:botSettings,mtProtoSettings:mtProtoSettings,storageSettings:storageSettings});const botEnvValidator=new typebox_validators.StandardValidator(TELEGRAM_BOT_ENV);const env=Type.Object({TELEGRAM_BOT_ENV:Type.Transform(Type.Union([Type.String(),TELEGRAM_BOT_ENV])).Decode((e=>{if(typeof e==="string"){const r=JSON.parse(e);if(!botEnvValidator.test(r)){throw new Error("Invalid TELEGRAM_BOT_ENV")}return r}return e})).Encode((e=>JSON.stringify(e))),APP_ID:Type.String(),APP_PRIVATE_KEY:Type.String(),TEMP_SAFE_PAT:Type.Optional(Type.String())});const envValidator=new typebox_validators.StandardValidator(env);const pluginSettingsSchema=Type.Object({botId:Type.Transform(Type.Unknown({default:7543249164})).Decode((e=>Number(e))).Encode((e=>e.toString())),shouldUseGithubStorage:Type.Boolean({default:false}),storageOwner:Type.String({default:"ubiquity-os-marketplace"})});const pluginSettingsValidator=new typebox_validators.StandardValidator(pluginSettingsSchema);var sessions=__nccwpck_require__(85773);class GithubStorage{constructor(){}userSnapshot(e,r){throw new Error("Method not implemented.")}updateChatStatus(e,r,n){throw new Error("Method not implemented.")}saveChat(e,r,n){throw new Error("Method not implemented.")}retrieveChatByChatId(e){throw new Error("Method not implemented.")}retrieveChatByTaskNodeId(e){throw new Error("Method not implemented.")}retrieveUserByTelegramId(e,r){throw new Error("Method not implemented.")}retrieveUserByGithubId(e,r){throw new Error("Method not implemented.")}retrieveSession(){throw new Error("Method not implemented.")}handleChat(e){throw new Error("Method not implemented.")}handleSession(e,r){throw new Error("Method not implemented.")}handleUserBaseStorage(e,r){throw new Error("Method not implemented.")}storeData(e,r){throw new Error("Method not implemented.")}getAllUsers(){throw new Error("Method not implemented.")}getChatUsers(e){throw new Error("Method not implemented.")}}class GitHubSession extends sessions.StringSession{storage;context;session;constructor(e,r){super(r);this.storage=new GithubStorage;this.context=e;this.session=r}async saveSession(){if(!this.session){throw new Error("No session found. Please run the SMS Login script first.")}await this.storage.handleSession(this.session,"create")}async loadSession(){const e=await this.storage.retrieveSession();if(e){return new GitHubSession(this.context,e)}else{throw new Error("No session found. Please run the SMS Login script first.")}}async getSession(){const e=await this.storage.retrieveSession();if(e){return e}else{throw new Error("No session found. Please run the SMS Login script first.")}}async deleteSession(){if(!this.session){throw new Error("No session found. Please run the SMS Login script first.")}await this.storage.handleSession(this.session,"delete")}}var main=__nccwpck_require__(85036);var COLORS={reset:"",bright:"",dim:"",underscore:"",blink:"",reverse:"",hidden:"",fgBlack:"",fgRed:"",fgGreen:"",fgYellow:"",fgBlue:"",fgMagenta:"",fgCyan:"",fgWhite:"",bgBlack:"",bgRed:"",bgGreen:"",bgYellow:"",bgBlue:"",bgMagenta:"",bgCyan:"",bgWhite:""};var LOG_LEVEL={FATAL:"fatal",ERROR:"error",INFO:"info",VERBOSE:"verbose",DEBUG:"debug"};var PrettyLogs=class{constructor(){this.ok=this.ok.bind(this);this.info=this.info.bind(this);this.error=this.error.bind(this);this.fatal=this.fatal.bind(this);this.debug=this.debug.bind(this);this.verbose=this.verbose.bind(this)}fatal(e,r){this._logWithStack(LOG_LEVEL.FATAL,e,r)}error(e,r){this._logWithStack(LOG_LEVEL.ERROR,e,r)}ok(e,r){this._logWithStack("ok",e,r)}info(e,r){this._logWithStack(LOG_LEVEL.INFO,e,r)}debug(e,r){this._logWithStack(LOG_LEVEL.DEBUG,e,r)}verbose(e,r){this._logWithStack(LOG_LEVEL.VERBOSE,e,r)}_logWithStack(e,r,n){this._log(e,r);if(typeof n==="string"){this._log(e,n);return}if(n){const r=n;let s=r?.error?.stack||r?.stack;if(!s){const e=(new Error).stack?.split("\n");if(e){e.splice(0,4);s=e.filter((e=>e.includes(".ts:"))).join("\n")}}const i={...r};delete i.message;delete i.name;delete i.stack;if(!this._isEmpty(i)){this._log(e,i)}if(typeof s=="string"){const r=this._formatStackTrace(s,1);const n=this._colorizeText(r,COLORS.dim);this._log(e,n)}else if(s){const r=this._formatStackTrace(s.join("\n"),1);const n=this._colorizeText(r,COLORS.dim);this._log(e,n)}else{throw new Error("Stack is null")}}}_colorizeText(e,r){if(!r){throw new Error(`Invalid color: ${r}`)}return r.concat(e).concat(COLORS.reset)}_formatStackTrace(e,r=0,n=""){const s=e.split("\n");for(let e=0;e`${n}${e.replace(/\s*at\s*/,"  ↳  ")}`)).join("\n")}_isEmpty(e){return!Reflect.ownKeys(e).some((r=>typeof e[String(r)]!=="function"))}_log(e,r){const n={fatal:"×",ok:"✓",error:"⚠",info:"›",debug:"››",verbose:"💬"};const s=n[e];const i=typeof r==="string"?r:JSON.stringify(r,null,2);const o=i.split("\n");const c=o.map(((e,r)=>{const n=r===0?`\t${s}`:`\t${" ".repeat(s.length)}`;return`${n} ${e}`})).join("\n");const u=c;const d={fatal:["error",COLORS.fgRed],ok:["log",COLORS.fgGreen],error:["warn",COLORS.fgYellow],info:["info",COLORS.dim],debug:["debug",COLORS.fgMagenta],verbose:["debug",COLORS.dim]};const A=console[d[e][0]];if(typeof A==="function"&&u.length>12){A(this._colorizeText(u,d[e][1]))}else if(u.length<=12){return}else{throw new Error(u)}}};var LogReturn=class{logMessage;metadata;constructor(e,r){this.logMessage=e;this.metadata=r}};var Logs=class _Logs{_maxLevel=-1;static console;_log({level:e,consoleLog:r,logMessage:n,metadata:s,type:i}){if(this._getNumericLevel(e)<=this._maxLevel){r(n,s)}return new LogReturn({raw:n,diff:this._diffColorCommentMessage(i,n),type:i,level:e},s)}_addDiagnosticInformation(e){if(!e){e={}}else if(typeof e!=="object"){e={message:e}}const r=(new Error).stack?.split("\n")||[];if(r.length>3){const n=r[3];const s=n.match(/at (\S+)/);if(s){e.caller=s[1]}}return e}ok(e,r){r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.INFO,consoleLog:_Logs.console.ok,logMessage:e,metadata:r,type:"ok"})}info(e,r){r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.INFO,consoleLog:_Logs.console.info,logMessage:e,metadata:r,type:"info"})}error(e,r){r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.ERROR,consoleLog:_Logs.console.error,logMessage:e,metadata:r,type:"error"})}debug(e,r){r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.DEBUG,consoleLog:_Logs.console.debug,logMessage:e,metadata:r,type:"debug"})}fatal(e,r){if(!r){r=_Logs.convertErrorsIntoObjects(new Error(e));const n=r.stack;n.splice(1,1);r.stack=n}if(r instanceof Error){r=_Logs.convertErrorsIntoObjects(r);const e=r.stack;e.splice(1,1);r.stack=e}r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.FATAL,consoleLog:_Logs.console.fatal,logMessage:e,metadata:r,type:"fatal"})}verbose(e,r){r=this._addDiagnosticInformation(r);return this._log({level:LOG_LEVEL.VERBOSE,consoleLog:_Logs.console.verbose,logMessage:e,metadata:r,type:"verbose"})}constructor(e){this._maxLevel=this._getNumericLevel(e);_Logs.console=new PrettyLogs}_diffColorCommentMessage(e,r){const n={fatal:"-",ok:"+",error:"!",info:"#",debug:"@@@@"};const s=n[e];if(s){r=r.trim().split("\n").map((e=>`${s} ${e}`)).join("\n")}else if(e==="debug"){r=r.split("\n").map((e=>`@@ ${e} @@`)).join("\n")}else{r=r.split("\n").map((e=>`# ${e}`)).join("\n")}const i="```diff";const o="```";return[i,r,o].join("\n")}_getNumericLevel(e){switch(e){case LOG_LEVEL.FATAL:return 0;case LOG_LEVEL.ERROR:return 1;case LOG_LEVEL.INFO:return 2;case LOG_LEVEL.VERBOSE:return 4;case LOG_LEVEL.DEBUG:return 5;default:return-1}}static convertErrorsIntoObjects(e){if(e instanceof Error){return{message:e.message,name:e.name,stack:e.stack?e.stack.split("\n"):null}}else if(typeof e==="object"&&e!==null){const r=Object.keys(e);r.forEach((r=>{e[r]=this.convertErrorsIntoObjects(e[r])}))}return e}};var ansiEscapeCodes=/\x1b\[\d+m|\s/g;function cleanLogs(e){const r=e.mock.calls.map((e=>e.map((e=>e?.toString())).join(" ")));return r.flat().map((e=>cleanLogString(e)))}function cleanLogString(e){return e.replaceAll(ansiEscapeCodes,"").replaceAll(/\n/g,"").replaceAll(/\r/g,"").replaceAll(/\t/g,"").trim()}function cleanSpyLogs(e){return cleanLogs(e)}function createLogReturn(e,...r){e(...r);return{logMessage:{diff:`\`\`\`diff\n! ${r[0]}\n\`\`\``,raw:r[0],level:e.name,type:e.name}}}const consoleLogger={info:(e,r)=>createLogReturn(console.info,e,r),error:(e,r)=>createLogReturn(console.error,e,r),ok:(e,r)=>createLogReturn(console.log,e,r),debug:(e,r)=>createLogReturn(console.debug,e,r),fatal:(e,r)=>createLogReturn(console.error,e,r),verbose:(e,r)=>createLogReturn(console.debug,e,r),warn:(e,r)=>createLogReturn(console.warn,e,r)};const logger_logger=process.title==="browser"?consoleLogger:new Logs("debug");class StorageGetters{supabase;logger=logger_logger;constructor(e){this.supabase=e}async retrieveChatByChatId(e){const{data:r,error:n}=await this.supabase.from("chats").select("*").eq("chat_id",e).single();if(n||!r){this.logger.error("No chat found",{chatId:e})}else{this.logger.info("Successfully fetched chat",{chatId:e})}return r}async retrieveChatByTaskNodeId(e){const{data:r,error:n}=await this.supabase.from("chats").select("*").eq("task_node_id",e).single();if(n||!r){this.logger.error("No chat found",{taskNodeId:e})}else{this.logger.info("Successfully fetched chat",{taskNodeId:e})}return r}async retrieveUserByTelegramId(e){const{data:r,error:n}=await this.supabase.from("userbase").select("*").eq("telegram_id",e).single();if(n||!r){this.logger.error("No user found",{telegramId:e,err:n})}else{this.logger.info("Successfully fetched user",{telegramId:e})}return r}async retrieveUserByGithubId(e){if(!e){this.logger.error("No githubId provided to retrieve user");return}const{data:r,error:n}=await this.supabase.from("userbase").select("*").eq("github_id",e).single();if(n||!r){this.logger.error("No user found",{githubId:e,err:n})}else{this.logger.info("Successfully fetched user",{githubId:e})}return r}async retrieveSession(){const{data:e,error:r}=await this.supabase.from("tg-bot-sessions").select("*").single();if(r||!e){this.logger.error("No session found",{err:r})}else{return e.session}}}function isSessionStorage(e){if(typeof e!=="object"||!e)return false;return"session"in e}function isChatsStorage(e){if(typeof e!=="object"||!e)return false;return"chats"in e}function isUserBaseStorage(e){if(typeof e!=="object"||!e)return false;const r=Object.keys(e);return r.includes("telegram_id")&&r.includes("github_id")&&r.includes("listening_to")&&r.includes("additional_user_listeners")}function isSingleChatStorage(e){if(typeof e!=="object"||!e)return false;return"chat_id"in e||"task_node_id"in e}class SuperbaseStorage extends StorageGetters{supabase;logger=logger_logger;octokit;constructor(e,r){super(r);this.supabase=r;this.octokit=e.octokit}async userSnapshot(e,r){const n=await this.retrieveChatByChatId(e);const{error:s}=await this.supabase.from("chats").update({user_ids:r}).eq("chat_id",n.chat_id);if(s){this.logger.error("Failed to save chat users",{chatId:e,userIds:r,er:s})}else{this.logger.info("Successfully saved chat users",{chatId:e,userIds:r})}}async updateChatStatus(e,r,n){if(!r&&!n){this.logger.error("No taskNodeId or chatId provided to update chat status");return}let s;if(r){s=await this.retrieveChatByTaskNodeId(r)}else if(n){s=await this.retrieveChatByChatId(n)}if(!s){this.logger.error("No chat found to update chat status");return}const{error:i}=await this.supabase.from("chats").update({status:e}).eq("chat_id",s.chat_id);if(i){this.logger.error("Failed to update chat status",{chatId:n,taskNodeId:r,er:i})}else{this.logger.info("Successfully updated chat status",{chatId:n,taskNodeId:r})}}async saveChat(e,r,n){const{error:s}=await this.supabase.from("chats").insert([{chat_id:e,chat_name:r,task_node_id:n,status:"open"}]);if(s){this.logger.error("Failed to save chat",{chatId:e,chatName:r,taskNodeId:n,er:s})}else{this.logger.info("Successfully saved chat",{chatId:e,chatName:r})}}async handleChat(e){const{action:r,chat:n}=e;const s=n.task_node_id;if(!s){throw new Error("No taskNodeId provided")}if(r==="create"){await this.saveChat(n.chat_id,n.chat_name,s)}else if(r==="close"||r==="reopen"){const e=r==="close"?"closed":"reopened";await this.updateChatStatus(e,s)}else{throw new Error("Invalid chat storage action")}}async handleSession(e,r){if(e==="create"){await this.storeData({session:r})}else{await this.storeData({session:null})}}async handleUserBaseStorage(e,r){const n=await this.retrieveUserByTelegramId(e.telegram_id);if(r==="create"&&n){throw new Error("User already exists")}if(r==="delete"&&!n){throw new Error("User does not exist")}if(r==="create"||r==="update"){await this.storeData(n?{...n,...e}:e)}else{await this.storeData(null,e.telegram_id)}return true}async storeData(e,r){let n;if(!e&&r){await this.supabase.from("userbase").delete().eq("telegram_id",r)}else if(!e){throw new Error("No data provided to store")}if(isChatsStorage(e)){n="allChats"}else if(isUserBaseStorage(e)){n="userBase"}else if(isSingleChatStorage(e)){n="singleChat"}else if(isSessionStorage(e)){n="session"}else{throw new Error("Invalid data type")}if(!n){throw new Error("Invalid data type")}const s={allChats:"chats",singleChat:"chats",userBase:"userbase",session:"tg-bot-sessions"};try{const{error:r}=await this.supabase.from(s[n]).upsert(e);if(r){throw new Error("Failed to store data")}return true}catch(r){logger_logger.error("Failed to store data",{data:e,er:r});return false}}}class SupabaseSession extends sessions.StringSession{storage;supabase;context;session;constructor(e,r){super(r);const{SUPABASE_URL:n,SUPABASE_SERVICE_KEY:s}=e.env.TELEGRAM_BOT_ENV.storageSettings;this.supabase=(0,main.createClient)(n,s);this.storage=new SuperbaseStorage(e,this.supabase);this.context=e}async saveSession(){await(this.supabase?.from("tg-bot-sessions").insert([{session_data:super.save()}]))}async loadSession(){const e=await(this.supabase?.from("tg-bot-sessions").select("session_data").single());if(e.data){return new SupabaseSession(this.context,e.data.session_data)}else{throw new Error("No session found. Please run the SMS Login script first.")}}async getSession(){const e=await(this.supabase?.from("tg-bot-sessions").select("session_data").single());if(e.data){return e.data.session_data}else{throw new Error("No session found. Please run the SMS Login script first.")}}async deleteSession(){await(this.supabase?.from("tg-bot-sessions").delete())}}class SessionManagerFactory{static sessionManager;static storage;static createSessionManager(e,r,n){if(this.sessionManager){return this.sessionManager}if(e){this.sessionManager=new GitHubSession(r,n)}else{this.sessionManager=new SupabaseSession(r,n)}this.storage=this.sessionManager.storage;return this.sessionManager}}function createAdapters(e){const{config:{shouldUseGithubStorage:r}}=e;return{storage:SessionManagerFactory.createSessionManager(r,e).storage}}function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}function register(e,r,n,s){if(typeof n!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(r)){return r.reverse().reduce(((r,n)=>register.bind(null,e,n,r,s)),n)()}return Promise.resolve().then((()=>{if(!e.registry[r]){return n(s)}return e.registry[r].reduce(((e,r)=>r.hook.bind(null,e,s)),n)()}))}function addHook(e,r,n,s){const i=s;if(!e.registry[n]){e.registry[n]=[]}if(r==="before"){s=(e,r)=>Promise.resolve().then(i.bind(null,r)).then(e.bind(null,r))}if(r==="after"){s=(e,r)=>{let n;return Promise.resolve().then(e.bind(null,r)).then((e=>{n=e;return i(n,r)})).then((()=>n))}}if(r==="error"){s=(e,r)=>Promise.resolve().then(e.bind(null,r)).catch((e=>i(e,r)))}e.registry[n].push({hook:s,orig:i})}function removeHook(e,r,n){if(!e.registry[r]){return}const s=e.registry[r].map((e=>e.orig)).indexOf(n);if(s===-1){return}e.registry[r].splice(s,1)}const bind=Function.bind;const bindable=bind.bind(bind);function bindApi(e,r,n){const s=bindable(removeHook,null).apply(null,n?[r,n]:[r]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((s=>{const i=n?[r,s,n]:[r,s];e[s]=e.api[s]=bindable(addHook,null).apply(null,i)}))}function Singular(){const e=Symbol("Singular");const r={registry:{}};const n=register.bind(null,r,e);bindApi(n,r,e);return n}function Collection(){const e={registry:{}};const r=register.bind(null,e);bindApi(r,e);return r}const before_after_hook={Singular:Singular,Collection:Collection};var VERSION="0.0.0-development";var userAgent=`octokit-endpoint.js/${VERSION} ${getUserAgent()}`;var DEFAULTS={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":userAgent},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((r,n)=>{r[n.toLowerCase()]=e[n];return r}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}function mergeDeep(e,r){const n=Object.assign({},e);Object.keys(r).forEach((s=>{if(isPlainObject(r[s])){if(!(s in e))Object.assign(n,{[s]:r[s]});else n[s]=mergeDeep(e[s],r[s])}else{Object.assign(n,{[s]:r[s]})}}));return n}function removeUndefinedProperties(e){for(const r in e){if(e[r]===void 0){delete e[r]}}return e}function merge(e,r,n){if(typeof r==="string"){let[e,s]=r.split(" ");n=Object.assign(s?{method:e,url:s}:{url:e},n)}else{n=Object.assign({},r)}n.headers=lowercaseKeys(n.headers);removeUndefinedProperties(n);removeUndefinedProperties(n.headers);const s=mergeDeep(e||{},n);if(n.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,r){const n=/\?/.test(e)?"&":"?";const s=Object.keys(r);if(s.length===0){return e}return e+n+s.map((e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`})).join("&")}var urlVariableRegex=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(urlVariableRegex);if(!r){return[]}return r.map(removeNonChars).reduce(((e,r)=>e.concat(r)),[])}function omit(e,r){const n={__proto__:null};for(const s of Object.keys(e)){if(r.indexOf(s)===-1){n[s]=e[s]}}return n}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,r,n){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(n){return encodeUnreserved(n)+"="+r}else{return r}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,n,s){var i=e[n],o=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(s&&s!=="*"){i=i.substring(0,parseInt(s,10))}o.push(encodeValue(r,i,isKeyOperator(r)?n:""))}else{if(s==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach((function(e){o.push(encodeValue(r,e,isKeyOperator(r)?n:""))}))}else{Object.keys(i).forEach((function(e){if(isDefined(i[e])){o.push(encodeValue(r,i[e],e))}}))}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach((function(n){e.push(encodeValue(r,n))}))}else{Object.keys(i).forEach((function(n){if(isDefined(i[n])){e.push(encodeUnreserved(n));e.push(encodeValue(r,i[n].toString()))}}))}if(isKeyOperator(r)){o.push(encodeUnreserved(n)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(r===";"){if(isDefined(i)){o.push(encodeUnreserved(n))}}else if(i===""&&(r==="&"||r==="?")){o.push(encodeUnreserved(n)+"=")}else if(i===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var n=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,i){if(s){let e="";const i=[];if(n.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(n){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);i.push(getValues(r,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(i.length!==0?e:"")+i.join(o)}else{return i.join(",")}}else{return encodeReserved(i)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let r=e.method.toUpperCase();let n=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let i;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const c=extractUrlVariableNames(n);n=parseUrl(n).expand(o);if(!/^http/.test(n)){n=e.baseUrl+n}const u=Object.keys(e).filter((e=>c.includes(e))).concat("baseUrl");const d=omit(o,u);const A=/application\/octet-stream/i.test(s.accept);if(!A){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(n.endsWith("/graphql")){if(e.mediaType.previews?.length){const r=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=r.concat(e.mediaType.previews).map((r=>{const n=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${n}`})).join(",")}}}if(["GET","HEAD"].includes(r)){n=addQueryParameters(n,d)}else{if("data"in d){i=d.data}else{if(Object.keys(d).length){i=d}}}if(!s["content-type"]&&typeof i!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof i==="undefined"){i=""}return Object.assign({method:r,url:n,headers:s},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,n){return parse(merge(e,r,n))}function withDefaults(e,r){const n=merge(e,r);const s=endpointWithDefaults.bind(null,n);return Object.assign(s,{DEFAULTS:n,defaults:withDefaults.bind(null,n),merge:merge.bind(null,n),parse:parse})}var endpoint=withDefaults(null,DEFAULTS);class RequestError extends Error{name;status;request;response;constructor(e,r,n){super(e);this.name="HttpError";this.status=Number.parseInt(r);if(Number.isNaN(this.status)){this.status=0}if("response"in n){this.response=n.response}const s=Object.assign({},n.request);if(n.request.headers.authorization){s.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}var dist_bundle_VERSION="0.0.0-development";var defaults_default={headers:{"user-agent":`octokit-request.js/${dist_bundle_VERSION} ${getUserAgent()}`}};function dist_bundle_isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const r=Object.getPrototypeOf(e);if(r===null)return true;const n=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n==="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}async function fetchWrapper(e){const r=e.request?.fetch||globalThis.fetch;if(!r){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}const n=e.request?.log||console;const s=e.request?.parseSuccessResponseBody!==false;const i=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body;const o=Object.fromEntries(Object.entries(e.headers).map((([e,r])=>[e,String(r)])));let c;try{c=await r(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:o,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(r){let n="Unknown Error";if(r instanceof Error){if(r.name==="AbortError"){r.status=500;throw r}n=r.message;if(r.name==="TypeError"&&"cause"in r){if(r.cause instanceof Error){n=r.cause.message}else if(typeof r.cause==="string"){n=r.cause}}}const s=new RequestError(n,500,{request:e});s.cause=r;throw s}const u=c.status;const d=c.url;const A={};for(const[e,r]of c.headers){A[e]=r}const h={url:d,status:u,headers:A,data:""};if("deprecation"in A){const r=A.link&&A.link.match(/<([^>]+)>; rel="deprecation"/);const s=r&&r.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${A.sunset}${s?`. See ${s}`:""}`)}if(u===204||u===205){return h}if(e.method==="HEAD"){if(u<400){return h}throw new RequestError(c.statusText,u,{response:h,request:e})}if(u===304){h.data=await getResponseData(c);throw new RequestError("Not modified",u,{response:h,request:e})}if(u>=400){h.data=await getResponseData(c);throw new RequestError(toErrorMessage(h.data),u,{response:h,request:e})}h.data=s?await getResponseData(c):c.body;return h}async function getResponseData(e){const r=e.headers.get("content-type");if(/application\/json/.test(r)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!r||/^text\/|charset=utf-8$/.test(r)){return e.text()}return e.arrayBuffer()}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const r="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${r}`:`${e.message}${r}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,r){const n=e.defaults(r);const newApi=function(e,r){const s=n.merge(e,r);if(!s.request||!s.request.hook){return fetchWrapper(n.parse(s))}const request2=(e,r)=>fetchWrapper(n.parse(n.merge(e,r)));Object.assign(request2,{endpoint:n,defaults:dist_bundle_withDefaults.bind(null,n)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:n,defaults:dist_bundle_withDefaults.bind(null,n)})}var dist_bundle_request=dist_bundle_withDefaults(endpoint,defaults_default);var graphql_dist_bundle_VERSION="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var GraphqlResponseError=class extends Error{constructor(e,r,n){super(_buildMessageForResponseErrors(n));this.request=e;this.headers=r;this.response=n;this.errors=n.errors;this.data=n.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var NON_VARIABLE_OPTIONS=["method","baseUrl","url","headers","request","query","mediaType"];var FORBIDDEN_VARIABLE_OPTIONS=["query","method","url"];var GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(e,r,n){if(n){if(typeof r==="string"&&"query"in n){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in n){if(!FORBIDDEN_VARIABLE_OPTIONS.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof r==="string"?Object.assign({query:r},n):r;const i=Object.keys(s).reduce(((e,r)=>{if(NON_VARIABLE_OPTIONS.includes(r)){e[r]=s[r];return e}if(!e.variables){e.variables={}}e.variables[r]=s[r];return e}),{});const o=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(GHES_V3_SUFFIX_REGEX.test(o)){i.url=o.replace(GHES_V3_SUFFIX_REGEX,"/api/graphql")}return e(i).then((e=>{if(e.data.errors){const r={};for(const n of Object.keys(e.headers)){r[n]=e.headers[n]}throw new GraphqlResponseError(i,r,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,r){const n=e.defaults(r);const newApi=(e,r)=>graphql(n,e,r);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,n),endpoint:n.endpoint})}var graphql2=graphql_dist_bundle_withDefaults(dist_bundle_request,{headers:{"user-agent":`octokit-graphql.js/${graphql_dist_bundle_VERSION} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var REGEX_IS_INSTALLATION_LEGACY=/^v1\./;var REGEX_IS_INSTALLATION=/^ghs_/;var REGEX_IS_USER_TO_SERVER=/^ghu_/;async function auth(e){const r=e.split(/\./).length===3;const n=REGEX_IS_INSTALLATION_LEGACY.test(e)||REGEX_IS_INSTALLATION.test(e);const s=REGEX_IS_USER_TO_SERVER.test(e);const i=r?"app":n?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:i}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,r,n,s){const i=r.endpoint.merge(n,s);i.headers.authorization=withAuthorizationPrefix(e);return r(i)}var createTokenAuth=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};const version_VERSION="6.1.2";const noop=()=>{};const consoleWarn=console.warn.bind(console);const consoleError=console.error.bind(console);const userAgentTrail=`octokit-core.js/${version_VERSION} ${getUserAgent()}`;class dist_src_Octokit{static VERSION=version_VERSION;static defaults(e){const r=class extends(this){constructor(...r){const n=r[0]||{};if(typeof e==="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}};return r}static plugins=[];static plugin(...e){const r=this.plugins;const n=class extends(this){static plugins=r.concat(e.filter((e=>!r.includes(e))))};return n}constructor(e={}){const r=new before_after_hook.Collection;const n={baseUrl:dist_bundle_request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${userAgentTrail}`:userAgentTrail;if(e.baseUrl){n.baseUrl=e.baseUrl}if(e.previews){n.mediaType.previews=e.previews}if(e.timeZone){n.headers["time-zone"]=e.timeZone}this.request=dist_bundle_request.defaults(n);this.graphql=withCustomRequest(this.request).defaults(n);this.log=Object.assign({debug:noop,info:noop,warn:consoleWarn,error:consoleError},e.log);this.hook=r;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const n=createTokenAuth(e.auth);r.wrap("request",n.hook);this.auth=n}}else{const{authStrategy:n,...s}=e;const i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));r.wrap("request",i.hook);this.auth=i}const s=this.constructor;for(let r=0;r({async next(){if(!u)return{done:true};try{const e=await i({method:o,url:u,headers:c});const r=normalizePaginatedListResponse(e);u=((r.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:r}}catch(e){if(e.status!==409)throw e;u="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,r,n,s){if(typeof n==="function"){s=n;n=void 0}return gather(e,[],iterator(e,r,n)[Symbol.asyncIterator](),s)}function gather(e,r,n,s){return n.next().then((i=>{if(i.done){return r}let o=false;function done(){o=true}r=r.concat(s?s(i.value,done):i.value.data);if(o){return r}return gather(e,r,n,s)}))}var composePaginateRest=Object.assign(paginate,{iterator:iterator});var paginatingEndpoints=null&&["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/copilot/usage","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/copilot/usage","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/team/{team_slug}/copilot/usage","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return paginatingEndpoints.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=plugin_paginate_rest_dist_bundle_VERSION;var generateMessage=(e,r)=>`The cursor at "${e.join(",")}" did not change its value "${r}" after a page transition. Please make sure your that your query is set up correctly.`;var MissingCursorChange=class extends Error{constructor(e,r){super(generateMessage(e.pathInQuery,r));this.pageInfo=e;this.cursorValue=r;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingCursorChangeError"};var MissingPageInfo=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`);this.response=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingPageInfo"};var isObject=e=>Object.prototype.toString.call(e)==="[object Object]";function findPaginatedResourcePath(e){const r=deepFindPathToProperty(e,"pageInfo");if(r===null||r.length===0){throw new MissingPageInfo(e)}return r}var deepFindPathToProperty=(e,r,n=[])=>{for(const s of Object.keys(e)){const i=[...n,s];const o=e[s];if(o.hasOwnProperty(r)){return i}if(isObject(o)){const e=deepFindPathToProperty(o,r,i);if(e.length>0){return e}}}return[]};var get=(e,r)=>r.reduce(((e,r)=>e[r]),e);var set=(e,r,n)=>{const s=r[r.length-1];const i=[...r].slice(0,-1);const o=get(e,i);if(typeof n==="function"){o[s]=n(o[s])}else{o[s]=n}};var extractPageInfos=e=>{const r=findPaginatedResourcePath(e);return{pathInQuery:r,pageInfo:get(e,[...r,"pageInfo"])}};var isForwardSearch=e=>e.hasOwnProperty("hasNextPage");var getCursorFrom=e=>isForwardSearch(e)?e.endCursor:e.startCursor;var hasAnotherPage=e=>isForwardSearch(e)?e.hasNextPage:e.hasPreviousPage;var createIterator=e=>(r,n={})=>{let s=true;let i={...n};return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:true,value:{}};const n=await e.graphql(r,i);const o=extractPageInfos(n);const c=getCursorFrom(o.pageInfo);s=hasAnotherPage(o.pageInfo);if(s&&c===i.cursor){throw new MissingCursorChange(o,c)}i={...i,cursor:c};return{done:false,value:n}}})}};var mergeResponses=(e,r)=>{if(Object.keys(e).length===0){return Object.assign(e,r)}const n=findPaginatedResourcePath(e);const s=[...n,"nodes"];const i=get(r,s);if(i){set(e,s,(e=>[...e,...i]))}const o=[...n,"edges"];const c=get(r,o);if(c){set(e,o,(e=>[...e,...c]))}const u=[...n,"pageInfo"];set(e,u,get(r,u));return e};var createPaginate=e=>{const r=createIterator(e);return async(e,n={})=>{let s={};for await(const i of r(e,n)){s=mergeResponses(s,i)}return s}};var plugin_paginate_graphql_dist_bundle_VERSION="0.0.0-development";function paginateGraphQL(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(createPaginate(e),{iterator:createIterator(e)})})}}const dist_src_version_VERSION="13.2.6";const Endpoints={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],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}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],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}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],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"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],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}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],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"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"],usageMetricsForEnterprise:["GET /enterprises/{enterprise}/copilot/usage"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},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"],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}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/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"],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"],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}"],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"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],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"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],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"],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"],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"],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"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["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}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],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"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["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"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],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"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],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}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],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"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],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"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],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}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],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}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],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"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],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"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],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"}],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}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],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}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],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"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],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}"],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"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],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",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var endpoints_default=Endpoints;const endpointMethodsMap=new Map;for(const[e,r]of Object.entries(endpoints_default)){for(const[n,s]of Object.entries(r)){const[r,i,o]=s;const[c,u]=r.split(/ /);const d=Object.assign({method:c,url:u},i);if(!endpointMethodsMap.has(e)){endpointMethodsMap.set(e,new Map)}endpointMethodsMap.get(e).set(n,{scope:e,methodName:n,endpointDefaults:d,decorations:o})}}const handler={has({scope:e},r){return endpointMethodsMap.get(e).has(r)},getOwnPropertyDescriptor(e,r){return{value:this.get(e,r),configurable:true,writable:true,enumerable:true}},defineProperty(e,r,n){Object.defineProperty(e.cache,r,n);return true},deleteProperty(e,r){delete e.cache[r];return true},ownKeys({scope:e}){return[...endpointMethodsMap.get(e).keys()]},set(e,r,n){return e.cache[r]=n},get({octokit:e,scope:r,cache:n},s){if(n[s]){return n[s]}const i=endpointMethodsMap.get(r).get(s);if(!i){return void 0}const{endpointDefaults:o,decorations:c}=i;if(c){n[s]=decorate(e,r,s,o,c)}else{n[s]=e.request.defaults(o)}return n[s]}};function endpointsToMethods(e){const r={};for(const n of endpointMethodsMap.keys()){r[n]=new Proxy({octokit:e,scope:n,cache:{}},handler)}return r}function decorate(e,r,n,s,i){const o=e.request.defaults(s);function withDecorations(...s){let c=o.endpoint.merge(...s);if(i.mapToData){c=Object.assign({},c,{data:c[i.mapToData],[i.mapToData]:void 0});return o(c)}if(i.renamed){const[s,o]=i.renamed;e.log.warn(`octokit.${r}.${n}() has been renamed to octokit.${s}.${o}()`)}if(i.deprecated){e.log.warn(i.deprecated)}if(i.renamedParameters){const c=o.endpoint.merge(...s);for(const[s,o]of Object.entries(i.renamedParameters)){if(s in c){e.log.warn(`"${s}" parameter is deprecated for "octokit.${r}.${n}()". Use "${o}" instead`);if(!(o in c)){c[o]=c[s]}delete c[s]}}return o(c)}return o(...s)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const r=endpointsToMethods(e);return{rest:r}}restEndpointMethods.VERSION=dist_src_version_VERSION;function legacyRestEndpointMethods(e){const r=endpointsToMethods(e);return{...r,rest:r}}legacyRestEndpointMethods.VERSION=dist_src_version_VERSION;var light=__nccwpck_require__(63251);class dist_src_RequestError extends Error{name;status;request;response;constructor(e,r,n){super(e);this.name="HttpError";this.status=Number.parseInt(r);if(Number.isNaN(this.status)){this.status=0}if("response"in n){this.response=n.response}const s=Object.assign({},n.request);if(n.request.headers.authorization){s.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}var plugin_retry_dist_bundle_VERSION="0.0.0-development";async function errorRequest(e,r,n,s){if(!n.request||!n.request.request){throw n}if(n.status>=400&&!e.doNotRetry.includes(n.status)){const i=s.request.retries!=null?s.request.retries:e.retries;const o=Math.pow((s.request.retryCount||0)+1,2);throw r.retry.retryRequest(n,i,o)}throw n}async function wrapRequest(e,r,n,s){const i=new light;i.on("failed",(function(r,n){const i=~~r.request.request.retries;const o=~~r.request.request.retryAfter;s.request.retryCount=n.retryCount+1;if(i>n.retryCount){return o*e.retryAfterBaseValue}}));return i.schedule(requestWithGraphqlErrorHandling.bind(null,e,r,n),s)}async function requestWithGraphqlErrorHandling(e,r,n,s){const i=await n(n,s);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){const n=new dist_src_RequestError(i.data.errors[0].message,500,{request:s,response:i});return errorRequest(e,r,n,s)}return i}function retry(e,r){const n=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},r.retry);if(n.enabled){e.hook.error("request",errorRequest.bind(null,n,e));e.hook.wrap("request",wrapRequest.bind(null,n,e))}return{retry:{retryRequest:(e,r,n)=>{e.request.request=Object.assign({},e.request.request,{retries:r,retryAfter:n});return e}}}}retry.VERSION=plugin_retry_dist_bundle_VERSION;var plugin_throttling_dist_bundle_VERSION="0.0.0-development";var dist_bundle_noop=()=>Promise.resolve();function dist_bundle_wrapRequest(e,r,n){return e.retryLimiter.schedule(doRequest,e,r,n)}async function doRequest(e,r,n){const s=n.method!=="GET"&&n.method!=="HEAD";const{pathname:i}=new URL(n.url,"http://github.test");const o=n.method==="GET"&&i.startsWith("/search/");const c=i.startsWith("/graphql");const u=~~r.retryCount;const d=u>0?{priority:0,weight:0}:{};if(e.clustering){d.expiration=1e3*60}if(s||c){await e.write.key(e.id).schedule(d,dist_bundle_noop)}if(s&&e.triggersNotification(i)){await e.notifications.key(e.id).schedule(d,dist_bundle_noop)}if(o){await e.search.key(e.id).schedule(d,dist_bundle_noop)}const A=e.global.key(e.id).schedule(d,r,n);if(c){const e=await A;if(e.data.errors!=null&&e.data.errors.some((e=>e.type==="RATE_LIMITED"))){const r=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data});throw r}}return A}var triggers_notification_paths_default=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const r=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const n=`^(?:${r.map((e=>`(?:${e})`)).join("|")})[^/]*$`;return new RegExp(n,"i")}var regex=routeMatcher(triggers_notification_paths_default);var triggersNotification=regex.test.bind(regex);var groups={};var createGroups=function(e,r){groups.global=new e.Group({id:"octokit-global",maxConcurrent:10,...r});groups.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...r});groups.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...r});groups.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...r})};function throttling(e,r){const{enabled:n=true,Bottleneck:s=light,id:i="no-id",timeout:o=1e3*60*2,connection:c}=r.throttle||{};if(!n){return{}}const u={timeout:o};if(typeof c!=="undefined"){u.connection=c}if(groups.global==null){createGroups(s,u)}const d=Object.assign({clustering:c!=null,triggersNotification:triggersNotification,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new s,id:i,...groups},r.throttle);if(typeof d.onSecondaryRateLimit!=="function"||typeof d.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n        You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n        See https://octokit.github.io/rest.js/#throttling\n\n        const octokit = new Octokit({\n          throttle: {\n            onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n            onRateLimit: (retryAfter, options) => {/* ... */}\n          }\n        })\n    `)}const A={};const h=new s.Events(A);A.on("secondary-limit",d.onSecondaryRateLimit);A.on("rate-limit",d.onRateLimit);A.on("error",(r=>e.log.warn("Error in throttling-plugin limit handler",r)));d.retryLimiter.on("failed",(async function(r,n){const[s,i,o]=n.args;const{pathname:c}=new URL(o.url,"http://github.test");const u=c.startsWith("/graphql")&&r.status!==401;if(!(u||r.status===403||r.status===429)){return}const d=~~i.retryCount;i.retryCount=d;o.request.retryCount=d;const{wantRetry:A,retryAfter:g=0}=await async function(){if(/\bsecondary rate\b/i.test(r.message)){const n=Number(r.response.headers["retry-after"])||s.fallbackSecondaryRateRetryAfter;const i=await h.trigger("secondary-limit",n,o,e,d);return{wantRetry:i,retryAfter:n}}if(r.response.headers!=null&&r.response.headers["x-ratelimit-remaining"]==="0"||(r.response.data?.errors??[]).some((e=>e.type==="RATE_LIMITED"))){const n=new Date(~~r.response.headers["x-ratelimit-reset"]*1e3).getTime();const s=Math.max(Math.ceil((n-Date.now())/1e3)+1,0);const i=await h.trigger("rate-limit",s,o,e,d);return{wantRetry:i,retryAfter:s}}return{}}();if(A){i.retryCount++;return g*s.retryAfterBaseValue}}));e.hook.wrap("request",dist_bundle_wrapRequest.bind(null,d));return{}}throttling.VERSION=plugin_throttling_dist_bundle_VERSION;throttling.triggersNotification=triggersNotification;function oauthAuthorizationUrl(e){const r=e.clientType||"oauth-app";const n=e.baseUrl||"https://github.com";const s={clientType:r,allowSignup:e.allowSignup===false?false:true,clientId:e.clientId,login:e.login||null,redirectUrl:e.redirectUrl||null,state:e.state||Math.random().toString(36).substr(2),url:""};if(r==="oauth-app"){const r="scopes"in e?e.scopes:[];s.scopes=typeof r==="string"?r.split(/[,\s]+/).filter(Boolean):r}s.url=urlBuilderAuthorize(`${n}/login/oauth/authorize`,s);return s}function urlBuilderAuthorize(e,r){const n={allowSignup:"allow_signup",clientId:"client_id",login:"login",redirectUrl:"redirect_uri",scopes:"scope",state:"state"};let s=e;Object.keys(n).filter((e=>r[e]!==null)).filter((e=>{if(e!=="scopes")return true;if(r.clientType==="github-app")return false;return!Array.isArray(r[e])||r[e].length>0})).map((e=>[n[e],`${r[e]}`])).forEach((([e,r],n)=>{s+=n===0?`?`:"&";s+=`${e}=${encodeURIComponent(r)}`}));return s}class request_error_dist_src_RequestError extends Error{name;status;request;response;constructor(e,r,n){super(e);this.name="HttpError";this.status=Number.parseInt(r);if(Number.isNaN(this.status)){this.status=0}if("response"in n){this.response=n.response}const s=Object.assign({},n.request);if(n.request.headers.authorization){s.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}var oauth_methods_dist_bundle_VERSION="0.0.0-development";function requestToOAuthBaseUrl(e){const r=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(r.baseUrl)?"https://github.com":r.baseUrl.replace("/api/v3","")}async function oauthRequest(e,r,n){const s={baseUrl:requestToOAuthBaseUrl(e),headers:{accept:"application/json"},...n};const i=await e(r,s);if("error"in i.data){const n=new request_error_dist_src_RequestError(`${i.data.error_description} (${i.data.error}, ${i.data.error_uri})`,400,{request:e.endpoint.merge(r,s)});n.response=i;throw n}return i}function getWebFlowAuthorizationUrl({request:e=dist_bundle_request,...r}){const n=requestToOAuthBaseUrl(e);return oauthAuthorizationUrl({...r,baseUrl:n})}async function exchangeWebFlowCode(e){const r=e.request||dist_bundle_request;const n=await oauthRequest(r,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,code:e.code,redirect_uri:e.redirectUrl});const s={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.data.access_token,scopes:n.data.scope.split(/\s+/).filter(Boolean)};if(e.clientType==="github-app"){if("refresh_token"in n.data){const e=new Date(n.headers.date).getTime();s.refreshToken=n.data.refresh_token,s.expiresAt=toTimestamp(e,n.data.expires_in),s.refreshTokenExpiresAt=toTimestamp(e,n.data.refresh_token_expires_in)}delete s.scopes}return{...n,authentication:s}}function toTimestamp(e,r){return new Date(e+r*1e3).toISOString()}async function createDeviceCode(e){const r=e.request||dist_bundle_request;const n={client_id:e.clientId};if("scopes"in e&&Array.isArray(e.scopes)){n.scope=e.scopes.join(" ")}return oauthRequest(r,"POST /login/device/code",n)}async function exchangeDeviceCode(e){const r=e.request||dist_bundle_request;const n=await oauthRequest(r,"POST /login/oauth/access_token",{client_id:e.clientId,device_code:e.code,grant_type:"urn:ietf:params:oauth:grant-type:device_code"});const s={clientType:e.clientType,clientId:e.clientId,token:n.data.access_token,scopes:n.data.scope.split(/\s+/).filter(Boolean)};if("clientSecret"in e){s.clientSecret=e.clientSecret}if(e.clientType==="github-app"){if("refresh_token"in n.data){const e=new Date(n.headers.date).getTime();s.refreshToken=n.data.refresh_token,s.expiresAt=toTimestamp2(e,n.data.expires_in),s.refreshTokenExpiresAt=toTimestamp2(e,n.data.refresh_token_expires_in)}delete s.scopes}return{...n,authentication:s}}function toTimestamp2(e,r){return new Date(e+r*1e3).toISOString()}async function checkToken(e){const r=e.request||dist_bundle_request;const n=await r("POST /applications/{client_id}/token",{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token});const s={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.token,scopes:n.data.scopes};if(n.data.expires_at)s.expiresAt=n.data.expires_at;if(e.clientType==="github-app"){delete s.scopes}return{...n,authentication:s}}async function refreshToken(e){const r=e.request||dist_bundle_request;const n=await oauthRequest(r,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,grant_type:"refresh_token",refresh_token:e.refreshToken});const s=new Date(n.headers.date).getTime();const i={clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,token:n.data.access_token,refreshToken:n.data.refresh_token,expiresAt:toTimestamp3(s,n.data.expires_in),refreshTokenExpiresAt:toTimestamp3(s,n.data.refresh_token_expires_in)};return{...n,authentication:i}}function toTimestamp3(e,r){return new Date(e+r*1e3).toISOString()}async function scopeToken(e){const{request:r,clientType:n,clientId:s,clientSecret:i,token:o,...c}=e;const u=r||dist_bundle_request;const d=await u("POST /applications/{client_id}/token/scoped",{headers:{authorization:`basic ${btoa(`${s}:${i}`)}`},client_id:s,access_token:o,...c});const A=Object.assign({clientType:n,clientId:s,clientSecret:i,token:d.data.token},d.data.expires_at?{expiresAt:d.data.expires_at}:{});return{...d,authentication:A}}async function resetToken(e){const r=e.request||dist_bundle_request;const n=btoa(`${e.clientId}:${e.clientSecret}`);const s=await r("PATCH /applications/{client_id}/token",{headers:{authorization:`basic ${n}`},client_id:e.clientId,access_token:e.token});const i={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:s.data.token,scopes:s.data.scopes};if(s.data.expires_at)i.expiresAt=s.data.expires_at;if(e.clientType==="github-app"){delete i.scopes}return{...s,authentication:i}}async function deleteToken(e){const r=e.request||dist_bundle_request;const n=btoa(`${e.clientId}:${e.clientSecret}`);return r("DELETE /applications/{client_id}/token",{headers:{authorization:`basic ${n}`},client_id:e.clientId,access_token:e.token})}async function deleteAuthorization(e){const r=e.request||dist_bundle_request;const n=btoa(`${e.clientId}:${e.clientSecret}`);return r("DELETE /applications/{client_id}/grant",{headers:{authorization:`basic ${n}`},client_id:e.clientId,access_token:e.token})}async function getOAuthAccessToken(e,r){const n=getCachedAuthentication(e,r.auth);if(n)return n;const{data:s}=await createDeviceCode({clientType:e.clientType,clientId:e.clientId,request:r.request||e.request,scopes:r.auth.scopes||e.scopes});await e.onVerification(s);const i=await waitForAccessToken(r.request||e.request,e.clientId,e.clientType,s);e.authentication=i;return i}function getCachedAuthentication(e,r){if(r.refresh===true)return false;if(!e.authentication)return false;if(e.clientType==="github-app"){return e.authentication}const n=e.authentication;const s=("scopes"in r&&r.scopes||e.scopes).join(" ");const i=n.scopes.join(" ");return s===i?n:false}async function wait(e){await new Promise((r=>setTimeout(r,e*1e3)))}async function waitForAccessToken(e,r,n,s){try{const i={clientId:r,request:e,code:s.device_code};const{authentication:o}=n==="oauth-app"?await exchangeDeviceCode({...i,clientType:"oauth-app"}):await exchangeDeviceCode({...i,clientType:"github-app"});return{type:"token",tokenType:"oauth",...o}}catch(i){if(!i.response)throw i;const o=i.response.data.error;if(o==="authorization_pending"){await wait(s.interval);return waitForAccessToken(e,r,n,s)}if(o==="slow_down"){await wait(s.interval+5);return waitForAccessToken(e,r,n,s)}throw i}}async function dist_bundle_auth(e,r){return getOAuthAccessToken(e,{auth:r})}async function dist_bundle_hook(e,r,n,s){let i=r.endpoint.merge(n,s);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url)){return r(i)}const{token:o}=await getOAuthAccessToken(e,{request:r,auth:{type:"oauth"}});i.headers.authorization=`token ${o}`;return r(i)}var auth_oauth_device_dist_bundle_VERSION="0.0.0-development";function createOAuthDeviceAuth(e){const r=e.request||dist_bundle_request.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/${auth_oauth_device_dist_bundle_VERSION} ${getUserAgent()}`}});const{request:n=r,...s}=e;const i=e.clientType==="github-app"?{...s,clientType:"github-app",request:n}:{...s,clientType:"oauth-app",request:n,scopes:e.scopes||[]};if(!e.clientId){throw new Error('[@octokit/auth-oauth-device] "clientId" option must be set (https://github.com/octokit/auth-oauth-device.js#usage)')}if(!e.onVerification){throw new Error('[@octokit/auth-oauth-device] "onVerification" option must be a function (https://github.com/octokit/auth-oauth-device.js#usage)')}return Object.assign(dist_bundle_auth.bind(null,i),{hook:dist_bundle_hook.bind(null,i)})}var auth_oauth_user_dist_bundle_VERSION="0.0.0-development";async function getAuthentication(e){if("code"in e.strategyOptions){const{authentication:r}=await exchangeWebFlowCode({clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request});return{type:"token",tokenType:"oauth",...r}}if("onVerification"in e.strategyOptions){const r=createOAuthDeviceAuth({clientType:e.clientType,clientId:e.clientId,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request});const n=await r({type:"oauth"});return{clientSecret:e.clientSecret,...n}}if("token"in e.strategyOptions){return{type:"token",tokenType:"oauth",clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions}}throw new Error("[@octokit/auth-oauth-user] Invalid strategy options")}async function auth_oauth_user_dist_bundle_auth(e,r={}){if(!e.authentication){e.authentication=e.clientType==="oauth-app"?await getAuthentication(e):await getAuthentication(e)}if(e.authentication.invalid){throw new Error("[@octokit/auth-oauth-user] Token is invalid")}const n=e.authentication;if("expiresAt"in n){if(r.type==="refresh"||new Date(n.expiresAt){typeof PROCESS.emitWarning==="function"?PROCESS.emitWarning(e,r,n,s):console.error(`[${n}] ${r}: ${e}`)};let AC=globalThis.AbortController;let AS=globalThis.AbortSignal;if(typeof AC==="undefined"){AS=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,r){this._onabort.push(r)}};AC=class AbortController{constructor(){warnACPolyfill()}signal=new AS;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const r of this.signal._onabort){r(e)}this.signal.onabort?.(e)}};let e=PROCESS.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=e=>!warned.has(e);const TYPE=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#g=false;static create(e){const r=getUintArray(e);if(!r)return[];Stack.#g=true;const n=new Stack(e,r);Stack.#g=false;return n}constructor(e,r){if(!Stack.#g){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new r(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#m;#y;#E;#_;#b;#I;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#v;#C;#w;#B;#S;#T;#k;#R;#Q;#P;#O;#D;#F;#M;#x;#U;#N;static unsafeExposeInternals(e){return{starts:e.#F,ttls:e.#M,sizes:e.#D,keyMap:e.#w,keyList:e.#B,valList:e.#S,next:e.#T,prev:e.#k,get head(){return e.#R},get tail(){return e.#Q},free:e.#P,isBackgroundFetch:r=>e.#L(r),backgroundFetch:(r,n,s,i)=>e.#G(r,n,s,i),moveToTail:r=>e.#j(r),indexes:r=>e.#V(r),rindexes:r=>e.#q(r),isStale:r=>e.#H(r)}}get max(){return this.#m}get maxSize(){return this.#y}get calculatedSize(){return this.#C}get size(){return this.#v}get fetchMethod(){return this.#b}get memoMethod(){return this.#I}get dispose(){return this.#E}get disposeAfter(){return this.#_}constructor(e){const{max:r=0,ttl:n,ttlResolution:s=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:c,allowStale:u,dispose:d,disposeAfter:A,noDisposeOnSet:h,noUpdateTTL:g,maxSize:m=0,maxEntrySize:y=0,sizeCalculation:E,fetchMethod:_,memoMethod:b,noDeleteOnFetchRejection:I,noDeleteOnStaleGet:v,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:w,ignoreFetchAbort:B}=e;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const S=r?getUintArray(r):Array;if(!S){throw new Error("invalid max value: "+r)}this.#m=r;this.#y=m;this.maxEntrySize=y||this.#y;this.sizeCalculation=E;if(this.sizeCalculation){if(!this.#y&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(b!==undefined&&typeof b!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#I=b;if(_!==undefined&&typeof _!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#b=_;this.#U=!!_;this.#w=new Map;this.#B=new Array(r).fill(undefined);this.#S=new Array(r).fill(undefined);this.#T=new S(r);this.#k=new S(r);this.#R=0;this.#Q=0;this.#P=Stack.create(r);this.#v=0;this.#C=0;if(typeof d==="function"){this.#E=d}if(typeof A==="function"){this.#_=A;this.#O=[]}else{this.#_=undefined;this.#O=undefined}this.#x=!!this.#E;this.#N=!!this.#_;this.noDisposeOnSet=!!h;this.noUpdateTTL=!!g;this.noDeleteOnFetchRejection=!!I;this.allowStaleOnFetchRejection=!!C;this.allowStaleOnFetchAbort=!!w;this.ignoreFetchAbort=!!B;if(this.maxEntrySize!==0){if(this.#y!==0){if(!isPosInt(this.#y)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#W()}this.allowStale=!!u;this.noDeleteOnStaleGet=!!v;this.updateAgeOnGet=!!o;this.updateAgeOnHas=!!c;this.ttlResolution=isPosInt(s)||s===0?s:1;this.ttlAutopurge=!!i;this.ttl=n||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#K()}if(this.#m===0&&this.ttl===0&&this.#y===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#m&&!this.#y){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){warned.add(e);const r="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(r,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#w.has(e)?Infinity:0}#K(){const e=new ZeroArray(this.#m);const r=new ZeroArray(this.#m);this.#M=e;this.#F=r;this.#J=(n,s,i=perf.now())=>{r[n]=s!==0?i:0;e[n]=s;if(s!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#H(n)){this.#Y(this.#B[n],"expire")}}),s+1);if(e.unref){e.unref()}}};this.#z=n=>{r[n]=e[n]!==0?perf.now():0};this.#$=(s,i)=>{if(e[i]){const o=e[i];const c=r[i];if(!o||!c)return;s.ttl=o;s.start=c;s.now=n||getNow();const u=s.now-c;s.remainingTTL=o-u}};let n=0;const getNow=()=>{const e=perf.now();if(this.ttlResolution>0){n=e;const r=setTimeout((()=>n=0),this.ttlResolution);if(r.unref){r.unref()}}return e};this.getRemainingTTL=s=>{const i=this.#w.get(s);if(i===undefined){return 0}const o=e[i];const c=r[i];if(!o||!c){return Infinity}const u=(n||getNow())-c;return o-u};this.#H=s=>{const i=r[s];const o=e[s];return!!o&&!!i&&(n||getNow())-i>o}}#z=()=>{};#$=()=>{};#J=()=>{};#H=()=>false;#W(){const e=new ZeroArray(this.#m);this.#C=0;this.#D=e;this.#Z=r=>{this.#C-=e[r];e[r]=0};this.#X=(e,r,n,s)=>{if(this.#L(r)){return 0}if(!isPosInt(n)){if(s){if(typeof s!=="function"){throw new TypeError("sizeCalculation must be a function")}n=s(r,e);if(!isPosInt(n)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return n};this.#ee=(r,n,s)=>{e[r]=n;if(this.#y){const n=this.#y-e[r];while(this.#C>n){this.#te(true)}}this.#C+=e[r];if(s){s.entrySize=n;s.totalCalculatedSize=this.#C}}}#Z=e=>{};#ee=(e,r,n)=>{};#X=(e,r,n,s)=>{if(n||s){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#V({allowStale:e=this.allowStale}={}){if(this.#v){for(let r=this.#Q;true;){if(!this.#re(r)){break}if(e||!this.#H(r)){yield r}if(r===this.#R){break}else{r=this.#k[r]}}}}*#q({allowStale:e=this.allowStale}={}){if(this.#v){for(let r=this.#R;true;){if(!this.#re(r)){break}if(e||!this.#H(r)){yield r}if(r===this.#Q){break}else{r=this.#T[r]}}}}#re(e){return e!==undefined&&this.#w.get(this.#B[e])===e}*entries(){for(const e of this.#V()){if(this.#S[e]!==undefined&&this.#B[e]!==undefined&&!this.#L(this.#S[e])){yield[this.#B[e],this.#S[e]]}}}*rentries(){for(const e of this.#q()){if(this.#S[e]!==undefined&&this.#B[e]!==undefined&&!this.#L(this.#S[e])){yield[this.#B[e],this.#S[e]]}}}*keys(){for(const e of this.#V()){const r=this.#B[e];if(r!==undefined&&!this.#L(this.#S[e])){yield r}}}*rkeys(){for(const e of this.#q()){const r=this.#B[e];if(r!==undefined&&!this.#L(this.#S[e])){yield r}}}*values(){for(const e of this.#V()){const r=this.#S[e];if(r!==undefined&&!this.#L(this.#S[e])){yield this.#S[e]}}}*rvalues(){for(const e of this.#q()){const r=this.#S[e];if(r!==undefined&&!this.#L(this.#S[e])){yield this.#S[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(const n of this.#V()){const s=this.#S[n];const i=this.#L(s)?s.__staleWhileFetching:s;if(i===undefined)continue;if(e(i,this.#B[n],this)){return this.get(this.#B[n],r)}}}forEach(e,r=this){for(const n of this.#V()){const s=this.#S[n];const i=this.#L(s)?s.__staleWhileFetching:s;if(i===undefined)continue;e.call(r,i,this.#B[n],this)}}rforEach(e,r=this){for(const n of this.#q()){const s=this.#S[n];const i=this.#L(s)?s.__staleWhileFetching:s;if(i===undefined)continue;e.call(r,i,this.#B[n],this)}}purgeStale(){let e=false;for(const r of this.#q({allowStale:true})){if(this.#H(r)){this.#Y(this.#B[r],"expire");e=true}}return e}info(e){const r=this.#w.get(e);if(r===undefined)return undefined;const n=this.#S[r];const s=this.#L(n)?n.__staleWhileFetching:n;if(s===undefined)return undefined;const i={value:s};if(this.#M&&this.#F){const e=this.#M[r];const n=this.#F[r];if(e&&n){const r=e-(perf.now()-n);i.ttl=r;i.start=Date.now()}}if(this.#D){i.size=this.#D[r]}return i}dump(){const e=[];for(const r of this.#V({allowStale:true})){const n=this.#B[r];const s=this.#S[r];const i=this.#L(s)?s.__staleWhileFetching:s;if(i===undefined||n===undefined)continue;const o={value:i};if(this.#M&&this.#F){o.ttl=this.#M[r];const e=perf.now()-this.#F[r];o.start=Math.floor(Date.now()-e)}if(this.#D){o.size=this.#D[r]}e.unshift([n,o])}return e}load(e){this.clear();for(const[r,n]of e){if(n.start){const e=Date.now()-n.start;n.start=perf.now()-e}this.set(r,n.value,n)}}set(e,r,n={}){if(r===undefined){this.delete(e);return this}const{ttl:s=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:u}=n;let{noUpdateTTL:d=this.noUpdateTTL}=n;const A=this.#X(e,r,n.size||0,c);if(this.maxEntrySize&&A>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#Y(e,"set");return this}let h=this.#v===0?undefined:this.#w.get(e);if(h===undefined){h=this.#v===0?this.#Q:this.#P.length!==0?this.#P.pop():this.#v===this.#m?this.#te(false):this.#v;this.#B[h]=e;this.#S[h]=r;this.#w.set(e,h);this.#T[this.#Q]=h;this.#k[h]=this.#Q;this.#Q=h;this.#v++;this.#ee(h,A,u);if(u)u.set="add";d=false}else{this.#j(h);const n=this.#S[h];if(r!==n){if(this.#U&&this.#L(n)){n.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:r}=n;if(r!==undefined&&!o){if(this.#x){this.#E?.(r,e,"set")}if(this.#N){this.#O?.push([r,e,"set"])}}}else if(!o){if(this.#x){this.#E?.(n,e,"set")}if(this.#N){this.#O?.push([n,e,"set"])}}this.#Z(h);this.#ee(h,A,u);this.#S[h]=r;if(u){u.set="replace";const e=n&&this.#L(n)?n.__staleWhileFetching:n;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}}if(s!==0&&!this.#M){this.#K()}if(this.#M){if(!d){this.#J(h,s,i)}if(u)this.#$(u,h)}if(!o&&this.#N&&this.#O){const e=this.#O;let r;while(r=e?.shift()){this.#_?.(...r)}}return this}pop(){try{while(this.#v){const e=this.#S[this.#R];this.#te(true);if(this.#L(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#N&&this.#O){const e=this.#O;let r;while(r=e?.shift()){this.#_?.(...r)}}}}#te(e){const r=this.#R;const n=this.#B[r];const s=this.#S[r];if(this.#U&&this.#L(s)){s.__abortController.abort(new Error("evicted"))}else if(this.#x||this.#N){if(this.#x){this.#E?.(s,n,"evict")}if(this.#N){this.#O?.push([s,n,"evict"])}}this.#Z(r);if(e){this.#B[r]=undefined;this.#S[r]=undefined;this.#P.push(r)}if(this.#v===1){this.#R=this.#Q=0;this.#P.length=0}else{this.#R=this.#T[r]}this.#w.delete(n);this.#v--;return r}has(e,r={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:s}=r;const i=this.#w.get(e);if(i!==undefined){const e=this.#S[i];if(this.#L(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#H(i)){if(n){this.#z(i)}if(s){s.has="hit";this.#$(s,i)}return true}else if(s){s.has="stale";this.#$(s,i)}}else if(s){s.has="miss"}return false}peek(e,r={}){const{allowStale:n=this.allowStale}=r;const s=this.#w.get(e);if(s===undefined||!n&&this.#H(s)){return}const i=this.#S[s];return this.#L(i)?i.__staleWhileFetching:i}#G(e,r,n,s){const i=r===undefined?undefined:this.#S[r];if(this.#L(i)){return i}const o=new AC;const{signal:c}=n;c?.addEventListener("abort",(()=>o.abort(c.reason)),{signal:o.signal});const u={signal:o.signal,options:n,context:s};const cb=(s,i=false)=>{const{aborted:c}=o.signal;const A=n.ignoreFetchAbort&&s!==undefined;if(n.status){if(c&&!i){n.status.fetchAborted=true;n.status.fetchError=o.signal.reason;if(A)n.status.fetchAbortIgnored=true}else{n.status.fetchResolved=true}}if(c&&!A&&!i){return fetchFail(o.signal.reason)}const h=d;if(this.#S[r]===d){if(s===undefined){if(h.__staleWhileFetching){this.#S[r]=h.__staleWhileFetching}else{this.#Y(e,"fetch")}}else{if(n.status)n.status.fetchUpdated=true;this.set(e,s,u.options)}}return s};const eb=e=>{if(n.status){n.status.fetchRejected=true;n.status.fetchError=e}return fetchFail(e)};const fetchFail=s=>{const{aborted:i}=o.signal;const c=i&&n.allowStaleOnFetchAbort;const u=c||n.allowStaleOnFetchRejection;const A=u||n.noDeleteOnFetchRejection;const h=d;if(this.#S[r]===d){const n=!A||h.__staleWhileFetching===undefined;if(n){this.#Y(e,"fetch")}else if(!c){this.#S[r]=h.__staleWhileFetching}}if(u){if(n.status&&h.__staleWhileFetching!==undefined){n.status.returnedStale=true}return h.__staleWhileFetching}else if(h.__returned===h){throw s}};const pcall=(r,s)=>{const c=this.#b?.(e,i,u);if(c&&c instanceof Promise){c.then((e=>r(e===undefined?undefined:e)),s)}o.signal.addEventListener("abort",(()=>{if(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort){r(undefined);if(n.allowStaleOnFetchAbort){r=e=>cb(e,true)}}}))};if(n.status)n.status.fetchDispatched=true;const d=new Promise(pcall).then(cb,eb);const A=Object.assign(d,{__abortController:o,__staleWhileFetching:i,__returned:undefined});if(r===undefined){this.set(e,A,{...u.options,status:undefined});r=this.#w.get(e)}else{this.#S[r]=A}return A}#L(e){if(!this.#U)return false;const r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof AC}async fetch(e,r={}){const{allowStale:n=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:c=this.noDisposeOnSet,size:u=0,sizeCalculation:d=this.sizeCalculation,noUpdateTTL:A=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:E,forceRefresh:_=false,status:b,signal:I}=r;if(!this.#U){if(b)b.fetch="get";return this.get(e,{allowStale:n,updateAgeOnGet:s,noDeleteOnStaleGet:i,status:b})}const v={allowStale:n,updateAgeOnGet:s,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:c,size:u,sizeCalculation:d,noUpdateTTL:A,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:y,ignoreFetchAbort:m,status:b,signal:I};let C=this.#w.get(e);if(C===undefined){if(b)b.fetch="miss";const r=this.#G(e,C,v,E);return r.__returned=r}else{const r=this.#S[C];if(this.#L(r)){const e=n&&r.__staleWhileFetching!==undefined;if(b){b.fetch="inflight";if(e)b.returnedStale=true}return e?r.__staleWhileFetching:r.__returned=r}const i=this.#H(C);if(!_&&!i){if(b)b.fetch="hit";this.#j(C);if(s){this.#z(C)}if(b)this.#$(b,C);return r}const o=this.#G(e,C,v,E);const c=o.__staleWhileFetching!==undefined;const u=c&&n;if(b){b.fetch=i?"stale":"refresh";if(u&&i)b.returnedStale=true}return u?o.__staleWhileFetching:o.__returned=o}}async forceFetch(e,r={}){const n=await this.fetch(e,r);if(n===undefined)throw new Error("fetch() returned undefined");return n}memo(e,r={}){const n=this.#I;if(!n){throw new Error("no memoMethod provided to constructor")}const{context:s,forceRefresh:i,...o}=r;const c=this.get(e,o);if(!i&&c!==undefined)return c;const u=n(e,c,{options:o,context:s});this.set(e,u,o);return u}get(e,r={}){const{allowStale:n=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=r;const c=this.#w.get(e);if(c!==undefined){const r=this.#S[c];const u=this.#L(r);if(o)this.#$(o,c);if(this.#H(c)){if(o)o.get="stale";if(!u){if(!i){this.#Y(e,"expire")}if(o&&n)o.returnedStale=true;return n?r:undefined}else{if(o&&n&&r.__staleWhileFetching!==undefined){o.returnedStale=true}return n?r.__staleWhileFetching:undefined}}else{if(o)o.get="hit";if(u){return r.__staleWhileFetching}this.#j(c);if(s){this.#z(c)}return r}}else if(o){o.get="miss"}}#ne(e,r){this.#k[r]=e;this.#T[e]=r}#j(e){if(e!==this.#Q){if(e===this.#R){this.#R=this.#T[e]}else{this.#ne(this.#k[e],this.#T[e])}this.#ne(this.#Q,e);this.#Q=e}}delete(e){return this.#Y(e,"delete")}#Y(e,r){let n=false;if(this.#v!==0){const s=this.#w.get(e);if(s!==undefined){n=true;if(this.#v===1){this.#se(r)}else{this.#Z(s);const n=this.#S[s];if(this.#L(n)){n.__abortController.abort(new Error("deleted"))}else if(this.#x||this.#N){if(this.#x){this.#E?.(n,e,r)}if(this.#N){this.#O?.push([n,e,r])}}this.#w.delete(e);this.#B[s]=undefined;this.#S[s]=undefined;if(s===this.#Q){this.#Q=this.#k[s]}else if(s===this.#R){this.#R=this.#T[s]}else{const e=this.#k[s];this.#T[e]=this.#T[s];const r=this.#T[s];this.#k[r]=this.#k[s]}this.#v--;this.#P.push(s)}}}if(this.#N&&this.#O?.length){const e=this.#O;let r;while(r=e?.shift()){this.#_?.(...r)}}return n}clear(){return this.#se("delete")}#se(e){for(const r of this.#q({allowStale:true})){const n=this.#S[r];if(this.#L(n)){n.__abortController.abort(new Error("deleted"))}else{const s=this.#B[r];if(this.#x){this.#E?.(n,s,e)}if(this.#N){this.#O?.push([n,s,e])}}}this.#w.clear();this.#S.fill(undefined);this.#B.fill(undefined);if(this.#M&&this.#F){this.#M.fill(0);this.#F.fill(0)}if(this.#D){this.#D.fill(0)}this.#R=0;this.#Q=0;this.#P.length=0;this.#C=0;this.#v=0;if(this.#N&&this.#O){const e=this.#O;let r;while(r=e?.shift()){this.#_?.(...r)}}}}async function getAppAuthentication({appId:e,privateKey:r,timeDifference:n}){try{const s=await githubAppJwt({id:e,privateKey:r,now:n&&Math.floor(Date.now()/1e3)+n});return{type:"app",token:s.token,appId:s.appId,expiresAt:new Date(s.expiration*1e3).toISOString()}}catch(e){if(r==="-----BEGIN RSA PRIVATE KEY-----"){throw new Error("The 'privateKey` option contains only the first line '-----BEGIN RSA PRIVATE KEY-----'. If you are setting it using a `.env` file, make sure it is set on a single line with newlines replaced by '\n'")}else{throw e}}}function getCache(){return new LRUCache({max:15e3,ttl:1e3*60*59})}async function dist_node_get(e,r){const n=optionsToCacheKey(r);const s=await e.get(n);if(!s){return}const[i,o,c,u,d,A]=s.split("|");const h=r.permissions||d.split(/,/).reduce(((e,r)=>{if(/!$/.test(r)){e[r.slice(0,-1)]="write"}else{e[r]="read"}return e}),{});return{token:i,createdAt:o,expiresAt:c,permissions:h,repositoryIds:r.repositoryIds,repositoryNames:r.repositoryNames,singleFileName:A,repositorySelection:u}}async function dist_node_set(e,r,n){const s=optionsToCacheKey(r);const i=r.permissions?"":Object.keys(n.permissions).map((e=>`${e}${n.permissions[e]==="write"?"!":""}`)).join(",");const o=[n.token,n.createdAt,n.expiresAt,n.repositorySelection,i,n.singleFileName].join("|");await e.set(s,o)}function optionsToCacheKey({installationId:e,permissions:r={},repositoryIds:n=[],repositoryNames:s=[]}){const i=Object.keys(r).sort().map((e=>r[e]==="read"?e:`${e}!`)).join(",");const o=n.sort().join(",");const c=s.join(",");return[e,o,c,i].filter(Boolean).join("|")}function toTokenAuthentication({installationId:e,token:r,createdAt:n,expiresAt:s,repositorySelection:i,permissions:o,repositoryIds:c,repositoryNames:u,singleFileName:d}){return Object.assign({type:"token",tokenType:"installation",token:r,installationId:e,permissions:o,createdAt:n,expiresAt:s,repositorySelection:i},c?{repositoryIds:c}:null,u?{repositoryNames:u}:null,d?{singleFileName:d}:null)}async function getInstallationAuthentication(e,r,n){const s=Number(r.installationId||e.installationId);if(!s){throw new Error("[@octokit/auth-app] installationId option is required for installation authentication.")}if(r.factory){const{type:n,factory:s,oauthApp:i,...o}={...e,...r};return s(o)}const i=Object.assign({installationId:s},r);if(!r.refresh){const r=await dist_node_get(e.cache,i);if(r){const{token:e,createdAt:n,expiresAt:i,permissions:o,repositoryIds:c,repositoryNames:u,singleFileName:d,repositorySelection:A}=r;return toTokenAuthentication({installationId:s,token:e,createdAt:n,expiresAt:i,permissions:o,repositorySelection:A,repositoryIds:c,repositoryNames:u,singleFileName:d})}}const o=await getAppAuthentication(e);const c=n||e.request;const{data:{token:u,expires_at:d,repositories:A,permissions:h,repository_selection:g,single_file:m}}=await c("POST /app/installations/{installation_id}/access_tokens",{installation_id:s,repository_ids:r.repositoryIds,repositories:r.repositoryNames,permissions:r.permissions,mediaType:{previews:["machine-man"]},headers:{authorization:`bearer ${o.token}`}});const y=h||{};const E=g||"all";const _=A?A.map((e=>e.id)):void 0;const b=A?A.map((e=>e.name)):void 0;const I=(new Date).toISOString();await dist_node_set(e.cache,i,{token:u,createdAt:I,expiresAt:d,repositorySelection:E,permissions:y,repositoryIds:_,repositoryNames:b,singleFileName:m});return toTokenAuthentication({installationId:s,token:u,createdAt:I,expiresAt:d,repositorySelection:E,permissions:y,repositoryIds:_,repositoryNames:b,singleFileName:m})}async function dist_node_auth(e,r){switch(r.type){case"app":return getAppAuthentication(e);case"oauth-app":return e.oauthApp({type:"oauth-app"});case"installation":r;return getInstallationAuthentication(e,{...r,type:"installation"});case"oauth-user":return e.oauthApp(r);default:throw new Error(`Invalid auth type: ${r.type}`)}}var PATHS=["/app","/app/hook/config","/app/hook/deliveries","/app/hook/deliveries/{delivery_id}","/app/hook/deliveries/{delivery_id}/attempts","/app/installations","/app/installations/{installation_id}","/app/installations/{installation_id}/access_tokens","/app/installations/{installation_id}/suspended","/app/installation-requests","/marketplace_listing/accounts/{account_id}","/marketplace_listing/plan","/marketplace_listing/plans","/marketplace_listing/plans/{plan_id}/accounts","/marketplace_listing/stubbed/accounts/{account_id}","/marketplace_listing/stubbed/plan","/marketplace_listing/stubbed/plans","/marketplace_listing/stubbed/plans/{plan_id}/accounts","/orgs/{org}/installation","/repos/{owner}/{repo}/installation","/users/{username}/installation"];function dist_node_routeMatcher(e){const r=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const n=`^(?:${r.map((e=>`(?:${e})`)).join("|")})$`;return new RegExp(n,"i")}var REGEX=dist_node_routeMatcher(PATHS);function requiresAppAuth(e){return!!e&®EX.test(e.split("?")[0])}var FIVE_SECONDS_IN_MS=5*1e3;function isNotTimeSkewError(e){return!(e.message.match(/'Expiration time' claim \('exp'\) must be a numeric value representing the future time at which the assertion expires/)||e.message.match(/'Issued at' claim \('iat'\) must be an Integer representing the time that the assertion was issued/))}async function dist_node_hook(e,r,n,s){const i=r.endpoint.merge(n,s);const o=i.url;if(/\/login\/oauth\/access_token$/.test(o)){return r(i)}if(requiresAppAuth(o.replace(r.endpoint.DEFAULTS.baseUrl,""))){const{token:n}=await getAppAuthentication(e);i.headers.authorization=`bearer ${n}`;let s;try{s=await r(i)}catch(n){if(isNotTimeSkewError(n)){throw n}if(typeof n.response.headers.date==="undefined"){throw n}const s=Math.floor((Date.parse(n.response.headers.date)-Date.parse((new Date).toString()))/1e3);e.log.warn(n.message);e.log.warn(`[@octokit/auth-app] GitHub API time and system time are different by ${s} seconds. Retrying request with the difference accounted for.`);const{token:o}=await getAppAuthentication({...e,timeDifference:s});i.headers.authorization=`bearer ${o}`;return r(i)}return s}if(requiresBasicAuth(o)){const n=await e.oauthApp({type:"oauth-app"});i.headers.authorization=n.headers.authorization;return r(i)}const{token:c,createdAt:u}=await getInstallationAuthentication(e,{},r.defaults({baseUrl:i.baseUrl}));i.headers.authorization=`token ${c}`;return sendRequestWithRetries(e,r,i,u)}async function sendRequestWithRetries(e,r,n,s,i=0){const o=+new Date-+new Date(s);try{return await r(n)}catch(c){if(c.status!==401){throw c}if(o>=FIVE_SECONDS_IN_MS){if(i>0){c.message=`After ${i} retries within ${o/1e3}s of creating the installation access token, the response remains 401. At this point, the cause may be an authentication problem or a system outage. Please check https://www.githubstatus.com for status information`}throw c}++i;const u=i*1e3;e.log.warn(`[@octokit/auth-app] Retrying after 401 response to account for token replication delay (retry: ${i}, wait: ${u/1e3}s)`);await new Promise((e=>setTimeout(e,u)));return sendRequestWithRetries(e,r,n,s,i)}}var dist_node_VERSION="7.1.1";function createAppAuth(e){if(!e.appId){throw new Error("[@octokit/auth-app] appId option is required")}if(!e.privateKey){throw new Error("[@octokit/auth-app] privateKey option is required")}if("installationId"in e&&!e.installationId){throw new Error("[@octokit/auth-app] installationId is set to a falsy value")}const r=Object.assign({warn:console.warn.bind(console)},e.log);const n=e.request||dist_bundle_request.defaults({headers:{"user-agent":`octokit-auth-app.js/${dist_node_VERSION} ${getUserAgent()}`}});const s=Object.assign({request:n,cache:getCache()},e,e.installationId?{installationId:Number(e.installationId)}:{},{log:r,oauthApp:createOAuthAppAuth({clientType:"github-app",clientId:e.clientId||"",clientSecret:e.clientSecret||"",request:n})});return Object.assign(dist_node_auth.bind(null,s),{hook:dist_node_hook.bind(null,s)})}async function auth_unauthenticated_dist_node_auth(e){return{type:"unauthenticated",reason:e}}function isRateLimitError(e){if(e.status!==403){return false}if(!e.response){return false}return e.response.headers["x-ratelimit-remaining"]==="0"}var REGEX_ABUSE_LIMIT_MESSAGE=/\babuse\b/i;function isAbuseLimitError(e){if(e.status!==403){return false}return REGEX_ABUSE_LIMIT_MESSAGE.test(e.message)}async function auth_unauthenticated_dist_node_hook(e,r,n,s){const i=r.endpoint.merge(n,s);return r(i).catch((r=>{if(r.status===404){r.message=`Not found. May be due to lack of authentication. Reason: ${e}`;throw r}if(isRateLimitError(r)){r.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`;throw r}if(isAbuseLimitError(r)){r.message=`You have triggered an abuse detection mechanism. This maybe caused by the lack of authentication. Reason: ${e}`;throw r}if(r.status===401){r.message=`Unauthorized. "${i.method} ${i.url}" failed most likely due to lack of authentication. Reason: ${e}`;throw r}if(r.status>=400&&r.status<500){r.message=r.message.replace(/\.?$/,`. May be caused by lack of authentication (${e}).`)}throw r}))}var createUnauthenticatedAuth=function createUnauthenticatedAuth2(e){if(!e||!e.reason){throw new Error("[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth")}return Object.assign(auth_unauthenticated_dist_node_auth.bind(null,e.reason),{hook:auth_unauthenticated_dist_node_hook.bind(null,e.reason)})};var oauth_app_dist_node_VERSION="7.1.3";function addEventHandler(e,r,n){if(Array.isArray(r)){for(const s of r){addEventHandler(e,s,n)}return}if(!e.eventHandlers[r]){e.eventHandlers[r]=[]}e.eventHandlers[r].push(n)}var OAuthAppOctokit=dist_src_Octokit.defaults({userAgent:`octokit-oauth-app.js/${oauth_app_dist_node_VERSION} ${getUserAgent()}`});async function emitEvent(e,r){const{name:n,action:s}=r;if(e.eventHandlers[`${n}.${s}`]){for(const i of e.eventHandlers[`${n}.${s}`]){await i(r)}}if(e.eventHandlers[n]){for(const s of e.eventHandlers[n]){await s(r)}}}async function getUserOctokitWithState(e,r){return e.octokit.auth({type:"oauth-user",...r,async factory(r){const n=new e.Octokit({authStrategy:createOAuthUserAuth,auth:r});const s=await n.auth({type:"get"});await emitEvent(e,{name:"token",action:"created",token:s.token,scopes:s.scopes,authentication:s,octokit:n});return n}})}function getWebFlowAuthorizationUrlWithState(e,r){const n={clientId:e.clientId,request:e.octokit.request,...r,allowSignup:e.allowSignup??r.allowSignup,redirectUrl:r.redirectUrl??e.redirectUrl,scopes:r.scopes??e.defaultScopes};return getWebFlowAuthorizationUrl({clientType:e.clientType,...n})}async function createTokenWithState(e,r){const n=await e.octokit.auth({type:"oauth-user",...r});await emitEvent(e,{name:"token",action:"created",token:n.token,scopes:n.scopes,authentication:n,octokit:new e.Octokit({authStrategy:createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.token,scopes:n.scopes,refreshToken:n.refreshToken,expiresAt:n.expiresAt,refreshTokenExpiresAt:n.refreshTokenExpiresAt}})});return{authentication:n}}async function checkTokenWithState(e,r){const n=await checkToken({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...r});Object.assign(n.authentication,{type:"token",tokenType:"oauth"});return n}async function resetTokenWithState(e,r){const n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...r};if(e.clientType==="oauth-app"){const r=await resetToken({clientType:"oauth-app",...n});const s=Object.assign(r.authentication,{type:"token",tokenType:"oauth"});await emitEvent(e,{name:"token",action:"reset",token:r.authentication.token,scopes:r.authentication.scopes||void 0,authentication:s,octokit:new e.Octokit({authStrategy:createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token,scopes:r.authentication.scopes}})});return{...r,authentication:s}}const s=await resetToken({clientType:"github-app",...n});const i=Object.assign(s.authentication,{type:"token",tokenType:"oauth"});await emitEvent(e,{name:"token",action:"reset",token:s.authentication.token,authentication:i,octokit:new e.Octokit({authStrategy:createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:s.authentication.token}})});return{...s,authentication:i}}async function refreshTokenWithState(e,r){if(e.clientType==="oauth-app"){throw new Error("[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps")}const n=await refreshToken({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,refreshToken:r.refreshToken});const s=Object.assign(n.authentication,{type:"token",tokenType:"oauth"});await emitEvent(e,{name:"token",action:"refreshed",token:n.authentication.token,authentication:s,octokit:new e.Octokit({authStrategy:createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})});return{...n,authentication:s}}async function scopeTokenWithState(e,r){if(e.clientType==="oauth-app"){throw new Error("[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps")}const n=await scopeToken({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...r});const s=Object.assign(n.authentication,{type:"token",tokenType:"oauth"});await emitEvent(e,{name:"token",action:"scoped",token:n.authentication.token,authentication:s,octokit:new e.Octokit({authStrategy:createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})});return{...n,authentication:s}}async function deleteTokenWithState(e,r){const n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...r};const s=e.clientType==="oauth-app"?await deleteToken({clientType:"oauth-app",...n}):await deleteToken({clientType:"github-app",...n});await emitEvent(e,{name:"token",action:"deleted",token:r.token,octokit:new e.Octokit({authStrategy:createUnauthenticatedAuth,auth:{reason:`Handling "token.deleted" event. The access for the token has been revoked.`}})});return s}async function deleteAuthorizationWithState(e,r){const n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...r};const s=e.clientType==="oauth-app"?await deleteAuthorization({clientType:"oauth-app",...n}):await deleteAuthorization({clientType:"github-app",...n});await emitEvent(e,{name:"token",action:"deleted",token:r.token,octokit:new e.Octokit({authStrategy:createUnauthenticatedAuth,auth:{reason:`Handling "token.deleted" event. The access for the token has been revoked.`}})});await emitEvent(e,{name:"authorization",action:"deleted",token:r.token,octokit:new e.Octokit({authStrategy:createUnauthenticatedAuth,auth:{reason:`Handling "authorization.deleted" event. The access for the app has been revoked.`}})});return s}function dist_node_unknownRouteResponse(e){return{status:404,headers:{"content-type":"application/json"},text:JSON.stringify({error:`Unknown route: ${e.method} ${e.url}`})}}async function handleRequest(e,{pathPrefix:r="/api/github/oauth"},n){let{pathname:s}=new URL(n.url,"http://localhost");if(!s.startsWith(`${r}/`)){return void 0}if(n.method==="OPTIONS"){return{status:200,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"Content-Type, User-Agent, Authorization"}}}s=s.slice(r.length+1);const i=[n.method,s].join(" ");const o={getLogin:`GET login`,getCallback:`GET callback`,createToken:`POST token`,getToken:`GET token`,patchToken:`PATCH token`,patchRefreshToken:`PATCH refresh-token`,scopeToken:`POST token/scoped`,deleteToken:`DELETE token`,deleteGrant:`DELETE grant`};if(!Object.values(o).includes(i)){return dist_node_unknownRouteResponse(n)}let c;try{const e=await n.text();c=e?JSON.parse(e):{}}catch(e){return{status:400,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify({error:"[@octokit/oauth-app] request error"})}}const{searchParams:u}=new URL(n.url,"http://localhost");const d=Object.fromEntries(u);const A=n.headers;try{if(i===o.getLogin){const{url:r}=e.getWebFlowAuthorizationUrl({state:d.state,scopes:d.scopes?d.scopes.split(","):void 0,allowSignup:d.allowSignup?d.allowSignup==="true":void 0,redirectUrl:d.redirectUrl});return{status:302,headers:{location:r}}}if(i===o.getCallback){if(d.error){throw new Error(`[@octokit/oauth-app] ${d.error} ${d.error_description}`)}if(!d.code){throw new Error('[@octokit/oauth-app] "code" parameter is required')}const{authentication:{token:r}}=await e.createToken({code:d.code});return{status:200,headers:{"content-type":"text/html"},text:`

Token created successfully

\n\n

Your token is: ${r}. Copy it now as it cannot be shown again.

`}}if(i===o.createToken){const{code:r,redirectUrl:n}=c;if(!r){throw new Error('[@octokit/oauth-app] "code" parameter is required')}const s=await e.createToken({code:r,redirectUrl:n});delete s.authentication.clientSecret;return{status:201,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(s)}}if(i===o.getToken){const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}const n=await e.checkToken({token:r});delete n.authentication.clientSecret;return{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(n)}}if(i===o.patchToken){const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}const n=await e.resetToken({token:r});delete n.authentication.clientSecret;return{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(n)}}if(i===o.patchRefreshToken){const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}const{refreshToken:n}=c;if(!n){throw new Error("[@octokit/oauth-app] refreshToken must be sent in request body")}const s=await e.refreshToken({refreshToken:n});delete s.authentication.clientSecret;return{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(s)}}if(i===o.scopeToken){const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}const n=await e.scopeToken({token:r,...c});delete n.authentication.clientSecret;return{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(n)}}if(i===o.deleteToken){const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}await e.deleteToken({token:r});return{status:204,headers:{"access-control-allow-origin":"*"}}}const r=A.authorization?.substr("token ".length);if(!r){throw new Error('[@octokit/oauth-app] "Authorization" header is required')}await e.deleteAuthorization({token:r});return{status:204,headers:{"access-control-allow-origin":"*"}}}catch(e){return{status:400,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify({error:e.message})}}}function parseRequest(e){const{method:r,url:n,headers:s}=e;async function text(){const r=await new Promise(((r,n)=>{let s=[];e.on("error",n).on("data",(e=>s.push(e))).on("end",(()=>r(Buffer.concat(s).toString())))}));return r}return{method:r,url:n,headers:s,text:text}}function sendResponse(e,r){r.writeHead(e.status,e.headers);r.end(e.text)}function createNodeMiddleware(e,r={}){return async function(n,s,i){const o=await parseRequest(n);const c=await handleRequest(e,r,o);if(c){sendResponse(c,s);return true}else{i?.();return false}}}function parseRequest2(e){const r=Object.fromEntries(e.headers.entries());return{method:e.method,url:e.url,headers:r,text:()=>e.text()}}function sendResponse2(e){return new Response(e.text,{status:e.status,headers:e.headers})}function createWebWorkerHandler(e,r={}){return async function(n){const s=await parseRequest2(n);const i=await handleRequest(e,r,s);return i?sendResponse2(i):void 0}}function parseRequest3(e){const{method:r}=e.requestContext.http;let n=e.rawPath;const{stage:s}=e.requestContext;if(n.startsWith("/"+s))n=n.substring(s.length+1);if(e.rawQueryString)n+="?"+e.rawQueryString;const i=e.headers;const text=async()=>e.body||"";return{method:r,url:n,headers:i,text:text}}function sendResponse3(e){return{statusCode:e.status,headers:e.headers,body:e.text}}function createAWSLambdaAPIGatewayV2Handler(e,r={}){return async function(n){const s=parseRequest3(n);const i=await handleRequest(e,r,s);return i?sendResponse3(i):void 0}}var OAuthApp=class{static VERSION=oauth_app_dist_node_VERSION;static defaults(e){const r=class extends(this){constructor(...r){super({...e,...r[0]})}};return r}constructor(e){const r=e.Octokit||OAuthAppOctokit;this.type=e.clientType||"oauth-app";const n=new r({authStrategy:createOAuthAppAuth,auth:{clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret}});const s={clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret,defaultScopes:e.defaultScopes||[],allowSignup:e.allowSignup,baseUrl:e.baseUrl,redirectUrl:e.redirectUrl,log:e.log,Octokit:r,octokit:n,eventHandlers:{}};this.on=addEventHandler.bind(null,s);this.octokit=n;this.getUserOctokit=getUserOctokitWithState.bind(null,s);this.getWebFlowAuthorizationUrl=getWebFlowAuthorizationUrlWithState.bind(null,s);this.createToken=createTokenWithState.bind(null,s);this.checkToken=checkTokenWithState.bind(null,s);this.resetToken=resetTokenWithState.bind(null,s);this.refreshToken=refreshTokenWithState.bind(null,s);this.scopeToken=scopeTokenWithState.bind(null,s);this.deleteToken=deleteTokenWithState.bind(null,s);this.deleteAuthorization=deleteAuthorizationWithState.bind(null,s)}type;on;octokit;getUserOctokit;getWebFlowAuthorizationUrl;createToken;checkToken;resetToken;refreshToken;scopeToken;deleteToken;deleteAuthorization};const external_node_buffer_namespaceObject=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:buffer");var webhooks_methods_dist_node_VERSION="5.1.0";async function sign(e,r){if(!e||!r){throw new TypeError("[@octokit/webhooks-methods] secret & payload required for sign()")}if(typeof r!=="string"){throw new TypeError("[@octokit/webhooks-methods] payload must be a string")}const n="sha256";return`${n}=${(0,external_node_crypto_namespaceObject.createHmac)(n,e).update(r).digest("hex")}`}sign.VERSION=webhooks_methods_dist_node_VERSION;async function verify(e,r,n){if(!e||!r||!n){throw new TypeError("[@octokit/webhooks-methods] secret, eventPayload & signature required")}if(typeof r!=="string"){throw new TypeError("[@octokit/webhooks-methods] eventPayload must be a string")}const s=external_node_buffer_namespaceObject.Buffer.from(n);const i=external_node_buffer_namespaceObject.Buffer.from(await sign(e,r));if(s.length!==i.length){return false}return(0,external_node_crypto_namespaceObject.timingSafeEqual)(s,i)}verify.VERSION=webhooks_methods_dist_node_VERSION;async function verifyWithFallback(e,r,n,s){const i=await verify(e,r,n);if(i){return true}if(s!==void 0){for(const e of s){const s=await verify(e,r,n);if(s){return s}}}return false}var createLogger=e=>({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console),...e});var emitterEventNames=["branch_protection_configuration","branch_protection_configuration.disabled","branch_protection_configuration.enabled","branch_protection_rule","branch_protection_rule.created","branch_protection_rule.deleted","branch_protection_rule.edited","check_run","check_run.completed","check_run.created","check_run.requested_action","check_run.rerequested","check_suite","check_suite.completed","check_suite.requested","check_suite.rerequested","code_scanning_alert","code_scanning_alert.appeared_in_branch","code_scanning_alert.closed_by_user","code_scanning_alert.created","code_scanning_alert.fixed","code_scanning_alert.reopened","code_scanning_alert.reopened_by_user","commit_comment","commit_comment.created","create","custom_property","custom_property.created","custom_property.deleted","custom_property.updated","custom_property_values","custom_property_values.updated","delete","dependabot_alert","dependabot_alert.auto_dismissed","dependabot_alert.auto_reopened","dependabot_alert.created","dependabot_alert.dismissed","dependabot_alert.fixed","dependabot_alert.reintroduced","dependabot_alert.reopened","deploy_key","deploy_key.created","deploy_key.deleted","deployment","deployment.created","deployment_protection_rule","deployment_protection_rule.requested","deployment_review","deployment_review.approved","deployment_review.rejected","deployment_review.requested","deployment_status","deployment_status.created","discussion","discussion.answered","discussion.category_changed","discussion.closed","discussion.created","discussion.deleted","discussion.edited","discussion.labeled","discussion.locked","discussion.pinned","discussion.reopened","discussion.transferred","discussion.unanswered","discussion.unlabeled","discussion.unlocked","discussion.unpinned","discussion_comment","discussion_comment.created","discussion_comment.deleted","discussion_comment.edited","fork","github_app_authorization","github_app_authorization.revoked","gollum","installation","installation.created","installation.deleted","installation.new_permissions_accepted","installation.suspend","installation.unsuspend","installation_repositories","installation_repositories.added","installation_repositories.removed","installation_target","installation_target.renamed","issue_comment","issue_comment.created","issue_comment.deleted","issue_comment.edited","issues","issues.assigned","issues.closed","issues.deleted","issues.demilestoned","issues.edited","issues.labeled","issues.locked","issues.milestoned","issues.opened","issues.pinned","issues.reopened","issues.transferred","issues.unassigned","issues.unlabeled","issues.unlocked","issues.unpinned","label","label.created","label.deleted","label.edited","marketplace_purchase","marketplace_purchase.cancelled","marketplace_purchase.changed","marketplace_purchase.pending_change","marketplace_purchase.pending_change_cancelled","marketplace_purchase.purchased","member","member.added","member.edited","member.removed","membership","membership.added","membership.removed","merge_group","merge_group.checks_requested","merge_group.destroyed","meta","meta.deleted","milestone","milestone.closed","milestone.created","milestone.deleted","milestone.edited","milestone.opened","org_block","org_block.blocked","org_block.unblocked","organization","organization.deleted","organization.member_added","organization.member_invited","organization.member_removed","organization.renamed","package","package.published","package.updated","page_build","personal_access_token_request","personal_access_token_request.approved","personal_access_token_request.cancelled","personal_access_token_request.created","personal_access_token_request.denied","ping","project","project.closed","project.created","project.deleted","project.edited","project.reopened","project_card","project_card.converted","project_card.created","project_card.deleted","project_card.edited","project_card.moved","project_column","project_column.created","project_column.deleted","project_column.edited","project_column.moved","projects_v2","projects_v2.closed","projects_v2.created","projects_v2.deleted","projects_v2.edited","projects_v2.reopened","projects_v2_item","projects_v2_item.archived","projects_v2_item.converted","projects_v2_item.created","projects_v2_item.deleted","projects_v2_item.edited","projects_v2_item.reordered","projects_v2_item.restored","public","pull_request","pull_request.assigned","pull_request.auto_merge_disabled","pull_request.auto_merge_enabled","pull_request.closed","pull_request.converted_to_draft","pull_request.demilestoned","pull_request.dequeued","pull_request.edited","pull_request.enqueued","pull_request.labeled","pull_request.locked","pull_request.milestoned","pull_request.opened","pull_request.ready_for_review","pull_request.reopened","pull_request.review_request_removed","pull_request.review_requested","pull_request.synchronize","pull_request.unassigned","pull_request.unlabeled","pull_request.unlocked","pull_request_review","pull_request_review.dismissed","pull_request_review.edited","pull_request_review.submitted","pull_request_review_comment","pull_request_review_comment.created","pull_request_review_comment.deleted","pull_request_review_comment.edited","pull_request_review_thread","pull_request_review_thread.resolved","pull_request_review_thread.unresolved","push","registry_package","registry_package.published","registry_package.updated","release","release.created","release.deleted","release.edited","release.prereleased","release.published","release.released","release.unpublished","repository","repository.archived","repository.created","repository.deleted","repository.edited","repository.privatized","repository.publicized","repository.renamed","repository.transferred","repository.unarchived","repository_advisory","repository_advisory.published","repository_advisory.reported","repository_dispatch","repository_dispatch.sample.collected","repository_import","repository_ruleset","repository_ruleset.created","repository_ruleset.deleted","repository_ruleset.edited","repository_vulnerability_alert","repository_vulnerability_alert.create","repository_vulnerability_alert.dismiss","repository_vulnerability_alert.reopen","repository_vulnerability_alert.resolve","secret_scanning_alert","secret_scanning_alert.created","secret_scanning_alert.reopened","secret_scanning_alert.resolved","secret_scanning_alert.revoked","secret_scanning_alert.validated","secret_scanning_alert_location","secret_scanning_alert_location.created","security_advisory","security_advisory.published","security_advisory.updated","security_advisory.withdrawn","security_and_analysis","sponsorship","sponsorship.cancelled","sponsorship.created","sponsorship.edited","sponsorship.pending_cancellation","sponsorship.pending_tier_change","sponsorship.tier_changed","star","star.created","star.deleted","status","team","team.added_to_repository","team.created","team.deleted","team.edited","team.removed_from_repository","team_add","watch","watch.started","workflow_dispatch","workflow_job","workflow_job.completed","workflow_job.in_progress","workflow_job.queued","workflow_job.waiting","workflow_run","workflow_run.completed","workflow_run.in_progress","workflow_run.requested"];function handleEventHandlers(e,r,n){if(!e.hooks[r]){e.hooks[r]=[]}e.hooks[r].push(n)}function receiverOn(e,r,n){if(Array.isArray(r)){r.forEach((r=>receiverOn(e,r,n)));return}if(["*","error"].includes(r)){const e=r==="*"?"any":r;const n=`Using the "${r}" event with the regular Webhooks.on() function is not supported. Please use the Webhooks.on${e.charAt(0).toUpperCase()+e.slice(1)}() method instead`;throw new Error(n)}if(!emitterEventNames.includes(r)){e.log.warn(`"${r}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`)}handleEventHandlers(e,r,n)}function receiverOnAny(e,r){handleEventHandlers(e,"*",r)}function receiverOnError(e,r){handleEventHandlers(e,"error",r)}function wrapErrorHandler(e,r){let n;try{n=e(r)}catch(e){console.log('FATAL: Error occurred in "error" event handler');console.log(e)}if(n&&n.catch){n.catch((e=>{console.log('FATAL: Error occurred in "error" event handler');console.log(e)}))}}function getHooks(e,r,n){const s=[e.hooks[n],e.hooks["*"]];if(r){s.unshift(e.hooks[`${n}.${r}`])}return[].concat(...s.filter(Boolean))}function receiverHandle(e,r){const n=e.hooks.error||[];if(r instanceof Error){const e=Object.assign(new AggregateError([r],r.message),{event:r});n.forEach((r=>wrapErrorHandler(r,e)));return Promise.reject(e)}if(!r||!r.name){const e=new Error("Event name not passed");throw new AggregateError([e],e.message)}if(!r.payload){const e=new Error("Event name not passed");throw new AggregateError([e],e.message)}const s=getHooks(e,"action"in r.payload?r.payload.action:null,r.name);if(s.length===0){return Promise.resolve()}const i=[];const o=s.map((n=>{let s=Promise.resolve(r);if(e.transform){s=s.then(e.transform)}return s.then((e=>n(e))).catch((e=>i.push(Object.assign(e,{event:r}))))}));return Promise.all(o).then((()=>{if(i.length===0){return}const e=new AggregateError(i,i.map((e=>e.message)).join("\n"));Object.assign(e,{event:r});n.forEach((r=>wrapErrorHandler(r,e)));throw e}))}function removeListener(e,r,n){if(Array.isArray(r)){r.forEach((r=>removeListener(e,r,n)));return}if(!e.hooks[r]){return}for(let s=e.hooks[r].length-1;s>=0;s--){if(e.hooks[r][s]===n){e.hooks[r].splice(s,1);return}}}function createEventHandler(e){const r={hooks:{},log:createLogger(e&&e.log)};if(e&&e.transform){r.transform=e.transform}return{on:receiverOn.bind(null,r),onAny:receiverOnAny.bind(null,r),onError:receiverOnError.bind(null,r),removeListener:removeListener.bind(null,r),receive:receiverHandle.bind(null,r)}}async function verifyAndReceive(e,r){const n=await verify(e.secret,r.payload,r.signature).catch((()=>false));if(!n){const n=new Error("[@octokit/webhooks] signature does not match event payload and secret");return e.eventHandler.receive(Object.assign(n,{event:r,status:400}))}let s;try{s=JSON.parse(r.payload)}catch(e){e.message="Invalid JSON";e.status=400;throw new AggregateError([e],e.message)}return e.eventHandler.receive({id:r.id,name:r.name,payload:s})}var WEBHOOK_HEADERS=null&&["x-github-event","x-hub-signature-256","x-github-delivery"];function getMissingHeaders(e){return WEBHOOK_HEADERS.filter((r=>!(r in e.headers)))}function getPayload(e){if(typeof e.body==="object"&&"rawBody"in e&&e.rawBody instanceof Buffer){return Promise.resolve(e.rawBody.toString("utf8"))}else if(typeof e.body==="string"){return Promise.resolve(e.body)}return new Promise(((r,n)=>{let s=[];e.on("error",(e=>n(new AggregateError([e],e.message))));e.on("data",(e=>s.push(e)));e.on("end",(()=>setImmediate(r,s.length===1?s[0].toString("utf8"):Buffer.concat(s).toString("utf8"))))}))}function onUnhandledRequestDefault(e,r){r.writeHead(404,{"content-type":"application/json"});r.end(JSON.stringify({error:`Unknown route: ${e.method} ${e.url}`}))}async function middleware(e,r,n,s,i){let o;try{o=new URL(n.url,"http://localhost").pathname}catch(e){s.writeHead(422,{"content-type":"application/json"});s.end(JSON.stringify({error:`Request URL could not be parsed: ${n.url}`}));return true}if(o!==r.path){i?.();return false}else if(n.method!=="POST"){onUnhandledRequestDefault(n,s);return true}if(!n.headers["content-type"]||!n.headers["content-type"].startsWith("application/json")){s.writeHead(415,{"content-type":"application/json",accept:"application/json"});s.end(JSON.stringify({error:`Unsupported "Content-Type" header value. Must be "application/json"`}));return true}const c=getMissingHeaders(n).join(", ");if(c){s.writeHead(400,{"content-type":"application/json"});s.end(JSON.stringify({error:`Required headers missing: ${c}`}));return true}const u=n.headers["x-github-event"];const d=n.headers["x-hub-signature-256"];const A=n.headers["x-github-delivery"];r.log.debug(`${u} event received (id: ${A})`);let h=false;const g=setTimeout((()=>{h=true;s.statusCode=202;s.end("still processing\n")}),9e3).unref();try{const r=await getPayload(n);await e.verifyAndReceive({id:A,name:u,payload:r,signature:d});clearTimeout(g);if(h)return true;s.end("ok\n");return true}catch(e){clearTimeout(g);if(h)return true;const n=Array.from(e.errors)[0];const i=n.message?`${n.name}: ${n.message}`:"Error: An Unspecified error occurred";s.statusCode=typeof n.status!=="undefined"?n.status:500;r.log.error(e);s.end(JSON.stringify({error:i}));return true}}function dist_bundle_createNodeMiddleware(e,{path:r="/api/github/webhooks",log:n=createLogger()}={}){return middleware.bind(null,e,{path:r,log:n})}var Webhooks=class{sign;verify;on;onAny;onError;removeListener;receive;verifyAndReceive;constructor(e){if(!e||!e.secret){throw new Error("[@octokit/webhooks] options.secret required")}const r={eventHandler:createEventHandler(e),secret:e.secret,hooks:{},log:createLogger(e.log)};this.sign=sign.bind(null,e.secret);this.verify=verify.bind(null,e.secret);this.on=r.eventHandler.on;this.onAny=r.eventHandler.onAny;this.onError=r.eventHandler.onError;this.removeListener=r.eventHandler.removeListener;this.receive=r.eventHandler.receive;this.verifyAndReceive=verifyAndReceive.bind(null,r)}};var app_dist_node_VERSION="15.1.0";function webhooks(e,r){return new Webhooks({secret:r.secret,transform:async r=>{if(!("installation"in r.payload)||typeof r.payload.installation!=="object"){const n=new e.constructor({authStrategy:createUnauthenticatedAuth,auth:{reason:`"installation" key missing in webhook event payload`}});return{...r,octokit:n}}const n=r.payload.installation.id;const s=await e.auth({type:"installation",installationId:n,factory(e){return new e.octokit.constructor({...e.octokitOptions,authStrategy:createAppAuth,...{auth:{...e,installationId:n}}})}});s.hook.before("request",(e=>{e.headers["x-github-delivery"]=r.id}));return{...r,octokit:s}}})}async function getInstallationOctokit(e,r){return e.octokit.auth({type:"installation",installationId:r,factory(e){const n={...e.octokitOptions,authStrategy:createAppAuth,...{auth:{...e,installationId:r}}};return new e.octokit.constructor(n)}})}function eachInstallationFactory(e){return Object.assign(eachInstallation.bind(null,e),{iterator:eachInstallationIterator.bind(null,e)})}async function eachInstallation(e,r){const n=eachInstallationIterator(e)[Symbol.asyncIterator]();let s=await n.next();while(!s.done){await r(s.value);s=await n.next()}}function eachInstallationIterator(e){return{async*[Symbol.asyncIterator](){const r=composePaginateRest.iterator(e.octokit,"GET /app/installations");for await(const{data:n}of r){for(const r of n){const n=await getInstallationOctokit(e,r.id);yield{octokit:n,installation:r}}}}}}function eachRepositoryFactory(e){return Object.assign(eachRepository.bind(null,e),{iterator:eachRepositoryIterator.bind(null,e)})}async function eachRepository(e,r,n){const s=eachRepositoryIterator(e,n?r:void 0)[Symbol.asyncIterator]();let i=await s.next();while(!i.done){if(n){await n(i.value)}else{await r(i.value)}i=await s.next()}}function singleInstallationIterator(e,r){return{async*[Symbol.asyncIterator](){yield{octokit:await e.getInstallationOctokit(r)}}}}function eachRepositoryIterator(e,r){return{async*[Symbol.asyncIterator](){const n=r?singleInstallationIterator(e,r.installationId):e.eachInstallation.iterator();for await(const{octokit:e}of n){const r=composePaginateRest.iterator(e,"GET /installation/repositories");for await(const{data:n}of r){for(const r of n){yield{octokit:e,repository:r}}}}}}}function getInstallationUrlFactory(e){let r;return async function getInstallationUrl(n={}){if(!r){r=getInstallationUrlBase(e)}const s=await r;const i=new URL(s);if(n.target_id!==void 0){i.pathname+="/permissions";i.searchParams.append("target_id",n.target_id.toFixed())}if(n.state!==void 0){i.searchParams.append("state",n.state)}return i.href}}async function getInstallationUrlBase(e){const{data:r}=await e.octokit.request("GET /app");if(!r){throw new Error("[@octokit/app] unable to fetch metadata for app")}return`${r.html_url}/installations/new`}function dist_node_noop(){}function dist_node_createNodeMiddleware(e,r={}){const n=Object.assign({debug:dist_node_noop,info:dist_node_noop,warn:console.warn.bind(console),error:console.error.bind(console)},r.log);const s={pathPrefix:"/api/github",...r,log:n};const i=webhooksNodeMiddleware(e.webhooks,{path:s.pathPrefix+"/webhooks",log:n});const o=oauthNodeMiddleware(e.oauth,{pathPrefix:s.pathPrefix+"/oauth"});return dist_node_middleware.bind(null,s.pathPrefix,i,o)}async function dist_node_middleware(e,r,n,s,i,o){const{pathname:c}=new URL(s.url,"http://localhost");if(c.startsWith(`${e}/`)){if(c===`${e}/webhooks`){r(s,i)}else if(c.startsWith(`${e}/oauth/`)){n(s,i)}else{sendNodeResponse(unknownRouteResponse(s),i)}return true}else{o?.();return false}}var App=class{static VERSION=app_dist_node_VERSION;static defaults(e){const r=class extends(this){constructor(...r){super({...e,...r[0]})}};return r}octokit;webhooks;oauth;getInstallationOctokit;eachInstallation;eachRepository;getInstallationUrl;log;constructor(e){const r=e.Octokit||dist_src_Octokit;const n=Object.assign({appId:e.appId,privateKey:e.privateKey},e.oauth?{clientId:e.oauth.clientId,clientSecret:e.oauth.clientSecret}:{});this.octokit=new r({authStrategy:createAppAuth,auth:n,log:e.log});this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log);if(e.webhooks){this.webhooks=webhooks(this.octokit,e.webhooks)}else{Object.defineProperty(this,"webhooks",{get(){throw new Error("[@octokit/app] webhooks option not set")}})}if(e.oauth){this.oauth=new OAuthApp({...e.oauth,clientType:"github-app",Octokit:r})}else{Object.defineProperty(this,"oauth",{get(){throw new Error("[@octokit/app] oauth.clientId / oauth.clientSecret options are not set")}})}this.getInstallationOctokit=getInstallationOctokit.bind(null,this);this.eachInstallation=eachInstallationFactory(this);this.eachRepository=eachRepositoryFactory(this);this.getInstallationUrl=getInstallationUrlFactory(this)}};var octokit_dist_bundle_VERSION="0.0.0-development";var Octokit=dist_src_Octokit.plugin(restEndpointMethods,paginateRest,paginateGraphQL,retry,throttling).defaults({userAgent:`octokit.js/${octokit_dist_bundle_VERSION}`,throttle:{onRateLimit:onRateLimit,onSecondaryRateLimit:onSecondaryRateLimit}});function onRateLimit(e,r,n){n.log.warn(`Request quota exhausted for request ${r.method} ${r.url}`);if(r.request.retryCount===0){n.log.info(`Retrying after ${e} seconds!`);return true}}function onSecondaryRateLimit(e,r,n){n.log.warn(`SecondaryRateLimit detected for request ${r.method} ${r.url}`);if(r.request.retryCount===0){n.log.info(`Retrying after ${e} seconds!`);return true}}var dist_bundle_App=App.defaults({Octokit:Octokit});var dist_bundle_OAuthApp=OAuthApp.defaults({Octokit:Octokit});var dist_node=__nccwpck_require__(65772);class PluginContext{inputs;_env;static _instance;_config;constructor(e,r){this.inputs=e;this._env=r;this._config=this.inputs.settings}get env(){return Decode(envValidator.schema,value_Default(envValidator.schema,this._env))}set env(e){this._env=e}get config(){return Decode(pluginSettingsSchema,value_Default(pluginSettingsSchema,this._config??{}))}set config(e){this._config=e}static initialize(e,r){PluginContext._instance=new PluginContext(e,r);return PluginContext._instance}static getInstance(){if(!PluginContext._instance){throw new Error("PluginContext not initialized")}return PluginContext._instance}getInputs(){return this.inputs}getApp(){try{const e=this.env.APP_ID;const r=this.env.APP_PRIVATE_KEY;if(!e||!r){throw new Error("Storage app ID or private key not found")}return new dist_bundle_App({appId:e,privateKey:r})}catch(e){throw logger_logger.error("Error initializing storage app",{er:e})}}async getTelegramEventOctokit(){let e=null;try{await this.getApp().eachInstallation((r=>{if(r.installation.account?.login.toLowerCase()===this.config.storageOwner.toLowerCase()){e=r.octokit}}))}catch(e){logger_logger.error("Error initializing octokit in getTelegramEventOctokit",{er:String(e)})}if(!e){logger_logger.info("Falling back to TEMP_SAFE_PAT for octokit");e=new dist_node.Octokit({auth:this.env.TEMP_SAFE_PAT})}if(!e){throw new Error("Octokit could not be initialized")}return e}getGitHubEventOctokit(){return new dist_node.Octokit({auth:this.inputs.authToken})}async getContext(){const e=await this.getTelegramEventOctokit();if(!e){throw new Error("Octokit could not be initialized")}const r={eventName:this.inputs.eventName,payload:this.inputs.eventPayload,config:this.config,octokit:!this.inputs.authToken?e:this.getGitHubEventOctokit(),env:this.env,logger:logger_logger};return{...r,adapters:createAdapters(r)}}}var lib_main=__nccwpck_require__(18889);var lib_main_default=__nccwpck_require__.n(lib_main);var telegram=__nccwpck_require__(18219);var tl=__nccwpck_require__(87440);lib_main_default().config();class BaseMtProto{_client;_api=tl.Api;_session=null;async initialize(e,r){this._api=tl.Api;this._session=new sessions.StringSession(r);this._client=await this._mtProtoInit(e,this._session)}get api(){return this._api}get client(){return this._client}get session(){return this._session}async _mtProtoInit(e,r){const{TELEGRAM_API_HASH:n,TELEGRAM_APP_ID:s}=e;if(!n||!s){throw new Error("Missing required environment variables for Telegram API")}const i={connectionRetries:5};const o=new telegram.TelegramClient(r??"",s,n,i);await o.connect();return o}}lib_main_default().config();class MtProto extends BaseMtProto{_context;_session;storage;constructor(e){super();const{config:{shouldUseGithubStorage:r}}=e;this._context=e;this._session=SessionManagerFactory.createSessionManager(r,e);this.storage=this._session.storage}async initialize(){const e=await this._session.getSession();await super.initialize(this._context.env.TELEGRAM_BOT_ENV.mtProtoSettings,e)}async saveSession(){await this._session.saveSession()}async deleteSession(){await this._session.deleteSession()}async loadSession(){await this._session.loadSession()}}var BigInteger=__nccwpck_require__(43269);var BigInteger_default=__nccwpck_require__.n(BigInteger);async function closeChat(e){const{payload:r,adapters:{storage:n},logger:s}=e;if(r.repository.full_name.includes("devpool-directory")){return{status:200,reason:"skipped"}}const i=new MtProto(e);await i.initialize();s.info("Closing chat with name: ",{chatName:r.issue.title});const o=await n.retrieveChatByTaskNodeId(r.issue.node_id);if(!o){s.error("Chat not found in database",{chatName:r.issue.title});return{status:200,reason:"chat_not_found"}}s.info("Chat found: ",{dbChat:o});await i.client.getDialogs();const c=await i.client.invoke(new i.api.messages.GetFullChat({chatId:BigInteger_default()(o.chat_id)}));if(!c){throw new Error("Failed to fetch chat")}let u;if("participants"in c.fullChat){u=c.fullChat.participants}else{throw new Error("Failed to fetch chat participants")}await i.client.invoke(new i.api.folders.EditPeerFolders({folderPeers:[new i.api.InputFolderPeer({peer:new i.api.InputPeerChat({chatId:BigInteger_default()(o.chat_id)}),folderId:1})]}));if(u.className==="ChatParticipants"){await i.client.invoke(new i.api.messages.SendMessage({message:"This task has been closed and this chat has been archived.",peer:new i.api.InputPeerChat({chatId:BigInteger_default()(o.chat_id)})}));const r=u.participants;let c;const d=r.map((e=>{if(e.className==="ChatParticipantCreator"){c=e.userId;return undefined}return e.userId})).filter((e=>e!==undefined));if(!c){throw new Error("Failed to get chat creator")}d.push(c);const A=await i.client.getInputEntity(o.chat_id);await n.userSnapshot(o.chat_id,d.map((e=>e.toJSNumber())));let h=deleteChatUsers(i,d,e,A);let g=await h.next();while(!g.done){if(!g.value.success){const r=g.value.error?.seconds??300;s.info("Retrying...",{seconds:r,er:g.value.error});await intervalLogger(r,60,s,new Promise((e=>setTimeout(e,r*1e3))));h=deleteChatUsers(i,d.slice(g.value.index),e,A)}g=await h.next()}}await n.handleChat({action:"close",chat:o});return{status:200,reason:"chat_closed"}}async function*deleteChatUsers(e,r,n,s){for(let i=0;i{i-=r;n.info(`Retrying in ${i} seconds...`)}),r*1e3);await s;clearInterval(o)}async function addCommentToIssue(e,r,n,s,i){const{logger:o,octokit:c}=e;o.info(`Adding comment to ${n}/${s}#${i}`);if(!n||!s||!i){if("issue"in e.payload){n=e.payload.repository.owner.login;s=e.payload.repository.name;i=e.payload.issue.number}if("pull_request"in e.payload){n=e.payload.repository.owner.login;s=e.payload.repository.name;i=e.payload.pull_request.number}}if(!n||!s||!i){throw new Error(o.error("Missing owner, repo, or issue number",{owner:n,repo:s,issueNumber:i}).logMessage.raw)}try{await c.rest.issues.createComment({owner:n,repo:s,issue_number:i,body:r});o.info(`Added comment to issue ${i}`)}catch(e){o.error(`Failed to add comment to issue ${i}`,{er:e})}}async function createChat(e){const{payload:r,config:n,logger:s}=e;const i="@"+r.repository.full_name+"#"+r.issue.number;if(i.includes("devpool-directory")){s.info("Skipping chat creation (reason: devpool-directory is ignored).");return{status:200,reason:"skipped"}}const o=await e.adapters.storage.retrieveChatByTaskNodeId(r.issue.node_id);if(o){s.info("Chat already exists for this issue.");return{status:200,reason:"chat_exists"}}s.info(`Will attempt to create a new chat room '${i}'...`);const c=new MtProto(e);await c.initialize();let u;let d;s.info("Creating chat with name: ",{chatName:i});try{await c.client.getDialogs();const o=await c.client.getPeerId(n.botId,true);const A=await c.client.invoke(new c.api.messages.CreateChat({title:i,users:[o]}));let h;if("chats"in A.updates){u=A.updates.chats[0].id.toJSNumber();d=A.updates.chats[0].id}else{throw new Error("Failed to create chat")}if(A.updates.chats[0].className==="Chat"){h=await c.client.invoke(new c.api.messages.ExportChatInvite({peer:new c.api.InputPeerChat({chatId:d})}))}if(h){const[n,u]=r.repository.full_name.split("/");let A;if("link"in h){A=h.link;await addCommentToIssue(e,s.ok(`A new workroom has been created for this task. [Join chat](${A})`).logMessage.raw,n,u,r.issue.number)}else{throw new Error(s.error(`Failed to create chat invite link for the workroom: ${i}`).logMessage.raw)}try{await c.client.invoke(new c.api.messages.EditChatAbout({peer:new c.api.InputPeerChat({chatId:d}),about:`${r.issue.html_url}`}))}catch(e){s.error("Error in editing chat description: ",{er:e});return{status:500,reason:"chat_create_failed",content:{error:e}}}const g=await c.client.invoke(new c.api.messages.EditChatAdmin({chatId:d,isAdmin:true,userId:o}));if(!g){throw new Error("Failed to promote bot to admin")}}}catch(e){s.error("Error in creating chat: ",{er:e});return{status:500,reason:"chat_create_failed",content:{error:e}}}await e.adapters.storage.handleChat({action:"create",chat:{chat_id:u,chat_name:i,task_node_id:r.issue.node_id,user_ids:[],created_at:(new Date).toISOString(),modified_at:(new Date).toISOString(),status:"open"}});return{status:200,reason:"chat_created"}}async function reopenChat(e){const{payload:r,adapters:{storage:n},logger:s}=e;if(r.repository.full_name.includes("devpool-directory")){return{status:200,reason:"skipped"}}const i=new MtProto(e);await i.initialize();s.info("Reopening chat with name: ",{chatName:r.issue.title});const o=await n.retrieveChatByTaskNodeId(r.issue.node_id);if(!o){s.error("Chat not found in database",{chatName:r.issue.title});return{status:200,reason:"chat_not_found"}}const c=BigInteger_default()(o.chat_id);const u=await i.client.invoke(new i.api.messages.GetFullChat({chatId:c}));if(!u){throw new Error("Failed to fetch chat")}await i.client.invoke(new i.api.folders.EditPeerFolders({folderPeers:[new i.api.InputFolderPeer({peer:new i.api.InputPeerChat({chatId:c}),folderId:0})]}));const d=u.fullChat;const A=d.participants;const h=A.selfParticipant?.userId;if(!h){throw new Error("Failed to get chat creator")}await i.client.invoke(new i.api.messages.AddChatUser({chatId:c,userId:h,fwdLimit:50}));await n.handleChat({action:"reopen",chat:o});const{user_ids:g}=o;const m=await i.client.getInputEntity(c);for(const r of g){await i.client.getDialogs();try{if(r===e.config.botId||r===h.toJSNumber()){continue}await i.client.invoke(new i.api.messages.AddChatUser({chatId:m.className==="InputPeerChat"?m.chatId:undefined,userId:r,fwdLimit:50}))}catch(e){s.error("Failed to add chat users",{er:e})}}await i.client.invoke(new i.api.messages.SendMessage({message:"This task has been reopened and this chat has been unarchived.",peer:new i.api.InputPeerChat({chatId:c})}));return{status:200,reason:"chat_reopened"}}function handleUncaughtError(e){logger.error("An uncaught error occurred",{err:e});return new Response(JSON.stringify({err:e}),{status:500,headers:{"content-type":"application/json"}})}function sanitizeMetadata(e){return JSON.stringify(e,null,2).replace(//g,">").replace(/--/g,"--")}async function errors_bubbleUpErrorComment(e,r,n=true){let s;if(r instanceof LogReturn){s=r}else if(r instanceof Error){s=e.logger.error(r.message,{stack:r.stack})}else{s=e.logger.error("An error occurred",{err:r})}if(n){await addCommentToIssue(e,`${s?.logMessage.diff}\n\x3c!--\n${sanitizeMetadata(s?.metadata)}\n--\x3e`)}return s}var mod=__nccwpck_require__(53278);if(!Object.hasOwn){Object.defineProperty(Object,"hasOwn",{value:function(e,r){if(e==null){throw new TypeError("Cannot convert undefined or null to object")}return Object.prototype.hasOwnProperty.call(Object(e),r)},configurable:true,enumerable:false,writable:true})}function*createCycleGenerator(e){while(e.length){for(const r of e){yield r}}}function createChatActionsController(e){const r=new Map;const getSendingId=(e,r)=>typeof r==="undefined"?e.toString():`${e}:${r}`;return{startSending(n,s,i,o){const c=createCycleGenerator(s);const sendChatAction=async()=>{const r=c.next().value;try{await e.sendChatAction(n,r,{...typeof i!=="undefined"?{message_thread_id:i}:{}},o)}catch{this.stopSending(n)}};const u=getSendingId(n,i);if(r.has(u)){this.stopSending(n,i)}r.set(u,setInterval(sendChatAction,5e3));sendChatAction()},stopSending(e,n){const s=getSendingId(e,n);clearInterval(r.get(s));r.delete(s)}}}const extractors={sendPhoto(e){return e.photo instanceof mod.InputFile?["upload_photo"]:[]},sendAudio(e){return e.audio instanceof mod.InputFile||e.thumbnail instanceof mod.InputFile?["upload_document"]:[]},sendDocument(e){return e.document instanceof mod.InputFile||e.thumbnail instanceof mod.InputFile?["upload_document"]:[]},sendVideo(e){return e.video instanceof mod.InputFile||e.thumbnail instanceof mod.InputFile?["upload_video"]:[]},sendAnimation(e){return e.animation instanceof mod.InputFile||e.thumbnail instanceof mod.InputFile?["upload_video"]:[]},sendVoice(e){return e.voice instanceof mod.InputFile?["upload_voice"]:[]},sendVideoNote(e){return e.video_note instanceof mod.InputFile||e.thumbnail instanceof mod.InputFile?["upload_video_note"]:[]},sendSticker(e){return e.sticker instanceof mod.InputFile?["choose_sticker"]:[]},sendMediaGroup(e){return e.media.map((e=>{if(e.type==="audio"){return"upload_document"}if(e.type==="document"){return"upload_document"}if(e.type==="photo"){return"upload_photo"}if(e.type==="video"){return"upload_video"}})).filter((e=>e))}};function getChatActionsForRequest(e,r){if(!(e in extractors)){return[false,[]]}const n=extractors[e](r);return[n.length>0,n]}function autoChatAction(e){return async(r,n)=>{const s=Object.hasOwn(r,"chatAction");if(s){return n()}const i=createChatActionsController(e??r.api);r.api.config.use((async(e,r,n,s)=>{if(!("chat_id"in n)||typeof n.chat_id==="undefined"){return e(r,n,s)}const[c,u]=getChatActionsForRequest(r,n);if(!c){return e(r,n,s)}const d="message_thread_id"in n?n.message_thread_id:undefined;i.startSending(n.chat_id,u,d,s);try{return await e(r,n,s)}finally{i.stopSending(n.chat_id,d);o=null}}));let o=null;Object.defineProperty(r,"chatAction",{get(){return o},set(e){if(typeof r.chat?.id==="undefined"){return}o=e;if(typeof o!=="string"){i.stopSending(r.chat.id,r.msg?.message_thread_id)}else{i.startSending(r.chat.id,[o],r.msg?.message_thread_id)}}});try{await n()}finally{if(typeof r.chat?.id==="number"){i.stopSending(r.chat.id,r.msg?.message_thread_id)}}}}function chatAction(e){return(r,n)=>{const s=Object.hasOwn(r,"chatAction")===false;if(s){throw new Error("Please first install the auto-chat-action plugin to set a chat action.")}r.chatAction=e;return n()}}var out_mod=__nccwpck_require__(2466);var dist_mod=__nccwpck_require__(36400);async function createContextConstructor({logger:e,config:r,octokit:n}){let s;try{s=createAdapters(await PluginContext.getInstance().getContext())}catch(r){e.error("createAdapters in Grammy Context failed",{er:r})}if(!s){throw new Error("Adapters not initialized")}return class extends mod.Context{logger;octokit=n;config;adapters;constructor(n,i,o){super(n,i,o);this.logger=e;this.config=r;if(!s){throw new Error("Adapters not initialized")}this.adapters=s}}}function getUpdateInfo(e){const{update_id:r,...n}=e.update;return n}function logHandle(e){return(r,n)=>{r.logger.info("Handling update",{msg:`Handle "${e}"`,...e.startsWith("unhandled")?{update:getUpdateInfo(r)}:{}});return n()}}function errorHandler(){return e=>{const{ctx:r}=e;r.logger.error("Request failed",{err:e,update:getUpdateInfo(r)})}}function isPrivateChat(e){return e.hasChatType("private")}function isBasicGroup(e){return e.hasChatType("group")}function isSupergroup(e){return e.hasChatType("supergroup")}function isGroupChat(e){return isBasicGroup(e)||isSupergroup(e)}function isChannel(e){return e.hasChatType("channel")}function isChat(e){return typeof e.chat!=="undefined"}function isChatHasId(...e){return r=>isChat(r)&&e.includes(r.chat.id)}function isChatHasUsername(...e){e=e.map(normalizeUsername);return r=>isChat(r)&&isChatWithUsername(r.chat)&&typeof r.chat.username==="string"&&e.includes(normalizeUsername(r.chat.username))}function isUser(e){return e.from?.is_bot===false}function isUserHasId(...e){return r=>isUser(r)&&e.includes(r.from.id)}function isUserHasUsername(...e){e=e.map(normalizeUsername);return r=>isUser(r)&&typeof r.from.username==="string"&&e.includes(normalizeUsername(r.from.username))}function isBot(e){return e.from?.is_bot===true}function isBotHasId(...e){return r=>isBot(r)&&e.includes(r.from.id)}function isBotHasUsername(...e){e=e.map(normalizeUsername);return r=>isBot(r)&&typeof r.from.username==="string"&&e.includes(normalizeUsername(r.from.username))}function isSenderChat(e){return typeof e.senderChat!=="undefined"}function isSenderChatHasId(...e){return r=>isSenderChat(r)&&e.includes(r.senderChat.id)}function isSenderChatHasUsername(...e){e=e.map(normalizeUsername);return r=>isSenderChat(r)&&isChatWithUsername(r.senderChat)&&typeof r.senderChat.username==="string"&&e.includes(normalizeUsername(r.senderChat.username))}function isChatMemberStatus(e){return r=>r.chatMember?.new_chat_member.status===e}function isMyChatMemberStatus(e){return r=>r.myChatMember?.new_chat_member.status===e}function isUserFromReply(e){return e.msg?.from?.id===e.msg?.reply_to_message?.from?.id}async function isAdmin(e){if(e.from?.username==="GroupAnonymousBot"){return true}if(e.chat&&["channel","private"].includes(e.chat.type)){return true}if(e.from){const r=await e.getChatMember(e.from?.id);if(["creator","administrator"].includes(r.status)){return true}}return false}const isPrivate=null&&isPrivateChat;const isGroup=null&&isGroupChat;const isUserId=null&&isUserHasId;const isChatId=null&&isChatHasId;const isSenderChatId=null&&isSenderChatHasId;var callback_data_dist_mod=__nccwpck_require__(24783);class CallbackDataRegistry{constructor(){Object.defineProperty(this,"registry",{enumerable:true,configurable:true,writable:true,value:void 0});this.registry=new Map}add(e,r){if(this.registry.has(e)){throw new Error(`Callback data with ID "${e}" already exists`)}this.registry.set(e,createCallbackData(e,r));return this}create(e,r){if(!this.registry.has(e.toString())){throw new Error(`Callback data with ID "${e.toString()}" does not exist`)}return this.registry.get(e.toString()).pack(r)}parse(e,r){if(!this.registry.has(e.toString())){throw new Error(`Callback data with ID "${e.toString()}" does not exist`)}return this.registry.get(e.toString()).unpack(r)}regex(e,r){if(!this.registry.has(e.toString())){throw new Error(`Callback data with ID "${e.toString()}" does not exist`)}return this.registry.get(e.toString()).filter(r)}filter(e,r){if(!this.registry.has(e.toString())){throw new Error(`Callback data with ID "${e.toString()}" does not exist`)}return n=>{if(n.hasCallbackQuery(this.regex(e,r))){n.callbackData=this.registry.get(e.toString()).unpack(n.callbackQuery.data);return true}return false}}}function createCallbackDataRegistry(){return new CallbackDataRegistry}function is_admin_isAdmin(e){return isUserHasId(...e)}const BOT_COMMANDS=[{command:"start",description:"View the welcome message",type:"all_private_chats"},{command:"register",description:"Pair your GitHub account",type:"all_private_chats"},{command:"subscribe",description:"Subscribe to notifications",type:"all_private_chats"},{command:"unsubscribe",description:"Unsubscribe from selected notifications",type:"all_private_chats"},{command:"wallet",description:"Register your wallet address",type:"all_private_chats"},{command:"myid",description:"Get your user ID",type:"all_private_chats"},{command:"botid",description:"Get the bot's ID",type:"all_private_chats"},{command:"chatid",description:"Get the chat ID",type:"all_private_chats"},{command:"ban",description:"Ban a user",type:"all_group_chats",isAdmin:true},{command:"setcommands",description:"Set the bot's commands",type:"chat",isAdmin:true},{command:"setwebhook",description:"Set the webhook URL",type:"chat",isAdmin:true}];function getPrivateChatCommands(){return[{command:"botid",description:"Get the bot's ID"},{command:"myid",description:"Get your user ID"},{command:"register",description:"Pair your GitHub account"},{command:"subscribe",description:"Subscribe to notifications"},{command:"unsubscribe",description:"Unsubscribe from selected notifications"},{command:"wallet",description:"Register your wallet address"}]}function getPrivateChatAdminCommands(){return[{command:"setcommands",description:"Set the bot's commands"},{command:"setwebhook",description:"Set the webhook URL"}]}function getGroupChatCommands(){return[{command:"ban",description:"Ban a user"}]}async function setCommandsHandler(e){const r={private_chat:false,group_chat:false,owner:false};try{await e.api.setMyCommands([...getPrivateChatCommands()],{scope:{type:"all_private_chats"}});r.private_chat=true}catch(e){logger_logger.error("Error setting private chat commands",{err:e})}try{await e.api.setMyCommands(getGroupChatCommands(),{scope:{type:"all_group_chats"}});r.group_chat=true}catch(e){logger_logger.error("Error setting group chat commands",{err:e})}try{await e.api.setMyCommands([...getPrivateChatCommands(),...getPrivateChatAdminCommands()],{scope:{type:"chat",chat_id:e.from?.id??e.chat?.id}});r.owner=true}catch(e){logger_logger.error("Error setting private chat commands for owner",{er:e})}const n=[`Commands updated:`,`Private chat commands: ${r.private_chat?"✅":"❌"}`,`Group chat commands: ${r.group_chat?"✅":"❌"}`,`Owner commands: ${r.owner?"✅":"❌"}`];return e.reply(n.join("\n"))}const composer=new mod.Composer;const feature=composer.chatType("private").filter((e=>is_admin_isAdmin(e.config.TELEGRAM_BOT_ENV.botSettings.TELEGRAM_BOT_ADMINS)(e)));feature.command("setcommands",logHandle("command-setcommands"),chatAction("typing"),setCommandsHandler);const set_webhook_composer=new mod.Composer;const set_webhook_feature=set_webhook_composer.chatType("private").filter((e=>is_admin_isAdmin(e.config.TELEGRAM_BOT_ENV.botSettings.TELEGRAM_BOT_ADMINS)(e)));set_webhook_feature.command("setwebhook",logHandle("command-setwebhook"),chatAction("typing"),(async e=>{const r=e.message?.text?.split(" ")[1];if(!r){return e.reply("Please provide a webhook URL.")}try{await e.api.setWebhook(r);return e.reply("Webhook URL has been set.")}catch(r){return e.reply(`Failed to set webhook URL. \n\n${JSON.stringify(r)}`)}}));const user_id_composer=new mod.Composer;const user_id_feature=user_id_composer.chatType("private");user_id_feature.command("myid",logHandle("command-myId"),chatAction("typing"),(async e=>e.reply(`Your ID is ${e.from.id}`)));const chat_id_composer=new mod.Composer;const chat_id_feature=chat_id_composer.chatType(["group","private"]);chat_id_feature.command("chatid",logHandle("command-chatId"),chatAction("typing"),(async e=>e.reply(`This chat ID is ${e.chat.id}`)));const bot_id_composer=new mod.Composer;const bot_id_feature=bot_id_composer.chatType("private");bot_id_feature.command("botid",logHandle("command-botid"),chatAction("typing"),(async e=>{await e.reply(`My ID is ${e.me.id}`)}));const register_composer=new mod.Composer;const register_feature=register_composer.chatType("private");register_feature.command("register",logHandle("command-register"),chatAction("typing"),(async e=>{const r=[];try{const n=e.from?.id;const s=e.message?.text?.split(" ")[1];if(!s){await e.reply("Please provide your GitHub username like this: /register username");return}const i=await e.octokit.rest.users.getByUsername({username:s});if(i.status!==200){await e.reply("User not found.");return}const o=i.data.id;if(i.data.login){r.push(`Login: ${i.data.login}`)}if(i.data.name){r.push(`Name: ${i.data.name}`)}if(i.data.email){r.push(`Email: ${i.data.email}`)}if(i.data.bio){r.push(`Bio: ${i.data.bio}`)}await e.adapters.storage.handleUserBaseStorage({additional_user_listeners:[],github_id:o,wallet_address:null,telegram_id:n,github_username:s,listening_to:{disqualification:false,payment:false,reminder:false,review:false}},"create")}catch(r){if(r instanceof Error){await e.reply(e.logger.error(`${r.message}`,{er:r}).logMessage.raw);return}await e.reply("An error occurred while trying to register your account.");return}const n=["`/wallet` - Set your wallet address","`/subscribe` - Subscribe to notifications","`/unsubscribe` - Unsubscribe from notifications"];await e.reply(`Successfully paired your GitHub account.\n\n${r.join("\n")}\n\nYou can now use the following commands:\n\n${n.join("\n")}`)}));const notifyTriggers={payment:"issue_comment.created",reminder:"issue_comment.created",disqualification:"issues.unassigned",review:"pull_request.review_requested"};const notify_subscribe_composer=new mod.Composer;const notify_subscribe_feature=notify_subscribe_composer.chatType("private");notify_subscribe_feature.command("subscribe",logHandle("command-notifySubscribe"),chatAction("typing"),(async e=>{try{const r=await e.adapters.storage.retrieveUserByTelegramId(e.from?.id);if(!r){await e.reply("You are not registered. Please register first.");return}await e.reply("Please select a trigger to subscribe to:",{parse_mode:"HTML",reply_markup:{inline_keyboard:[Object.keys(notifyTriggers).map(((e,r)=>({text:e,callback_data:`notifySubscribe:${r}`})))]}})}catch(r){await e.reply(`An error occurred while updating your subscription.\n\n${JSON.stringify(r)}`)}}));notify_subscribe_feature.callbackQuery(/^notifySubscribe:(\d+)/,logHandle("callback-notifySubscribe"),(async e=>{try{const r=await e.adapters.storage.retrieveUserByTelegramId(e.from?.id);if(!r){await e.reply("You are not registered. Please register first.");return}const n=e.match[1];const s=Object.keys(notifyTriggers).find(((e,r)=>r===parseInt(n)));if(!s){await e.reply("Invalid trigger selected.");return}if(r.listening_to[s]){await e.reply(`You are already subscribed to the ${s} trigger.`);return}r.listening_to[s]=true;await e.adapters.storage.handleUserBaseStorage(r,"update");await e.reply(`You have subscribed to the ${s} trigger.`)}catch(r){await e.reply(`An error occurred while updating your subscription.\n\n${JSON.stringify(r)}`)}}));notify_subscribe_feature.command("unsubscribe",logHandle("command-notifyUnsubscribe"),chatAction("typing"),(async e=>{const r=await e.adapters.storage.retrieveUserByTelegramId(e.from?.id);if(!r){await e.reply("You are not registered. Please register first.");return}await e.reply("Please select a trigger to unsubscribe from:",{parse_mode:"HTML",reply_markup:{inline_keyboard:[Object.keys(r.listening_to).map(((e,r)=>({text:e,callback_data:`notifyUnsubscribe:${r}`})))]}})}));notify_subscribe_feature.callbackQuery(/^notifyUnsubscribe:(\d+)/,logHandle("callback-notifyUnsubscribe"),(async e=>{const r=await e.adapters.storage.retrieveUserByTelegramId(e.from?.id);if(!r){await e.reply("You are not registered. Please register first.");return}const n=e.match[1];const s=Object.keys(r.listening_to).find(((e,r)=>r===parseInt(n)));if(!s){await e.reply("You are not subscribed to this trigger.");return}try{r.listening_to[s]=false;await e.adapters.storage.handleUserBaseStorage(r,"update");await e.reply(`You have unsubscribed from the ${s} trigger.`)}catch{await e.reply("An error occurred while updating your subscription.")}}));const wallet_composer=new mod.Composer;const wallet_feature=wallet_composer.chatType("private");wallet_feature.command("wallet",logHandle("command-wallet"),chatAction("typing"),(async e=>{const r=e.from?.id;const n=e.message?.text?.split(" ")[1];try{if(!n||n.trim().length!==42){await e.reply("Please provide a valid wallet address like this: /wallet 0x...");return}const s=await e.adapters.storage.retrieveUserByTelegramId(r);if(!s){await e.reply("You are not registered. Please register first.");return}await e.adapters.storage.handleUserBaseStorage({...s,wallet_address:n},"update")}catch(s){if(s instanceof Error){await e.reply(e.logger.error(`${s.message}`,{er:s,userId:r,walletAddress:n}).logMessage.raw);return}await e.reply("An error occurred while trying to register your wallet.");return}await e.reply(`Your wallet address has been successfully registered.`)}));const ban_composer=new mod.Composer;const ban_feature=ban_composer.chatType("group");ban_feature.command("ban",logHandle("command-ban"),chatAction("typing"),(async e=>{const{message:r}=e;if(!r.reply_to_message){return e.reply("You must reply to a user's message to kick them.")}const n=r.reply_to_message.from;if(!n){return e.reply("I can't find the user you want to kick.")}if(n.id===e.me.id){return e.reply("I can't kick myself.")}await e.banChatMember(n.id)}));const start_command_composer=new mod.Composer;const start_command_feature=start_command_composer.chatType("private");const commands=BOT_COMMANDS.filter((e=>e.type==="all_private_chats"));const commandList=commands.map((e=>`\`/${e.command}\` - ${e.description}`)).join("\n");const welcomeParts=["👋 Hello! I am the Ubiquity OS Beta Bot. I'm still in development, so thanks for your patience!","","Here are some things you can do right now:","1. 🔗 Pair your GitHub account with your Telegram account.","2. 🔔 Subscribe to notifications for specific triggers.","3. 💼 Set your wallet address.","4. 🚀 More features coming soon!","","Here are the commands you can use:",commandList];start_command_feature.command("start",logHandle("command-start"),(e=>e.reply(`${welcomeParts.join("\n")}`,{parse_mode:"HTML"})));const STRINGS={WELCOME:"Welcome! I'm a bot that can help you with your daily tasks. You can use the /help command to see what I can do.",LOG_HANDLE:"Handling update",UNHANDLED:"I'm sorry, I don't understand that command."};const unhandled_composer=new mod.Composer;const unhandled_feature=unhandled_composer.chatType("private");unhandled_feature.on("message",logHandle("unhandled-message"),(e=>e.reply(STRINGS.UNHANDLED)));unhandled_feature.on("callback_query",logHandle("unhandled-callback-query"),(e=>e.answerCallbackQuery()));function session(e){return(0,mod.session)({getSessionKey:e.getSessionKey,storage:e.storage,initial:()=>({})})}function getSessionKey(e){return e.chat?.id.toString()}async function createBot(e,r,n={}){const{logger:s}=r;const i=new mod.Bot(e,{...n.botConfig,ContextConstructor:await createContextConstructor(r)});i.catch(errorHandler);i.api.config.use((0,dist_mod.parseMode)("HTML"));i.use((0,out_mod.hydrate)());i.use(dist_mod.hydrateReply);i.use(autoChatAction());i.use(session({getSessionKey:getSessionKey,storage:n.botSessionStorage}));s.info("Initializing middlewares and features...");i.use(start_command_composer);i.use(composer);i.use(set_webhook_composer);i.use(user_id_composer);i.use(chat_id_composer);i.use(bot_id_composer);i.use(register_composer);i.use(notify_subscribe_composer);i.use(wallet_composer);i.use(ban_composer);i.use(unhandled_composer);s.info("Bot is initialized and ready to handle updates.");return i}var parseBody=async(e,r=Object.create(null))=>{const{all:n=false,dot:s=false}=r;const i=e instanceof HonoRequest?e.raw.headers:e.headers;const o=i.get("Content-Type");if(o!==null&&o.startsWith("multipart/form-data")||o!==null&&o.startsWith("application/x-www-form-urlencoded")){return parseFormData(e,{all:n,dot:s})}return{}};async function parseFormData(e,r){const n=await e.formData();if(n){return convertFormDataToBodyData(n,r)}return{}}function convertFormDataToBodyData(e,r){const n=Object.create(null);e.forEach(((e,s)=>{const i=r.all||s.endsWith("[]");if(!i){n[s]=e}else{handleParsingAllValues(n,s,e)}}));if(r.dot){Object.entries(n).forEach((([e,r])=>{const s=e.includes(".");if(s){handleParsingNestedValues(n,e,r);delete n[e]}}))}return n}var handleParsingAllValues=(e,r,n)=>{if(e[r]!==void 0){if(Array.isArray(e[r])){e[r].push(n)}else{e[r]=[e[r],n]}}else{e[r]=n}};var handleParsingNestedValues=(e,r,n)=>{let s=e;const i=r.split(".");i.forEach(((e,r)=>{if(r===i.length-1){s[e]=n}else{if(!s[e]||typeof s[e]!=="object"||Array.isArray(s[e])||s[e]instanceof File){s[e]=Object.create(null)}s=s[e]}}))};var splitPath=e=>{const r=e.split("/");if(r[0]===""){r.shift()}return r};var splitRoutingPath=e=>{const{groups:r,path:n}=extractGroupsFromPath(e);const s=splitPath(n);return replaceGroupMarks(s,r)};var extractGroupsFromPath=e=>{const r=[];e=e.replace(/\{[^}]+\}/g,((e,n)=>{const s=`@${n}`;r.push([s,e]);return s}));return{groups:r,path:e}};var replaceGroupMarks=(e,r)=>{for(let n=r.length-1;n>=0;n--){const[s]=r[n];for(let i=e.length-1;i>=0;i--){if(e[i].includes(s)){e[i]=e[i].replace(s,r[n][1]);break}}}return e};var patternCache={};var getPattern=e=>{if(e==="*"){return"*"}const r=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(r){if(!patternCache[e]){if(r[2]){patternCache[e]=[e,r[1],new RegExp("^"+r[2]+"$")]}else{patternCache[e]=[e,r[1],true]}}return patternCache[e]}return null};var tryDecodeURI=e=>{try{return decodeURI(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(e=>{try{return decodeURI(e)}catch{return e}}))}};var getPath=e=>{const r=e.url;const n=r.indexOf("/",8);let s=n;for(;s{const r=e.indexOf("?",8);return r===-1?"":"?"+e.slice(r+1)};var getPathNoStrict=e=>{const r=getPath(e);return r.length>1&&r[r.length-1]==="/"?r.slice(0,-1):r};var mergePath=(...e)=>{let r="";let n=false;for(let s of e){if(r[r.length-1]==="/"){r=r.slice(0,-1);n=true}if(s[0]!=="/"){s=`/${s}`}if(s==="/"&&n){r=`${r}/`}else if(s!=="/"){r=`${r}${s}`}if(s==="/"&&r===""){r="/"}}return r};var checkOptionalParameter=e=>{if(!e.match(/\:.+\?$/)){return null}const r=e.split("/");const n=[];let s="";r.forEach((e=>{if(e!==""&&!/\:/.test(e)){s+="/"+e}else if(/\:/.test(e)){if(/\?/.test(e)){if(n.length===0&&s===""){n.push("/")}else{n.push(s)}const r=e.replace("?","");s+="/"+r;n.push(s)}else{s+="/"+e}}}));return n.filter(((e,r,n)=>n.indexOf(e)===r))};var _decodeURI=e=>{if(!/[%+]/.test(e)){return e}if(e.indexOf("+")!==-1){e=e.replace(/\+/g," ")}return/%/.test(e)?decodeURIComponent_(e):e};var _getQueryParam=(e,r,n)=>{let s;if(!n&&r&&!/[%+]/.test(r)){let n=e.indexOf(`?${r}`,8);if(n===-1){n=e.indexOf(`&${r}`,8)}while(n!==-1){const s=e.charCodeAt(n+r.length+1);if(s===61){const s=n+r.length+2;const i=e.indexOf("&",s);return _decodeURI(e.slice(s,i===-1?void 0:i))}else if(s==38||isNaN(s)){return""}n=e.indexOf(`&${r}`,n+1)}s=/[%+]/.test(e);if(!s){return void 0}}const i={};s??=/[%+]/.test(e);let o=e.indexOf("?",8);while(o!==-1){const r=e.indexOf("&",o+1);let c=e.indexOf("=",o);if(c>r&&r!==-1){c=-1}let u=e.slice(o+1,c===-1?r===-1?void 0:r:c);if(s){u=_decodeURI(u)}o=r;if(u===""){continue}let d;if(c===-1){d=""}else{d=e.slice(c+1,r===-1?void 0:r);if(s){d=_decodeURI(d)}}if(n){if(!(i[u]&&Array.isArray(i[u]))){i[u]=[]}i[u].push(d)}else{i[u]??=d}}return r?i[r]:i};var getQueryParam=_getQueryParam;var getQueryParams=(e,r)=>_getQueryParam(e,r,true);var decodeURIComponent_=decodeURIComponent;var HonoRequest=class{raw;#ie;#oe;routeIndex=0;path;bodyCache={};constructor(e,r="/",n=[[]]){this.raw=e;this.path=r;this.#oe=n;this.#ie={}}param(e){return e?this.getDecodedParam(e):this.getAllDecodedParams()}getDecodedParam(e){const r=this.#oe[0][this.routeIndex][1][e];const n=this.getParamValue(r);return n?/\%/.test(n)?decodeURIComponent_(n):n:void 0}getAllDecodedParams(){const e={};const r=Object.keys(this.#oe[0][this.routeIndex][1]);for(const n of r){const r=this.getParamValue(this.#oe[0][this.routeIndex][1][n]);if(r&&typeof r==="string"){e[n]=/\%/.test(r)?decodeURIComponent_(r):r}}return e}getParamValue(e){return this.#oe[1]?this.#oe[1][e]:e}query(e){return getQueryParam(this.url,e)}queries(e){return getQueryParams(this.url,e)}header(e){if(e){return this.raw.headers.get(e.toLowerCase())??void 0}const r={};this.raw.headers.forEach(((e,n)=>{r[n]=e}));return r}async parseBody(e){return this.bodyCache.parsedBody??=await parseBody(this,e)}cachedBody=e=>{const{bodyCache:r,raw:n}=this;const s=r[e];if(s){return s}const i=Object.keys(r)[0];if(i){return r[i].then((r=>{if(i==="json"){r=JSON.stringify(r)}return new Response(r)[e]()}))}return r[e]=n[e]()};json(){return this.cachedBody("json")}text(){return this.cachedBody("text")}arrayBuffer(){return this.cachedBody("arrayBuffer")}blob(){return this.cachedBody("blob")}formData(){return this.cachedBody("formData")}addValidatedData(e,r){this.#ie[e]=r}valid(e){return this.#ie[e]}get url(){return this.raw.url}get method(){return this.raw.method}get matchedRoutes(){return this.#oe[0].map((([[,e]])=>e))}get routePath(){return this.#oe[0].map((([[,e]])=>e))[this.routeIndex].path}};var HtmlEscapedCallbackPhase={Stringify:1,BeforeStream:2,Stream:3};var raw=(e,r)=>{const n=new String(e);n.isEscaped=true;n.callbacks=r;return n};var escapeRe=/[&<>'"]/;var stringBufferToString=async(e,r)=>{let n="";r||=[];const s=await Promise.all(e);for(let e=s.length-1;;e--){n+=s[e];e--;if(e<0){break}let i=s[e];if(typeof i==="object"){r.push(...i.callbacks||[])}const o=i.isEscaped;i=await(typeof i==="object"?i.toString():i);if(typeof i==="object"){r.push(...i.callbacks||[])}if(i.isEscaped??o){n+=i}else{const e=[n];escapeToBuffer(i,e);n=e[0]}}return raw(n,r)};var escapeToBuffer=(e,r)=>{const n=e.search(escapeRe);if(n===-1){r[0]+=e;return}let s;let i;let o=0;for(i=n;i{const r=e.callbacks;if(!r?.length){return e}const n=[e];const s={};r.forEach((e=>e({phase:HtmlEscapedCallbackPhase.Stringify,buffer:n,context:s})));return n[0]};var resolveCallback=async(e,r,n,s,i)=>{const o=e.callbacks;if(!o?.length){return Promise.resolve(e)}if(i){i[0]+=e}else{i=[e]}const c=Promise.all(o.map((e=>e({phase:r,buffer:i,context:s})))).then((e=>Promise.all(e.filter(Boolean).map((e=>resolveCallback(e,r,false,s,i)))).then((()=>i[0]))));if(n){return raw(await c,o)}else{return c}};var TEXT_PLAIN="text/plain; charset=UTF-8";var setHeaders=(e,r={})=>{Object.entries(r).forEach((([r,n])=>e.set(r,n)));return e};var Context=class{#ae;#ce;env={};#le;finalized=false;error;#ue=200;#de;#pe;#fe;#Ae;#he=true;#ge;#me;#ye;#oe;#Ee;constructor(e,r){this.#ae=e;if(r){this.#de=r.executionCtx;this.env=r.env;this.#ye=r.notFoundHandler;this.#Ee=r.path;this.#oe=r.matchResult}}get req(){this.#ce??=new HonoRequest(this.#ae,this.#Ee,this.#oe);return this.#ce}get event(){if(this.#de&&"respondWith"in this.#de){return this.#de}else{throw Error("This context has no FetchEvent")}}get executionCtx(){if(this.#de){return this.#de}else{throw Error("This context has no ExecutionContext")}}get res(){this.#he=false;return this.#Ae||=new Response("404 Not Found",{status:404})}set res(e){this.#he=false;if(this.#Ae&&e){this.#Ae.headers.delete("content-type");for(const[r,n]of this.#Ae.headers.entries()){if(r==="set-cookie"){const r=this.#Ae.headers.getSetCookie();e.headers.delete("set-cookie");for(const n of r){e.headers.append("set-cookie",n)}}else{e.headers.set(r,n)}}}this.#Ae=e;this.finalized=true}render=(...e)=>{this.#me??=e=>this.html(e);return this.#me(...e)};setLayout=e=>this.#ge=e;getLayout=()=>this.#ge;setRenderer=e=>{this.#me=e};header=(e,r,n)=>{if(r===void 0){if(this.#pe){this.#pe.delete(e)}else if(this.#fe){delete this.#fe[e.toLocaleLowerCase()]}if(this.finalized){this.res.headers.delete(e)}return}if(n?.append){if(!this.#pe){this.#he=false;this.#pe=new Headers(this.#fe);this.#fe={}}this.#pe.append(e,r)}else{if(this.#pe){this.#pe.set(e,r)}else{this.#fe??={};this.#fe[e.toLowerCase()]=r}}if(this.finalized){if(n?.append){this.res.headers.append(e,r)}else{this.res.headers.set(e,r)}}};status=e=>{this.#he=false;this.#ue=e};set=(e,r)=>{this.#le??=new Map;this.#le.set(e,r)};get=e=>this.#le?this.#le.get(e):void 0;get var(){if(!this.#le){return{}}return Object.fromEntries(this.#le)}newResponse=(e,r,n)=>{if(this.#he&&!n&&!r&&this.#ue===200){return new Response(e,{headers:this.#fe})}if(r&&typeof r!=="number"){const n=new Headers(r.headers);if(this.#pe){this.#pe.forEach(((e,r)=>{if(r==="set-cookie"){n.append(r,e)}else{n.set(r,e)}}))}const s=setHeaders(n,this.#fe);return new Response(e,{headers:s,status:r.status??this.#ue})}const s=typeof r==="number"?r:this.#ue;this.#fe??={};this.#pe??=new Headers;setHeaders(this.#pe,this.#fe);if(this.#Ae){this.#Ae.headers.forEach(((e,r)=>{if(r==="set-cookie"){this.#pe?.append(r,e)}else{this.#pe?.set(r,e)}}));setHeaders(this.#pe,this.#fe)}n??={};for(const[e,r]of Object.entries(n)){if(typeof r==="string"){this.#pe.set(e,r)}else{this.#pe.delete(e);for(const n of r){this.#pe.append(e,n)}}}return new Response(e,{status:s,headers:this.#pe})};body=(e,r,n)=>typeof r==="number"?this.newResponse(e,r,n):this.newResponse(e,r);text=(e,r,n)=>{if(!this.#fe){if(this.#he&&!n&&!r){return new Response(e)}this.#fe={}}this.#fe["content-type"]=TEXT_PLAIN;return typeof r==="number"?this.newResponse(e,r,n):this.newResponse(e,r)};json=(e,r,n)=>{const s=JSON.stringify(e);this.#fe??={};this.#fe["content-type"]="application/json; charset=UTF-8";return typeof r==="number"?this.newResponse(s,r,n):this.newResponse(s,r)};html=(e,r,n)=>{this.#fe??={};this.#fe["content-type"]="text/html; charset=UTF-8";if(typeof e==="object"){if(!(e instanceof Promise)){e=e.toString()}if(e instanceof Promise){return e.then((e=>resolveCallback(e,HtmlEscapedCallbackPhase.Stringify,false,{}))).then((e=>typeof r==="number"?this.newResponse(e,r,n):this.newResponse(e,r)))}}return typeof r==="number"?this.newResponse(e,r,n):this.newResponse(e,r)};redirect=(e,r)=>{this.#pe??=new Headers;this.#pe.set("Location",e);return this.newResponse(null,r??302)};notFound=()=>{this.#ye??=()=>new Response;return this.#ye(this)}};var compose=(e,r,n)=>(s,i)=>{let o=-1;return dispatch(0);async function dispatch(c){if(c<=o){throw new Error("next() called multiple times")}o=c;let u;let d=false;let A;if(e[c]){A=e[c][0][0];if(s instanceof Context){s.req.routeIndex=c}}else{A=c===e.length&&i||void 0}if(!A){if(s instanceof Context&&s.finalized===false&&n){u=await n(s)}}else{try{u=await A(s,(()=>dispatch(c+1)))}catch(e){if(e instanceof Error&&s instanceof Context&&r){s.error=e;u=await r(e,s);d=true}else{throw e}}}if(u&&(s.finalized===false||d)){s.res=u}return s}};var METHOD_NAME_ALL="ALL";var METHOD_NAME_ALL_LOWERCASE="all";var METHODS=["get","post","put","delete","options","patch"];var MESSAGE_MATCHER_IS_ALREADY_BUILT="Can not add a route since the matcher is already built.";var UnsupportedPathError=class extends Error{};var COMPOSED_HANDLER=Symbol("composedHandler");var notFoundHandler=e=>e.text("404 Not Found",404);var hono_base_errorHandler=(e,r)=>{if("getResponse"in e){return e.getResponse()}console.error(e);return r.text("Internal Server Error",500)};var Hono=class{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#Ee="/";routes=[];constructor(e={}){const r=[...METHODS,METHOD_NAME_ALL_LOWERCASE];r.forEach((e=>{this[e]=(r,...n)=>{if(typeof r==="string"){this.#Ee=r}else{this.addRoute(e,this.#Ee,r)}n.forEach((r=>{if(typeof r!=="string"){this.addRoute(e,this.#Ee,r)}}));return this}}));this.on=(e,r,...n)=>{for(const s of[r].flat()){this.#Ee=s;for(const r of[e].flat()){n.map((e=>{this.addRoute(r.toUpperCase(),this.#Ee,e)}))}}return this};this.use=(e,...r)=>{if(typeof e==="string"){this.#Ee=e}else{this.#Ee="*";r.unshift(e)}r.forEach((e=>{this.addRoute(METHOD_NAME_ALL,this.#Ee,e)}));return this};const n=e.strict??true;delete e.strict;Object.assign(this,e);this.getPath=n?e.getPath??getPath:getPathNoStrict}clone(){const e=new Hono({router:this.router,getPath:this.getPath});e.routes=this.routes;return e}notFoundHandler=notFoundHandler;errorHandler=hono_base_errorHandler;route(e,r){const n=this.basePath(e);r.routes.map((e=>{let s;if(r.errorHandler===hono_base_errorHandler){s=e.handler}else{s=async(n,s)=>(await compose([],r.errorHandler)(n,(()=>e.handler(n,s)))).res;s[COMPOSED_HANDLER]=e.handler}n.addRoute(e.method,e.path,s)}));return this}basePath(e){const r=this.clone();r._basePath=mergePath(this._basePath,e);return r}onError=e=>{this.errorHandler=e;return this};notFound=e=>{this.notFoundHandler=e;return this};mount(e,r,n){let s;let i;if(n){if(typeof n==="function"){i=n}else{i=n.optionHandler;s=n.replaceRequest}}const o=i?e=>{const r=i(e);return Array.isArray(r)?r:[r]}:e=>{let r=void 0;try{r=e.executionCtx}catch{}return[e.env,r]};s||=(()=>{const r=mergePath(this._basePath,e);const n=r==="/"?0:r.length;return e=>{const r=new URL(e.url);r.pathname=r.pathname.slice(n)||"/";return new Request(r,e)}})();const handler=async(e,n)=>{const i=await r(s(e.req.raw),...o(e));if(i){return i}await n()};this.addRoute(METHOD_NAME_ALL,mergePath(e,"*"),handler);return this}addRoute(e,r,n){e=e.toUpperCase();r=mergePath(this._basePath,r);const s={path:r,method:e,handler:n};this.router.add(e,r,[n,s]);this.routes.push(s)}matchRoute(e,r){return this.router.match(e,r)}handleError(e,r){if(e instanceof Error){return this.errorHandler(e,r)}throw e}dispatch(e,r,n,s){if(s==="HEAD"){return(async()=>new Response(null,await this.dispatch(e,r,n,"GET")))()}const i=this.getPath(e,{env:n});const o=this.matchRoute(s,i);const c=new Context(e,{path:i,matchResult:o,env:n,executionCtx:r,notFoundHandler:this.notFoundHandler});if(o[0].length===1){let e;try{e=o[0][0][0][0](c,(async()=>{c.res=await this.notFoundHandler(c)}))}catch(e){return this.handleError(e,c)}return e instanceof Promise?e.then((e=>e||(c.finalized?c.res:this.notFoundHandler(c)))).catch((e=>this.handleError(e,c))):e??this.notFoundHandler(c)}const u=compose(o[0],this.errorHandler,this.notFoundHandler);return(async()=>{try{const e=await u(c);if(!e.finalized){throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?")}return e.res}catch(e){return this.handleError(e,c)}})()}fetch=(e,...r)=>this.dispatch(e,r[1],r[0],e.method);request=(e,r,n,s)=>{if(e instanceof Request){if(r!==void 0){e=new Request(e,r)}return this.fetch(e,n,s)}e=e.toString();const i=/^https?:\/\//.test(e)?e:`http://localhost${mergePath("/",e)}`;const o=new Request(i,r);return this.fetch(o,n,s)};fire=()=>{addEventListener("fetch",(e=>{e.respondWith(this.dispatch(e.request,e,void 0,e.request.method))}))}};var LABEL_REG_EXP_STR="[^/]+";var ONLY_WILDCARD_REG_EXP_STR=".*";var TAIL_WILDCARD_REG_EXP_STR="(?:|/.*)";var PATH_ERROR=Symbol();var regExpMetaChars=new Set(".\\+*[^]$()");function compareKey(e,r){if(e.length===1){return r.length===1?ee!==ONLY_WILDCARD_REG_EXP_STR&&e!==TAIL_WILDCARD_REG_EXP_STR))){throw PATH_ERROR}if(i){return}d=this.children[r]=new Node;if(e!==""){d.varIndex=s.varIndex++}}if(!i&&e!==""){n.push([e,d.varIndex])}}else{d=this.children[o];if(!d){if(Object.keys(this.children).some((e=>e.length>1&&e!==ONLY_WILDCARD_REG_EXP_STR&&e!==TAIL_WILDCARD_REG_EXP_STR))){throw PATH_ERROR}if(i){return}d=this.children[o]=new Node}}d.insert(c,r,n,s,i)}buildRegExpStr(){const e=Object.keys(this.children).sort(compareKey);const r=e.map((e=>{const r=this.children[e];return(typeof r.varIndex==="number"?`(${e})@${r.varIndex}`:regExpMetaChars.has(e)?`\\${e}`:e)+r.buildRegExpStr()}));if(typeof this.index==="number"){r.unshift(`#${this.index}`)}if(r.length===0){return""}if(r.length===1){return r[0]}return"(?:"+r.join("|")+")"}};var Trie=class{context={varIndex:0};root=new Node;insert(e,r,n){const s=[];const i=[];for(let r=0;;){let n=false;e=e.replace(/\{[^}]+\}/g,(e=>{const s=`@\\${r}`;i[r]=[s,e];r++;n=true;return s}));if(!n){break}}const o=e.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let e=i.length-1;e>=0;e--){const[r]=i[e];for(let n=o.length-1;n>=0;n--){if(o[n].indexOf(r)!==-1){o[n]=o[n].replace(r,i[e][1]);break}}}this.root.insert(o,r,s,this.context,n);return s}buildRegExp(){let e=this.root.buildRegExpStr();if(e===""){return[/^$/,[],[]]}let r=0;const n=[];const s=[];e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,((e,i,o)=>{if(typeof i!=="undefined"){n[++r]=Number(i);return"$()"}if(typeof o!=="undefined"){s[Number(o)]=++r;return""}return""}));return[new RegExp(`^${e}`),n,s]}};var emptyParam=[];var nullMatcher=[/^$/,[],Object.create(null)];var wildcardRegExpCache=Object.create(null);function buildWildcardRegExp(e){return wildcardRegExpCache[e]??=new RegExp(e==="*"?"":`^${e.replace(/\/\*$|([.\\+*[^\]$()])/g,((e,r)=>r?`\\${r}`:"(?:|/.*)"))}$`)}function clearWildcardRegExpCache(){wildcardRegExpCache=Object.create(null)}function buildMatcherFromPreprocessedRoutes(e){const r=new Trie;const n=[];if(e.length===0){return nullMatcher}const s=e.map((e=>[!/\*|\/:/.test(e[0]),...e])).sort((([e,r],[n,s])=>e?1:n?-1:r.length-s.length));const i=Object.create(null);for(let e=0,o=-1,c=s.length;e[e,Object.create(null)])),emptyParam]}else{o++}let A;try{A=r.insert(u,o,c)}catch(e){throw e===PATH_ERROR?new UnsupportedPathError(u):e}if(c){continue}n[o]=d.map((([e,r])=>{const n=Object.create(null);r-=1;for(;r>=0;r--){const[e,s]=A[r];n[e]=s}return[e,n]}))}const[o,c,u]=r.buildRegExp();for(let e=0,r=n.length;er.length-e.length))){if(buildWildcardRegExp(n).test(r)){return[...e[n]]}}return void 0}var RegExpRouter=class{name="RegExpRouter";middleware;routes;constructor(){this.middleware={[METHOD_NAME_ALL]:Object.create(null)};this.routes={[METHOD_NAME_ALL]:Object.create(null)}}add(e,r,n){const{middleware:s,routes:i}=this;if(!s||!i){throw new Error(MESSAGE_MATCHER_IS_ALREADY_BUILT)}if(!s[e]){[s,i].forEach((r=>{r[e]=Object.create(null);Object.keys(r[METHOD_NAME_ALL]).forEach((n=>{r[e][n]=[...r[METHOD_NAME_ALL][n]]}))}))}if(r==="/*"){r="*"}const o=(r.match(/\/:/g)||[]).length;if(/\*$/.test(r)){const c=buildWildcardRegExp(r);if(e===METHOD_NAME_ALL){Object.keys(s).forEach((e=>{s[e][r]||=findMiddleware(s[e],r)||findMiddleware(s[METHOD_NAME_ALL],r)||[]}))}else{s[e][r]||=findMiddleware(s[e],r)||findMiddleware(s[METHOD_NAME_ALL],r)||[]}Object.keys(s).forEach((r=>{if(e===METHOD_NAME_ALL||e===r){Object.keys(s[r]).forEach((e=>{c.test(e)&&s[r][e].push([n,o])}))}}));Object.keys(i).forEach((r=>{if(e===METHOD_NAME_ALL||e===r){Object.keys(i[r]).forEach((e=>c.test(e)&&i[r][e].push([n,o])))}}));return}const c=checkOptionalParameter(r)||[r];for(let r=0,u=c.length;r{if(e===METHOD_NAME_ALL||e===c){i[c][d]||=[...findMiddleware(s[c],d)||findMiddleware(s[METHOD_NAME_ALL],d)||[]];i[c][d].push([n,o-u+r+1])}}))}}match(e,r){clearWildcardRegExpCache();const n=this.buildAllMatchers();this.match=(e,r)=>{const s=n[e]||n[METHOD_NAME_ALL];const i=s[2][r];if(i){return i}const o=r.match(s[0]);if(!o){return[[],emptyParam]}const c=o.indexOf("",1);return[s[1][c],o]};return this.match(e,r)}buildAllMatchers(){const e=Object.create(null);[...Object.keys(this.routes),...Object.keys(this.middleware)].forEach((r=>{e[r]||=this.buildMatcher(r)}));this.middleware=this.routes=void 0;return e}buildMatcher(e){const r=[];let n=e===METHOD_NAME_ALL;[this.middleware,this.routes].forEach((s=>{const i=s[e]?Object.keys(s[e]).map((r=>[r,s[e][r]])):[];if(i.length!==0){n||=true;r.push(...i)}else if(e!==METHOD_NAME_ALL){r.push(...Object.keys(s[METHOD_NAME_ALL]).map((e=>[e,s[METHOD_NAME_ALL][e]])))}}));if(!n){return null}else{return buildMatcherFromPreprocessedRoutes(r)}}};var SmartRouter=class{name="SmartRouter";routers=[];routes=[];constructor(e){Object.assign(this,e)}add(e,r,n){if(!this.routes){throw new Error(MESSAGE_MATCHER_IS_ALREADY_BUILT)}this.routes.push([e,r,n])}match(e,r){if(!this.routes){throw new Error("Fatal error")}const{routers:n,routes:s}=this;const i=n.length;let o=0;let c;for(;o{i.add(...e)}));c=i.match(e,r)}catch(e){if(e instanceof UnsupportedPathError){continue}throw e}this.match=i.match.bind(i);this.routers=[i];this.routes=void 0;break}if(o===i){throw new Error("Fatal error")}this.name=`SmartRouter + ${this.activeRouter.name}`;return c}get activeRouter(){if(this.routes||this.routers.length!==1){throw new Error("No active router has been determined yet.")}return this.routers[0]}};var node_Node=class{methods;children;patterns;order=0;name;params=Object.create(null);constructor(e,r,n){this.children=n||Object.create(null);this.methods=[];this.name="";if(e&&r){const n=Object.create(null);n[e]={handler:r,possibleKeys:[],score:0,name:this.name};this.methods=[n]}this.patterns=[]}insert(e,r,n){this.name=`${e} ${r}`;this.order=++this.order;let s=this;const i=splitRoutingPath(r);const o=[];for(let e=0,r=i.length;en.indexOf(e)===r)),name:this.name,score:this.order};c[e]=u;s.methods.push(c);return s}gHSets(e,r,n,s){const i=[];for(let o=0,c=e.methods.length;o{const r=d[u.name];u.params[e]=s[e]&&!r?s[e]:n[e]??s[e];d[u.name]=true}));i.push(u)}}return i}search(e,r){const n=[];this.params=Object.create(null);const s=this;let i=[s];const o=splitPath(r);for(let r=0,s=o.length;re.score-r.score));return[c.map((({handler:e,params:r})=>[e,r]))]}};var TrieRouter=class{name="TrieRouter";node;constructor(){this.node=new node_Node}add(e,r,n){const s=checkOptionalParameter(r);if(s){for(const r of s){this.node.insert(e,r,n)}return}this.node.insert(e,r,n)}match(e,r){return this.node.search(e,r)}};var hono_Hono=class extends Hono{constructor(e={}){super(e);this.router=e.router??new SmartRouter({routers:[new RegExpRouter,new TrieRouter]})}};var HTTPException=class extends Error{res;status;constructor(e=500,r){super(r?.message,{cause:r?.cause});this.res=r?.res;this.status=e}getResponse(){if(this.res){const e=new Response(this.res.body,{status:this.status,headers:this.res.headers});return e}return new Response(this.message,{status:this.status})}};function setLogger(e){return async(r,n)=>{r.set("logger",e);await n()}}function requestLogger(){return async(e,r)=>{const{method:n}=e.req;const s=getPath(e.req.raw);e.var.logger.info("Incoming request",{method:n,path:s});const i=performance.now();await r();const o=performance.now();e.var.logger.info("Request completed",{method:n,path:s,status:e.res.status,elapsed:o-i})}}function rateLimit(e){const r=new Map;return async(n,s)=>{const i=n.req.header("x-forwarded-for")??n.req.header("x-real-ip");const o=Date.now();const c=r.get(i??"")??{count:0,resetTime:o+e.windowMs};if(c.resetTime<=o){c.count=0;c.resetTime=o+e.windowMs}c.count++;if(c.count>e.max){n.res.headers.set("Retry-After",Math.ceil((c.resetTime-o)/1e3).toString());throw new HTTPException(429,{message:"Too Many Requests"})}if(i){r.set(i,c)}else{}await s()}}function cors(e={origin:"*",methods:"GET,POST,OPTIONS",headers:"Content-Type"}){return async(r,n)=>{r.res.headers.set("Access-Control-Allow-Origin",e.origin);r.res.headers.set("Access-Control-Allow-Methods",e.methods);r.res.headers.set("Access-Control-Allow-Headers",e.headers);if(r.req.method==="OPTIONS"){return r.text("",204)}await n()}}function securityHeaders(){return async(e,r)=>{e.res.headers.set("X-Content-Type-Options","nosniff");e.res.headers.set("X-Frame-Options","DENY");e.res.headers.set("Referrer-Policy","no-referrer");e.res.headers.set("Content-Security-Policy","default-src 'self'");await r()}}function jsonErrorHandler(){return async(e,r)=>{try{await r()}catch(e){if(e instanceof SyntaxError&&e.message.includes("JSON")){throw new HTTPException(400,{message:"Invalid JSON"})}throw e}}}function createServer(e){const{bot:r,env:n,logger:s}=e;const{TELEGRAM_BOT_ENV:{botSettings:{TELEGRAM_BOT_WEBHOOK_SECRET:i}}}=n;const o=new hono_Hono;o.use("*",setLogger(s));o.use("*",requestLogger());o.use("*",rateLimit({windowMs:6e4,max:100}));o.use("*",cors());o.use("*",securityHeaders());o.use("*",jsonErrorHandler());o.onError(((e,r)=>{if(e instanceof HTTPException){if(e.status<500){s.error("Server error occurred",{err:e})}return r.json({error:e.message},e.status)}s.error("Unexpected error occurred",{err:e,method:r.req.method,path:r.req.path});let n="Internal Server Error";if("NODE_ENV"in process.env&&process.env.NODE_ENV==="development"){n=e.message}return r.json({error:n},500)}));o.post("/telegram",(async(e,r)=>{const n=e.req.header("content-length");if(n&&parseInt(n)>1e6){throw new HTTPException(413,{message:"Payload Too Large"})}const o=e.req.header("x-telegram-bot-api-secret-token");if(o!==i){s.error("Secret token mismatch",{secret:o});throw new HTTPException(401,{message:"Unauthorized"})}await r()}),(0,mod.webhookCallback)(r,"hono",{secretToken:i}));o.notFound((e=>e.json({error:"Not Found"},404)));return o}class TelegramBotSingleton{static _instance;static _bot;static _server;static async initialize(e){const{TELEGRAM_BOT_ENV:{botSettings:{TELEGRAM_BOT_TOKEN:r,TELEGRAM_BOT_WEBHOOK:n,ALLOWED_UPDATES:s,TELEGRAM_BOT_WEBHOOK_SECRET:i}}}=e;let o=null;try{o=await PluginContext.getInstance().getTelegramEventOctokit()}catch(e){logger_logger.error("Error initializing octokit in TelegramBotSingleton",{er:e})}if(!o){throw new Error("Octokit not initialized")}if(!TelegramBotSingleton._instance){TelegramBotSingleton._instance=new TelegramBotSingleton;try{logger_logger.info("Creating bot");TelegramBotSingleton._bot=await createBot(r,{config:e,logger:logger_logger,octokit:o});logger_logger.info("Bot created")}catch(e){logger_logger.error("Error initializing TelegramBotSingleton",{er:e})}try{logger_logger.info("Setting webhook");await TelegramBotSingleton._bot.api.setWebhook(n,{allowed_updates:s,secret_token:i});logger_logger.info("Webhook set")}catch(e){logger_logger.error("Error setting webhook in TelegramBotSingleton",{er:e})}try{logger_logger.info("Creating server");TelegramBotSingleton._server=createServer({bot:TelegramBotSingleton._bot,env:e,logger:logger_logger});logger_logger.info("Server created")}catch(e){logger_logger.error("Error initializing server in TelegramBotSingleton",{er:e})}}return TelegramBotSingleton._instance}static getInstance(){if(!TelegramBotSingleton._instance){throw new Error("TelegramBotSingleton is not initialized. Call initialize() first.")}return TelegramBotSingleton._instance}getBot(){return TelegramBotSingleton._bot}getServer(){return TelegramBotSingleton._server}}const reminderCommentRegex=/@(\w+), this task has been idle for a while/gi;const base64ClaimUrlRegex=/href="https:\/\/[^/]+\/?\?claim=([A-Za-z0-9+/=]+)"/gi;const amountPatternRegex=/\[\s*\d+(\.\d+)?\s*[A-Z]+\s*\]/gi;const githubUsernameRegex=/@([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,37}[a-zA-Z0-9])?)/gi;async function getUsersFromStorage(e,r){const n=base64ClaimUrlRegex.test(r)&&amountPatternRegex.test(r)&&githubUsernameRegex.test(r);const s=reminderCommentRegex.test(r);if(!n&&!s){return{results:[],users:[]}}const i=r.match(base64ClaimUrlRegex);const o=r.match(githubUsernameRegex);const c=[];const u=[];if(n){for(const e of i||[]){c.push({claimUrl:e[1]})}for(const e of o||[]){u.push(e)}}else if(s){u.push(r.match(reminderCommentRegex)?.[0].split(",")[0].replace("@",""))}else{throw logger_logger.error("Invalid notification trigger or not implemented yet",{body:r})}const d=await fetchUsers(u.filter((e=>!!e)),e);return{results:c,users:d.filter((e=>!!e))}}async function fetchUsers(e,r){const{adapters:{storage:n},octokit:s}=r;const i=[];for(const r of e){if(!r){continue}try{const e=await s.rest.users.getByUsername({username:r.replace("@","")});const o=await n.retrieveUserByGithubId(e.data.id);if(o){i.push(o)}}catch(e){logger_logger.error(`Error getting user by github id`,{er:e})}}return i}async function notificationsRequiringComments(e){const{payload:r}=e;const{body:n}=r.comment;const{results:s,users:i}=await getUsersFromStorage(e,n);const o=(await TelegramBotSingleton.initialize(e.env)).getBot();const c=["payment","reminder"];let u=0;for(const r of i.filter((e=>!!e))){if(!r){u++;continue}for(const[n,i]of Object.entries(r.listening_to)){if(!i||!c.includes(n)){continue}await handleCommentNotificationTrigger({trigger:n,user:r,telegramId:r.telegram_id,bot:o,context:e,claimUrl:s[u]?.claimUrl})}u++}return{status:200,reason:"success"}}async function handleCommentNotificationTrigger({trigger:e,user:r,telegramId:n,bot:s,context:i,claimUrl:o}){if(e==="reminder"&&!o){return handleReminderNotification(r.github_username,n,s,i)}else if(e==="payment"&&o){return handlePaymentNotification(r,o,n,s,i)}}async function handleReminderNotification(e,r,n,s){const i=`Hello ${e.charAt(0).toUpperCase()+e.slice(1)},\n\nThis task has been idle for a while, please provide an update on
${s.payload.repository.full_name}#${s.payload.issue.number}.`;let o;try{o=await(n?.api.getChat(r))}catch(e){logger_logger.error(`Error getting chat for ${r}`,{er:e})}if(!o){logger_logger.error(`This user has not started a chat with the bot yet`,{telegramId:r});return}try{await(n?.api.sendMessage(Number(r),i,{parse_mode:"HTML"}))}catch(e){logger_logger.error(`Error sending message to ${r}`,{er:e})}return{status:200,reason:"success"}}async function handlePaymentNotification(e,r,n,s,i){const{wallet_address:o,github_username:c}=e;if(!o){logger_logger.error(`Wallet address not found for ${c}`);const e=`Hello ${c.charAt(0).toUpperCase()+c.slice(1)},\n\nIt seems you are subscribed to payment notifications and may have received a payment. However, we couldn't find a registered wallet address for you.\n \nPlease use the \`/wallet\` command to set your wallet address for future notifications.\n\nYou can view the comment here.\n`;try{await(s?.api.sendMessage(Number(n),e,{parse_mode:"HTML"}))}catch(e){logger_logger.error(`Error sending message to ${n}`,{er:e})}return}let u;try{u=await(s?.api.getChat(n))}catch(e){logger_logger.error(`Error getting chat for ${n}`,{er:e})}if(!u){logger_logger.error(`This user has not started a chat with the bot yet`,{telegramId:n});return}const d=`Hello ${c.charAt(0).toUpperCase()+c.slice(1)},\n\n 🎉 A task reward has been generated for you 🎉\n \n You can claim your reward by clicking the link below:\n \n Claim Your Reward\n \n Thank you for your contribution.`;try{await(s?.api.sendMessage(Number(n),d,{parse_mode:"HTML"}))}catch(e){logger_logger.error(`Error sending message to ${n}`,{er:e})}}async function disqualificationNotification(e){const{adapters:{storage:r},payload:n}=e;const s=n.assignee?.login;if(!s){throw new Error("No user found in the payload")}const i=await r.retrieveUserByGithubId(n.assignee?.id);if(!i){throw new Error("User not found in the database")}const o=n.repository.full_name;const c=n.issue.number;if(n.sender.login===s){return{status:200,reason:"skipped"}}if(i.listening_to["disqualification"]){await handleDisqualificationNotification(i.github_username,i.telegram_id,o,c,e)}else{return{status:200,reason:"skipped"}}return{status:200,reason:"success"}}async function handleDisqualificationNotification(e,r,n,s,i){const o=`Hello ${e.charAt(0).toUpperCase()+e.slice(1)},\n\nYou have been disqualified from ${n}#${s}.\n\nYou will not be able to self-assign this task again.\n`;let c;let u;try{u=(await TelegramBotSingleton.initialize(i.env)).getBot()}catch(e){logger_logger.error(`Error getting bot instance`,{er:e})}if(!u){throw new Error("Bot instance not found")}try{c=await(u?.api.getChat(r))}catch(e){logger_logger.error(`Error getting chat for ${r}`,{er:e})}if(!c){logger_logger.error(`This user has not started a chat with the bot yet`,{telegramId:r});return}try{await(u?.api.sendMessage(r,o,{parse_mode:"HTML"}))}catch(e){logger_logger.error(`Error sending message to ${r}`,{er:e})}}async function reviewNotification(e){const{adapters:{storage:r},payload:n}=e;const s=n.requested_reviewer?.login;if(!s){throw new Error("No user found in the payload")}const i=await r.retrieveUserByGithubId(n.requested_reviewer?.id);if(!i){throw new Error("User not found in the database")}const o=n.repository.full_name;const c=n.pull_request.number;if(n.sender.login===s){return{status:200,reason:"skipped"}}if(i.listening_to["review"]){await handleReviewNotification(i.github_username,i.telegram_id,o,c,e)}else{return{status:200,reason:"skipped"}}return{status:200,reason:"success"}}async function handleReviewNotification(e,r,n,s,i){const o=i.payload.pull_request.user?.login;const c=`Hello ${e.charAt(0).toUpperCase()+e.slice(1)},\n\n${o} has requested a review from you on ${n}#${s}.`;let u;let d;try{d=(await TelegramBotSingleton.initialize(i.env)).getBot()}catch(e){logger_logger.error(`Error getting bot instance`,{er:e})}if(!d){throw new Error("Bot instance not found")}try{u=await(d?.api.getChat(r))}catch(e){logger_logger.error(`Error getting chat for ${r}`,{er:e})}if(!u){logger_logger.error(`This user has not started a chat with the bot yet`,{telegramId:r});return}try{await(d?.api.sendMessage(r,c,{parse_mode:"HTML"}))}catch(e){logger_logger.error(`Error sending message to ${r} `,{er:e})}}const callbacks={"issue_comment.created":[notificationsRequiringComments],"issue_comment.edited":[notificationsRequiringComments],"issues.unassigned":[disqualificationNotification],"pull_request.review_requested":[reviewNotification]};function proxyCallbacks(e){return new Proxy(callbacks,{get(r,n){if(!r[n]){e.logger.info(`No callbacks found for event ${n}`);return{status:204,reason:"skipped"}}return(async()=>{try{return await Promise.all(r[n].map((r=>handleCallback(r,e))))}catch(r){await bubbleUpErrorComment(e,r);return{status:500,reason:"failed"}}})()}})}function handleCallback(e,r){return e(r)}const workflowCallbacks={"issues.closed":[closeChat],"issues.reopened":[reopenChat],"issues.assigned":[createChat]};function proxyWorkflowCallbacks(e){return new Proxy(workflowCallbacks,{get(r,n){if(!r[n]){e.logger.info(`No callbacks found for event ${n}`);return{status:204,reason:"skipped"}}return(async()=>{try{const s=await Promise.all(r[n].map((r=>handleCallback(r,e))));logger_logger.info(`${n} callbacks completed`,{res:s});for(const r of s){if(r.status!==200){await errors_bubbleUpErrorComment(e,new Error(r.reason))}}await exit(0)}catch(r){await errors_bubbleUpErrorComment(e,r);await exit(1)}})()}})}async function exit(e=0){process.exit(e)}lib_main_default().config();async function run(){const e=github.context.payload.inputs;let r,n;const s={TELEGRAM_BOT_ENV:process.env.TELEGRAM_BOT_ENV,APP_ID:process.env.APP_ID,APP_PRIVATE_KEY:process.env.APP_PRIVATE_KEY};try{r=Decode(envValidator.schema,s)}catch(e){logger_logger.error("Error decoding env: ",{err:e})}try{n=Decode(pluginSettingsSchema,value_Default(pluginSettingsSchema,JSON.parse(e.settings)))}catch(e){logger_logger.error("Error decoding settings: ",{err:e})}if(!(n&&r)){throw new Error("Invalid settings or env provided")}if(!pluginSettingsValidator.test(n)){throw new Error("Invalid settings provided")}const i={stateId:e.stateId,eventName:e.eventName,eventPayload:JSON.parse(e.eventPayload),settings:n,authToken:e.authToken,ref:e.ref};PluginContext.initialize(i,r);const o=await PluginContext.getInstance().getContext();return proxyWorkflowCallbacks(o)[i.eventName]}run().then((e=>{core.setOutput("result",e)})).catch((e=>{logger_logger.error("Error running workflow: ",{err:e});core.setFailed(e);if("errorMessage"in e&&e.errorMessage==="AUTH_KEY_DUPLICATED"){}process.exit(0)}));var __webpack_exports__run=__webpack_exports__.e;export{__webpack_exports__run as run}; \ No newline at end of file diff --git a/manifest.json b/manifest.json index 58f0ad0..f2bbd76 100644 --- a/manifest.json +++ b/manifest.json @@ -9,5 +9,21 @@ "issue_comment.edited", "issues.unassigned", "pull_request.review_requested" - ] + ], + "configuration": { + "type": "object", + "properties": { + "botId": { + "default": 7543249164 + }, + "shouldUseGithubStorage": { + "default": false, + "type": "boolean" + }, + "storageOwner": { + "default": "ubiquity-os-marketplace", + "type": "string" + } + } + } }